This Checker takes a cpp source file, compile it and run against some test cases. The test cases must be specified as the folder that contains them, separated into subfolders 'input' ans 'output' in lowercase.
As example:
|- /my-pc/home/my-user/ProblemTestCases
| |- input
| | |- 001.in
| | |- 002.in
| | |- 003.in
| |- output
| | |- 001.out
| | |- 002.out
| | |- 003.out
The folder you must pass as parameter is /my-pc/home/my-user/ProblemTestCases
The checker allows subtasks if they are specified in the input filename, if you want to use subtasks, your file name must have the following format <name>.<subtask>.<subtask_value>, if the test case 004 is in the second subtask, and the second subtask value is 35 points, the file must have the name 004.2.35.in.
Just execute it as other python file:
python3 checker.py
Then follow the CLI instructions.
Probably I will take time to make easy to mount as web service, just like an API (IDK).