Runtime Error (NZEC) in simple code

前端 未结 6 1145
没有蜡笔的小新
没有蜡笔的小新 2020-12-11 05:41

I\'m getting runtime error (NZEC) when running the following code over at SPOJ. I\'d be very thankful if any of you would kindly point out what\'s going on.

         


        
6条回答
  •  北荒
    北荒 (楼主)
    2020-12-11 06:31

    NZEC stands for Non Zero Exit Code. For C users, this will be generated if your main method does not have a return 0; statement. Other languages like Java/C++ could generate this error if they throw an exception.

提交回复
热议问题