Programming_Challenges_23-23
Programming_Challenges_23-23
Specifically, each submitted program must contain a line (at any location) with an
@JUDGE ID: field. Usually, this line is placed inside a comment. For example,
The argument after the @JUDGE ID: is your user ID (1000AA in the example). This is
followed by the problem number (100 in the example), and then by the language used.
Make sure you use the UVa ID number for all submissions to this judge! Upper- and
lowercase letters are indistinguishable. If you fail to specify the programming language,
the judge will try to auto-detect it – but why play games? Finally, if you have used any
interesting algorithm or method, you may include a note to that effect between quotes,
such as Dynamic Programming in the example above.
Bracketing your program with beginning/end of source comments is a good way to
make sure the judge is not confused by junk appended by your mailer.
/* @BEGIN_OF_SOURCE_CODE */
/* @END_OF_SOURCE_CODE */
• Accepted (AC) — Congratulations! Your program is correct, and runs within the
given time and memory limits.
• Presentation Error (PE) — Your program outputs are correct but are not pre-
sented in the specified format. 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. Don’t be concerned, because many problems have
somewhat ambiguous output specifications. Usually your problems are something
as trivial as an extra blank at the end of a line, so stop here and declare victory.