JudgeOnline free version 1.0
You must first agree the license in "License.txt".
1.Copyright
--All rights reserved 2003-2005,Ying Fuchen and Xu Pengcheng
--Only for non-commercial use.
--You may not reverse engineer, disassemble, decompile, alter, or translate the
Software, or otherwise attempt to derive the source code of the Software.
--If you setup up your site using JudgeOnline, please let me know (hawking@pku.edu.cn)
--If you need a full fuctional version of JudgeOnline, also can contact me.
--Any advice is welcome.
2.Install
--by now JudgeOnline can only be installed under Microsoft Windows
--you must have tomcat 5.5.* and mysql 4.1.* installed
--because of tomcat 5.5.* , you should have jdk 1.5 installed
--it's recommended that you install tomcat in d:\tomcat and mysql in d:\mysql and tomcat use the port 80;
may be other port will work also ,but i'm sorry that i'm not sure about it.
--if you didn't install tomcat and mysql in d:\, then you need to modify this path in install.bat
--Modify the database user and password in the file webapps\JudgeOnline\META-INF\context.xml;
user id and password are both set to "root",change it to your mysql's user id and password
--Run install.bat; if it's report error,please check your tomcat and mysql path.
--Restart tomcat or just restart computer.
--check http://localhost/JudgeOnline/
3.Configuration
--In file C:\JudgeOnline\serverconfig.property,LanguageExtMemory is the base memory used by user's program;
the memory you see in the status page is the total memory used by user's program subtract this value;
this value maybe vary due to some reason (and now i'm not sure about it).
After you have restart your tomcat,you should figure out this values for your system:
submit the simplest program to get the base memory of each language.
for g++ and gcc
int main(){}
for freepascal
begin
end.
after submit these programs,you can check the memory used by them,and adjust the values stated in LanguageExtMemory.
then restart your tomcat(or just reload the JudgeOnline from Tomcat Web Application Manager).
Now if you submit the simplest program again,you should see all of them use 0K memory.
This process will be done automatically in future version.
4.Administration
--the default admin account of JudgeOnline is 'root',and password='rootpass'
--admin's main page /JudgeOnline/admin (be sure,there's not a '/' at the end,or you will get error)
--you can add/modify problems,add contest...
--after add problem ,JudgeOnline will make a new directory using the problem_id as its name in d:\data\;
you should copy your test data of this problem to this directory. JudgeOnline support mutiple input and output files.
each input and output file's format is stated in the problem's input and output description.
Make sure the input and output files name is like *.in *.out ("in" and "out" must in lower case);
and the corresponding input and output files must have the same main file name.
Take d:\data\1000 for example,it has three input and output files.
problem 1000 have 3 pairs of input and output
data1.in data1.out
data2.in data2.out
data3.in data3.out
--You can use html tags when you add problem, such as <img ...>.
--If you want add images in your problem,just put the image in somewhere accessible from web,
and then put the url of image in <img > tag.
--If you want rejudge some problem:login as an administrator, access /JudgeOnline/admin.rejudge?problem_id=pid
replace pid with the problem_id you want rejudge.You will see a simple page indicating the time when server receive this request.
--When you add or modify a problem, if there are any contest scheduled,you can add this problem to the contest by choosing
contest in the problem adding or modifying page.
--by now administration is too weak, later i will enhance it.
5.Limitation
--this is a free version of JudgeOnline and has following limitations:
(1).It's not secure enough:it can't permit users from access disk files or other vicious activities such as delete important files. BE CAREFULL ABOUT THIS.
(2).Not support special judge.
(3).Only have 3 languages in this package (g++,gcc and pascal), especially remove the support of java5.0.
Later i will publish new version and also with more detailed help information:)
At last ,sorry for my terrible english.
A full fuctional JudgeOnline with more than 1000 problems
http://acm.pku.edu.cn/JudgeOnline/
You can download JudgeOnline and related softwares from
http://acm.pku.edu.cn/download/
ver 1.0 release date:2005.04.07