Hi,
On 11/12/15 14:30, adi ansyah wrote:
owh its working. it's so depressing that the problem was that simple. i did set the script timelimit to 1 before but forgot to change it back.
great that it's working now!
i found another problem. when i upload with file name Main.java, its working fine. but when i upload with different file name, its compiler-error. i did upload from a different user and different team but the result is compiler-error. i checked here https://www.domjudge.org/docs/admin-manual-8.html#ss8.4 it says that the file name must be Main.java and class name must be Main.
is that normal?? or is there a way to upload with different file name other than Main.java?
I assume you use the java_javac compile script. If you change that to java_javac_detect it will detect the class with a public main method and use that one.
Tobi