This is the initial prototype of the offline-judge.
** Format: "$ python3 check.py ./file.c input1.enc input2.enc" **
How it works?
- Accepts the C file along with all the input files
- Compiles the given C file
- Decodes the input file encoded with dummy algorithm
- Tests the binary against the various decrypted input files
- Compares the hash of the outfile and generates the result
To-Do:
Encrypt the input filesCompare hashes of the output files- Evaluate multiple codes
- Automatically fetch input files and output hashes
- Establish a connection and post scores to a server