Difference between revisions of "Grader"
(→Output: Other output is JE.) |
(→Input: Updated to be in line with text in Problem Format) |
||
Line 15: | Line 15: | ||
== Input == | == Input == | ||
− | The input file will have the one line per test file containing the result of judging the testfile, using the code from the table below, followed by whitespace, followed by the | + | The input file will have the one line per test file containing the result of judging the testfile, using the code from the table below, followed by whitespace, followed by the score. |
{| class="wikitable" | {| class="wikitable" | ||
Line 27: | Line 27: | ||
|- | |- | ||
| TLE || Time-Limit Exceeded | | TLE || Time-Limit Exceeded | ||
− | |} | + | |} |
− | |||
− | |||
== Output == | == Output == |
Revision as of 11:03, 31 July 2013
Contents
Overview
A grader is a program that is given the results of judging individual test files and calculates an aggregate result.
A grader program must be an application (executable or interpreted) capable of being invoked with a command line call. The details of this invocation are described below.
Invocation
When invoked the grader will get the test file results on stdin.
The grader should be possible to use as follows on the command line:
./grader < judgeresults
Input
The input file will have the one line per test file containing the result of judging the testfile, using the code from the table below, followed by whitespace, followed by the score.
Code | Meaning |
---|---|
AC | Accepted |
WA | Wrong Answer |
RTE | Run-Time Error |
TLE | Time-Limit Exceeded |
Output
The grader must output the aggregate result on stdout. The output must either be one of the codes listed in the table above or a number. Any other output, including no output, will result in a Judging Error.
The grader may output debug information on stderr. This information may be displayed to the user upon invocation of the grader.