NZEC error in python 3

whenever I submit or Run code on codechef I get NZEC error, however in other compilers it returns correct answer.
Is it codechef fault? How can I correct while submitting codes?

Share your code.

this happens to almost all the codes I submit to codechef.

I think your code is trying to get input but you haven’t provided it. So it shows EOFerr: EOF when reading a line. If it is the error then check the custom input box. Provide the input in custom input box. If your code is correct then it will run perfectly.

1 Like

Same happened to me. Switch to Non-IDE mode and submit your code, then it works fine. I think there are some errors in IDE mode submission.