@CodeChef ,Worng Answer Coming but working in My Pc Code in C#

@CodeChef ,Worng Answer Coming but working in My Pc Code in C#

and working in online compiler also ,
so please tell formate code procedure in C#

//