Who knows how to write an online judge system?
Moderator: Board moderators
I want to ask several questions about how to write an online judge system. Who can tell me how to write it? I've just got to know some outlines and technics to write such kind of a system. But still I have some technical questions. Will any one can tell me how to write it? Or can the webmaster here answer it? I prefer Windows NT/2000/XP platforms. But no matter if it's under Linux because I can port them manually.
Thanks in advance.
Thanks in advance.
First a question: Why do you want to do this? For example, if you want to setup a contest, it might be easier to let the Valladolid people run it. Or look at PC^2 (http://www.ecs.csus.edu/pc2/). Same thing if you have some problems you'd just like to state. The spainers specifically ask for problems, see http://acm.uva.es/contest/call.html
In unix, you can usually (?) have a .forward file in your home directory that defines where mails should be redirected. They can even be redirected (piped into) programs, for example a submission receiver program. Don't know if this is a fast solution, maybe a plugin for the mail-server would be better.
Other than that, I don't know what to suggest. Maybe you can ask more specific questions? Or tell some details, like how secure you want it to be and how fast it has to be. For example, if you just want it for you and some friends, these criteria are not that important and a simple solution might suffice.
Stefan
In unix, you can usually (?) have a .forward file in your home directory that defines where mails should be redirected. They can even be redirected (piped into) programs, for example a submission receiver program. Don't know if this is a fast solution, maybe a plugin for the mail-server would be better.
Other than that, I don't know what to suggest. Maybe you can ask more specific questions? Or tell some details, like how secure you want it to be and how fast it has to be. For example, if you just want it for you and some friends, these criteria are not that important and a simple solution might suffice.
Stefan
If you're doing it for interest, you'll surely find a lot of stuff you can play with 
For convenience? I don't know. If you have the problems and in/outputs anyway, then why bothering using an online judge?
On the other hand, read http://acm.uva.es/p/universities.html
(also reachable from the start page as "Collaboration ..."). If you want to contact the spainers, an email might be good. Shahriar recently gave me this advice, since they seem to not read the board too frequently because of some troubles or sth like that...
Stefan

For convenience? I don't know. If you have the problems and in/outputs anyway, then why bothering using an online judge?
On the other hand, read http://acm.uva.es/p/universities.html
(also reachable from the start page as "Collaboration ..."). If you want to contact the spainers, an email might be good. Shahriar recently gave me this advice, since they seem to not read the board too frequently because of some troubles or sth like that...
Stefan
Hi,
I have written a Judging System, just for fun. it can compile any configured language (theoratically at least). I have tested it with Turbo C++ 3.0 , Borland C++ 5.5 (Free Version) , and JDK 1.3 . However I could not provide lot time in it. It has some inability. It can't restrict some function, memory can't be restricted. I implemented it under win98 se, can be imported to other platform as well.
By the way you can try the PC square plus E form the waterloo university.
If you have any question please mail me at udvranto@yahoo.com .
- Suman
I have written a Judging System, just for fun. it can compile any configured language (theoratically at least). I have tested it with Turbo C++ 3.0 , Borland C++ 5.5 (Free Version) , and JDK 1.3 . However I could not provide lot time in it. It has some inability. It can't restrict some function, memory can't be restricted. I implemented it under win98 se, can be imported to other platform as well.
By the way you can try the PC square plus E form the waterloo university.
If you have any question please mail me at udvranto@yahoo.com .
- Suman
-
- New poster
- Posts: 1
- Joined: Thu Apr 04, 2002 2:00 am
I've implemented a most working online judge system, it is running on linux platform.currently my problem is that the current kernel version 2.4 did not fully implemented the traditional sysv/bsd getrusage() funciton, so it is hard to calculate how much memory a program used. Although we managed to restrict program memory usage. What we did is inserting a kernel module which will monitor sys_brk calls and when a process exceeded its memory limit it will be killed. We are searching for better solution...