This is a simple sandbox developed for an online judge platform which I developed together with others [zhuqinggang][https://coding.net/u/zhuqinggang].The sandbox is based on maybe an ancient one, and I fixed some bugs and tested it, in order to get it running on my computer.
This sandbox and its runner are still under development. If you are interested in developing an online judge, comments and issues are greatly appreciated.
'Cause I'm not fluent in English, other document is written in Chinese.
这个沙箱是为了和别人合作开发一个OJ而写的。别人:zhuqinggang
这个小项目是基于一个别人写的古老的沙箱写的。原项目Eevee 。我修了几个巨大的bug然后稍加改进就写了这个东西。
这个项目还在开发之中(也就是说:很不稳定且测试比较不完全)。欢迎issue和评论交流
一些文档:配置文件等
First make sure that you have installed cmake (>= 2.8)
- Enter Directory
Runner
- Get the src files compiled using cmake (If you don't like cmake, you can also compile them as you like. Remember to add -std=c++11 tag)
- Enter Directory
Sandbox
- Just
make
them
- Make a root directory and copy these two executables into it.
- Make a sub-directory called
sandbox
under your root directory and then movecaretaker
into./sandbox
- Create a config file named
sandbox.conf
under your root directory
Follow another document and run it happily
进入Runner
目录,使用cmake来编译这个项目,不过你也可以直接写一条g++命令,记得使用c++11来编译
进入Sandbox
目录,直接键入make命令即可
新建一个文件夹作为评测机的根目录,然后在建立一个sandbox
目录。
把得到的两个可执行文件弄进来,一个把caretaker
那个放在sandbox目录下,另一个就放在根目录下
然后自行新建一个配置文件,名为sandbox.conf
。然后根据另一个说明文件就可以愉快的运行了