Skip to content

LSN0WM4N/Simple-Checker-Linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Checker for Linux

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

Subtsks

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.

How to use

Just execute it as other python file:

python3 checker.py

Then follow the CLI instructions.

Features?

Probably I will take time to make easy to mount as web service, just like an API (IDK).

About

Simple checker for competitive programing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages