我已经在计算机中安装了Domjudge,包括domserver和法官主机。

我按照domjudge的所有说明进行安装,然后在Domjudge中配置了东西(在localhost / domjudge / ....)并开始了测试竞赛,我使用了一个帐户来提交解决方案,但是我的法官主机(我启动后domjudge目录中的bin / judgedaemon)没有判断并遇到问题:

[...]:~/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


我不知道这是什么意思,我已经在互联网上寻找它,但没有发现任何东西。

最佳答案

您应该设置编译器,为此只需在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


然后,运行udgetdaemon

./judgedaemon


这对我有用。 :)

08-17 01:26