i ask my friends to try a testing contest with Hello world as the question problem. i find that every single "java" code is rejected with message "compiler-error". but no problem when they upload C code.
here is the java code :
public class hello {
public static void main(String[] args) { System.out.println("Hello world!"); }
}
here is the error message as admin :
Compilation unsuccessful
Compiling aborted after 1 seconds, compiler output: /usr/sbin/runguard: warning: timelimit exceeded (hard wall time): aborting command /usr/sbin/runguard: warning: command terminated with signal 15 /usr/sbin/runguard: warning: timelimit exceeded (soft wall time)
Hi Adi Ansyah,
First, which version of DOMjudge are you using? Is this on the live image?
If not, did you build a chroot environment with the script dj_make_chroot and enable it in etc/judgehost-config.php? See the documentation: https://www.domjudge.org/docs/admin-manual-8.html#ss8.1
Finally, to trace down the problem, please send us the judgedaemon log file, which should be located under $PREFIX/domjudge/judgehost/log/judge.$HOSTNAME.log
Jaap
On 11-11-15 07:34, adi ansyah wrote:
i ask my friends to try a testing contest with Hello world as the question problem. i find that every single "java" code is rejected with message "compiler-error". but no problem when they upload C code.
here is the java code :
public class hello {
public static void main(String[] args) { System.out.println("Hello world!"); }
}
here is the error message as admin :
Compilation unsuccessful
Compiling aborted after 1 seconds, compiler output: /usr/sbin/runguard: warning: timelimit exceeded (hard wall time): aborting command /usr/sbin/runguard: warning: command terminated with signal 15 /usr/sbin/runguard: warning: timelimit exceeded (soft wall time)
DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel