Using python to judge, without any safety measures.
pip install psutil requests
python main.py
mkdir data
mkdir tmp
- Using Judge Account to login (This account must have permission to download data and modify evaluation results), now we get cookies
- Ask for the latest submission on the backend.
- Copying user code, input and output file to tmp folder.
- Running Code and Judging it.
- Sleep and then goto 2
Just do your self.