My Every python code gives NZEC in SPOJ
问题 I have done a few questions in SPOJ using Python. I got a few correct. Rest all I keep on getting NZEC most of the time. I added sys.exit(0) at the end of the code. But still it shows the same. I wanted to know if my some writing practice is making that error. Please suggest any changes. I think my algo is write but plz suggest any changes if its wrong. Here is the link to the question. http://www.spoj.com/problems/NSTEPS/ def check_num(m,n): if(m!=n and m!=n+2): return 0; elif(m==n) : if(m%2