Status codes on spoj need clarification.
Right now, they can be:
[ul][b]1. AC[/b] - accepted - your program ran successfully and gave a correct answer
2. WA - wrong answer - your program ran successfully, but gave an incorrect answer
3. TLE - time limit exceeded - your program was compiled successfully, but it didn't stop before time limit
4. CE - compilation error - your program couldn't be compiled; compiler's errors can be seen from www and are sent via mail if your preferences say so; note: only some languages can give CE, syntax errors in intrerpreted languages can lead to WA (Python - no pre-checking syntax or Perl - CE only afer a basic syntax check)
5. RE - runtime error - your program was compiled succesfully, but it exited with an error; possible codes are:
- SIGSEGV (signal 11) - most common, "segmentation fault"
- SIGXFSZ (signal 25) - "output limit exceeded"
- SIGFPE (signal 8) - "floating point error", like division by zero, etc.
- SIGABRT (signal 6) - raised by the program itself; C++ STL does it under some conditions
- NZEC (non-zero exit code) - helps telling crash from WA with interpreted languages
- other - there are other signals which can cause program to terminate, all remaining are shown as other[/ul]
created
last reply
- 14
replies
- 3.3k
views
- 9
users
- 2
links