We use the verdict by Codeforces (explanation given by Codeforces for the rejected submission) as the "Error Type".
Below are the explanation of each error type:Memory limit exceeded | The program tries to consume more memory than is indicated in the problem statement |
Time limit exceeded | The program hadn't terminated in time indicated in the problem statement |
Runtime error | The program terminated with a non-zero return code (possible reasons: array out of bound error, division by zero, stack overflow, incorrect pointers usage, etc) |
Wrong answer | The program produced different output than the expected output. |
Note that Error Code is specified for RUNTIME_ERROR error type. It is obtained by running the program with the failing test (given by Codeforce for explaining a rejected submission) and checking the exit status.
Below are the explanation of each error code:- SIGSEGV (exit status: 139) denotes segmentation fault
- SIGABRT (exit status: 134) denotes abort signal
- SIGFPE (exit status: 136) denotes floating point exception
- TIMEOUT (exit status: 124) denotes timeout after running the command for one minute
- OTHERS (exit status: varies) denotes the scenario where the returned exit code is not the reserved exit code with special meaning. This usually occurs when the program is lacking a return statement (hence a random exit code is returned) or an user-specified return code (e.g., return -1/1) is returned.