Judge error

Hey there!! I am trying to submit my solution for the question CodeChef and the logic and code seems fine but the compiler keeps giving judge error. What is this problem and what could i do to fix it?

3 Likes

same problem

Here is the Solution