Getting wrong answer


https://www.codechef.com/viewsolution/34912348

anyone help me where I’m wrong.

1 Like

https://www.codechef.com/viewsolution/33134359

check this