我在我的机器上安装了Domjudge,包括domserver和judgehost。
我按照domjudge的所有说明进行安装,在Domjudge中配置somthings(在localhost / domjudge / ....)并开始测试比赛后,我使用了一个帐户来提交解决方案,但是我的判断主机(在我在domjudge的目录中开始bin / judgeaemon之后)没有判断并遇到问题:
[...]:~/domjudge/judgehost$ bin/judgedaemon
[Dec 22 22:04:21] judgedaemon[5127]: Judge started on [...] [DOMjudge/5.1.0]
[Dec 22 22:04:21] judgedaemon[5127]: Pre-built chroot tree '/chroot/domjudge' not found: using minimal chroot.
[Dec 22 22:04:21] judgedaemon[5127]: Not using cgroups. Using cgroups is highly recommended. See the manual for details.
[Dec 22 22:04:21] judgedaemon[5127]: Registering judgehost on endpoint http://localhost/domjudge/api
[Dec 22 22:04:21] judgedaemon[5127]: Found unfinished judging j12 in my name; given back
[Dec 22 22:04:21] judgedaemon[5127]: Judging submission s1 (endpoint default) (t12/p1/cpp), id j13...
[Dec 22 22:04:21] judgedaemon[5127]: Working directory: /home/anhldt/domjudge/judgehost/judgings/tuananh-ubtpc/endpoint-default/c2-s1-j13
[Dec 22 22:04:21] judgedaemon[5127]: error: unknown executable 'cpp' specified
[...]:~/domjudge/judgehost$
[Dec 22 22:04:21] judgedaemon[5127]: error: unknown executable 'cpp' specified
我不知道这意味着什么,我在互联网上寻找它,但我没有找到任何东西。
答案 0 :(得分:0)
您应该设置编译器。要执行此操作,只需在您的ubuntu终端中运行以下命令。
sudo apt-get install make sudo debootstrap php5-cli php5-curl php5-json procps \
gcc g++ gcj-jre-headless gcj-jdk openjdk-7-jre-headless openjdk-7-jdk \
ghc fp-compiler
然后,
cd judgehosts/bin
然后,运行judaemon
./judgedaemon
这对我有用。 :)