List of possible judgements

Modified on Mon, 4 Dec, 2023 at 11:54 PM

Accepted

Accepted means that we were very happy with your program, and that it (as far as we could tell) solved the problem correctly. Congratulations!

Compile Error

Compile Error means that we failed to compile your source code. In order to help you debug the error, the compiler output is available as extra information. Information about what compilers and flags are used can be found on the languages page.

Run Time Error

Run Time Error means your program crashed during execution with our secret test input. More precisely it means that it terminated with a non-zero exit code, or with an uncaught exception.

Note that since the exit code is used to determine normal termination, it is important that your main function in a C or C++ program does not return a non-zero value.

Time Limit Exceeded

The time limit for a problem is the maximum allowed running time on a single input set. For instance if there are three input sets, the time limit is two seconds, and your solution takes 1.94, 1.28, and 1.74 seconds on the three input sets, it does not get Time Limit Exceeded. But if it takes 0.01, 2.04, and 0.74 seconds on the three input sets, it does get Time Limit Exceeded (assuming the output of the program on the first input set is correct so that judging proceeds to the second input set).

We measure total CPU time used by your process, so you do not gain extra allotted running time by using multiple threads - it simply means that you reach the time limit faster.

When the time limit is exceeded, the program is terminated. There is no way for us to tell if your program was stuck in an infinite loop, if it was "just a bit" too slow, or somewhere in between. The output produced is not inspected until your program has finished successfully, so getting Time Limit Exceeded does not imply that the output you had produced so far was correct.

Note that, we run your submission on a wide range of test cases, typically much larger than the small examples provided in the problem statements. When debugging a Time Limit Exeeded it is helpful to consider the worst cases for your algorithm. Sometimes it takes a very carefully crafted test case to bring down a bad solution, and we try our best to find and include such cases.


Wrong Answer

Wrong Answer means that your program finished within the time limit, but that the answer produced was incorrect. This error is usually the most frustrating one, since typically no extra information is given. Sometimes, the only way around it is to try to find bugs in your code by constructing tricky test data yourself.

Note that wrong answer does not imply that your program is fast enough, or that it does not crash. Judging stops at the first error encountered, and your program may be too slow or crash on a later test case.

Output Limit Exceeded

Output Limit Exceeded means that your program has produced too much output and we decided to shoot it down before it flooded our hard drive. Check to make sure that you don't get stuck in an infinite loop where you print something and that you handle input termination correctly.

Memory Limit Exceeded

Memory Limit Exceeded means that your program has tried to allocate more memory than the memory limit for the problem.  Note that trying to exceed the memory limit may sometimes result in other errors than MLE. An example would be if you are using malloc in C to allocate memory. If malloc fails because you are trying to allocate too much it simply returns a null pointer which, unless you check for it, would probably cause you a Run Time Error when you try to use it. Similarly trying to allocate too much memory in C++ using new would cause a SIGABRT and give you Run Time Error.

Judge Error

Judge Error means that you've found a bug (or at least misconfiguration). Sorry! Please contact us and let us know!

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article