THOUSES - WA on First 2 Cases. I have really tried a lot. Plz help me

I have really tried my best…
Plz check my solution and tell me where i am wrong.
Solution Link: https://www.codechef.com/viewsolution/46614847
Thanks in advance.

1 Like

ye I am also get the same error in first two test cases