This project retrieve task from rabbitmq, get information of solution from hustoj, use runner to compile and execute solution. Check user program is an accept solution.
Notice: You should install runner first on your machine.
-
You should install python with 3.6 or newer
-
You should install poetry
-
install python dependency:
poetry install
-
configure
cp judge.sample.toml judge.toml
detail description can see judge.sample.toml, you can modify judge.toml as your actual environment.
-
run
pipenv shell python judged.py