linux-drone | windows | linux-travis |
---|---|---|
the judger server of online judge system
go get
go build
cd sandbox/c/build
cmake ..
make
go get
go build
cd sandbox/c/build
cmake -G"NMake Makefiles" ..
nmake
docker pull duguying/judger
mkdir /var/goj/judger
docker run -d -p 1004:1004 -p 1005:1005 -v /var/goj/judger:/data duguying/judger
The executers written in C. Linux Version is a simple sandbox which could intercept dangerous syscalls, the Windows Version does not support syscall interception. So, the Linux Version judger is suggested. If you need a highly security judger, I suggest you deploy it with docker.
The judger support two kinds of network transmission protocol, TCP and HTTP, the data format are both json-based. Default port TCP:1004 and HTTP:1005.
MIT License