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:
The name of the input file
The name of the output file
The name of the ok file (optional)
After the grading process is finished, the grader must return a score between
1 with 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.