My code is not getting accepted even though it works perfectly fine in my IDLE

I just started doing codechef today.
I am doing dsa series and the code i wrote in python works exactly fine in my IDLE and other online IDEs but is not accepted even though there are no violations of constraints in my code.
Please help.

Post the link of your submission.

It gives the wrong answer for the sample testcase (specifically, for 2300 - remember, the output must match the expected output exactly).


oh! thank you

1 Like