Skip to content

TIOJ-INFOR-Online-Judge/miku

Repository files navigation

miku

$ git clone https://github.com/TIOJ-INFOR-Online-Judge.git
$ cd miku
$ git submodule update --init

How to start the judge client

$ make
$ sudo ./start_script

Some configuration can be made inside startscript:

  • -v/--verbose for extra verbosity
  • -p/--parallel [NUMBER] to evaulate at most [NUMBER] testdata at the same time.
  • -b [NUMBER] to set sandbox indexing offset. Need to be set to an appropriate number if running multiple judges on one computer.
  • -a/--aggressive-update to aggressivly update verdict and result.

A lazy example for starting miku at startup

# /etc/systemd/system/miku.service
[Service]
ExecStart=/root/miku/start_script.sh
WorkingDirectory=/root/miku

[Install]
WantedBy=default.target