Skip to content

Tag: java

“NZEC” error in Java code during online submission

When I run the following code (in system compiler) it works well, but when I submitted it to the site, all test cases throw nzec runtime error. Unfortunately the site does not share test cases but they can be created using the question. Can any one please explain why there is a nzec error? I have used java so…