2 Star 12 Fork 1

独孤影 / judger

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
独孤影 提交于 2015-02-19 18:45 . sqlite and data models

judger

linux-drone windows linux-travis
drone appveyor travis

the judger server of online judge system

Build in Linux

go get
go build
cd sandbox/c/build
cmake ..
make

Build in Windows

go get
go build
cd sandbox/c/build
cmake -G"NMake Makefiles" ..
nmake

Install from Docker

docker pull duguying/judger
mkdir /var/goj/judger
docker run -d -p 1004:1004 -p 1005:1005 -v /var/goj/judger:/data duguying/judger

Executer

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.

Net

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.

License

MIT License

C
1
https://gitee.com/duguying2008/judger.git
git@gitee.com:duguying2008/judger.git
duguying2008
judger
judger
master

搜索帮助