I can't find error in other IDE but here in my code

Here is my solution
https://www.codechef.com/submit/CHSPARR
here is the problem link