A grader is a program that gives a score to a user's submission based on its output. It reads the user's program-generated output and the test's input and returns a score based on the grader's programming.
The grader program is executed with three arguments:
- 1.The name of the input file
- 2.The name of the output file
- 3.The name of the ok file (optional)
After the grading process is finished, the grader must return a score between
1with two-decimals precision by writing to
stdout, and a message to
stderr. Examples of valid scores are
In case of error, the grader must exit with exit code 1.