IDE not accepting the solution

Hi I tried to submit this code for the problem but it shows error I am not able to figure out what the error is.

@ayu_15 i submitted your code here it works fine
https://hack.codingblocks.com/app/contests/1130/553/problem
dont forget to hit like and mark resolved if cleared :smiley:

Ohh but then why isnt the IDE for the problem in the course not accepting the solution

@ayu_15 don’t know maybe some bug.