Interactive judge
The interactive judge gets the input and the means of communication with the contestant's solution. It should report whether the contestant's solution is correct.
There is currently only one interactive judge_type
supported:
CMS-communication judge
See CMS documentation for more. However, only one user process is supported.
The solution and the judge run simultaneously. They communicate via FIFO (named pipes).
The judge is run:
FIFOs point to the solution's stdout and stdin respectively.The judge should print a relative number of points (a float between 0.0 and 1.0) to its stdout as a single line. To its stderr it should write a single-line message to the contestant. Unlike what the CMS documentation specifies, the files should be single-line only. There will be a warning otherwise.