Why Does My Python Program Issue A Runtime Error- Nzec( Non-zero Exit Code)?
This is a CodeChef problem for the November challenge. I donot intend to cheat. My program works well for the test input provided. But the server generates a runtime NZEC error. Ca
Solution 1:
The problem description says that N can be 10**9
. So a= [I]*N
might require several gigabytes of memory. Your program probably terminates with MemoryError exception that leads to non-zero exit status (1
).
Post a Comment for "Why Does My Python Program Issue A Runtime Error- Nzec( Non-zero Exit Code)?"