NZEC error in python


#1

hello everyone,
I am beginner here and I started with python 3
every time I run code most of the time it give me this error and I don’t know why,
and I always wonder some time the code with this error( in run) submitted properly and some time it shows at submission same error run time (NZEC).
and yes I read all the asked question about it and didn’t get answer which suits for me.
thanks in advance !


#2

Can you share some of your codes with the problem link?

There may be many kinds of error like error in taking input etc


#3

https://www.codechef.com/viewsolution/23709190

above is my first code ,
I am trying to understand and debug this in my local environment but I didn’t get any error.


#4

Isn’t this code accepted