Feedback from the Judge

Be aware that the judges are often very picky as to what denotes a correct solution. It is very important to interpret the problem specifications properly and not make assumptions.

The judge is likely to return one of the following verdicts:

  • Accepted (AC) - Congratulations!
  • Presentation Error (PE) - Check for spaces, left/right justification, line feeds, etc.
  • Accepted (PE) - Your program has a minor presentation error, but the judge is letting you off with a warning. Stop here and declare victory!
  • Wrong Answer (WA) - Your program returned an incorrect answer to one or more secret test cases.
  • 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 are ignored by the judge.
  • Runtime Error (RE) - Your program failed during execution due to a segmentation 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.
  • Submission Error (SE) - You did not correctly specify one or more of the information fields, perhaps giving an incorrect user ID or problem number.
  • 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.
  • 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, perhaps 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.
by RyuiSaka 2007. 8. 23. 16:48
invalid-file

Source Code


문제 : http://acm.kaist.ac.kr/Problems/2005oe.pdf

알고리즘은 재경선배가 준 아이디어를 그대로 썼습니다.
STL을 이용해서 매우 편리하게 구현 했습니다.
알고리즘은 이미 다들 알테니 C++에서 Vector와 Sorting 알고리즘, Iterator 사용법을 중점적으로 봐주세요. :)
by RyuiSaka 2007. 8. 5. 10:05
  • 잭크 2007.08.07 09:14 신고 ADDR EDIT/DEL REPLY

    확실히 STL편하구나
    그런데 sorting 퍼포먼스 time limit 뜨지 않을정도는 되겠지?

| 1 |