Runs a checker program to validate solution output against expected answer. The checker receives three files: input, output (participant's answer), and answer (jury's answer).
Path to compiled checker executable
Path to test input file
Path to participant's output file
Path to jury's answer file
Expected verdict (OK, WA, PE)
If checker verdict doesn't match expected verdict
If checker exceeds time or memory limits (exits process)
await runChecker( './checker', 'tests/test1.txt', 'output.txt', 'answer.txt', 'OK'); Copy
await runChecker( './checker', 'tests/test1.txt', 'output.txt', 'answer.txt', 'OK');
Runs a checker program to validate solution output against expected answer. The checker receives three files: input, output (participant's answer), and answer (jury's answer).