why I am getting NZEC error

I am getting RuntimeError (NZEC) Can anyone please let me know why it is throwing NZEC error however it is runnning fine in code chef IDE and visual studio

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

//