Programming_Challenges_24-24
Programming_Challenges_24-24
Getting Started
• Wrong Answer (WA) — This you should concern you, because your program
returned an incorrect answer to one or more of the judge’s secret test cases. You
have some more debugging to do.
• Compile Error (CE) — The compiler could not figure out how to compile
your program. The resulting compiler messages will be returned to you. Warning
messages that do not interfere with compilation are ignored by the judge.
• Runtime Error (RE) — Your program failed during execution due to a segmen-
tation fault, floating point exception, or similar problem. Its dying message will
be sent back to you. Check for invalid pointer references or division by zero.
• Time Limit Exceeded (TL) — Your program took too much time on at least one
of the test cases, so you likely have a problem with efficiency. Just because you
ran out of time on one input does not mean you were correct on all the others,
however!
• Memory Limit Exceeded (ML) — Your program tried to use more memory than
the judge’s default settings.
• Output Limit Exceeded (OL) — Your program tried to print too much output.
This usually means it is trapped in a infinite loop.
• Restricted Function (RF) — Your source program tried to use an illegal system
function such as fork() or fopen(). Behave yourself.
• Submission Error (SE) — You did not correctly specify one or more of the
information fields, perhaps giving an incorrect user ID or problem number.
Just to reiterate: if your program is found guilty of having a wrong answer, the judge
will not show you which test case it failed on, or give you any additional hints as to
why it failed. This is why it is so essential to review the specifications carefully. Even
when you may be sure that your program is correct, the judge may keep saying no.
Perhaps you are overlooking a boundary case or assuming something which just ain’t
so. Resubmitting the program without change does you absolutely no good. Read the
problem again to make sure it says what you thought it did.
The judge occasionally returns a more exotic verdict which is essentially independent
of your solution. See the appropriate website for details.