WA in 363C (codeforces)

I am solving this question : https://codeforces.com/problemset/problem/363/C?csrf_token=570fe55786eabec1eb47d6330d875edf
and my solution is : https://codeforces.com/problemset/submission/363/90367509.

But i cant figure out why gives a WA verdict when it runs completely fine on my codeblocks IDE.

I like the codechef community more than codeforces so im asking it here… :wink: :slight_smile:
Thanks.

2 Likes