No matter what kind of code I pass to the “Judge system” I get a runtime error (NZEC). For example this short piece of code(https://www.spoj.com/problems/CPTTRN4/):
Here is a link to my code:
I was looking for some issues like mine in forum, but I didn’t find the answer. Thanks for help in advance 