A single file, simple helper to show the difference between output of programs. (Also known as "对拍")
Due to the use of /tmp and the default shell called by subprocess, the script only runs on linux.
pip3 install -r requirements.txt
flask run --host=0.0.0.0 --port=80Then you can access https://localhost:80/login/letmelogin to get your access for the website.
- Access
<YOUR_DOMAIN>/problemsto see the problem list. - Access
<YOUR_DOMAIN>/problems/<problemName>to create a new problem named as<problemName>. - Access
<YOUR_DOMAIN>/problems/<problemName>/removeto remove a existing problem. - Generator files: The codes in the
Codetext box will be compiled to a binary file, which is used to generate data for the program. The first line of its stdout will be treated as command line arguments. The rest of them will be the stdin for all the solvers. - Statics files: Files which will not be compiled immediately. There should be a
Makefilein it. After uploading the solver zip, all the static files will be placed with files in the solver zip andmakewill be run. Thea.out(if exists) will be treated as the solver binary. Therefore, do not use-oin the default option ofMakefile. - Solver files: Files which will be compiled with static files after uploaded using
makecommand. Uploaded codes will be wiped once the compilation in finished. No need to worry about leaking your codes to others. - After uploading multiple solvers, click
Run.
We are not responsible for any usage of this code violating the Honor Code in UMJI-SJTU.