局域网编程竞赛裁判程序
openjudge的Python项目详细描述
openjudge
已重构!
openjudge已经被重构为更快更容易设置!这个 知识库是为20-30人的小组进行的快速竞赛。某处 一路上,我支支吾吾,它变得臃肿起来。它现在以一种 又快又轻。
屏幕截图
用法
首先按照说明in their docs
安装mongodbsudo apt-get install python3-dev pip install --user pipenv pipenv install openjudge --python 3.5 pipenv shell mkdir questions cd questions mkdir 1cd1# Create these files touch statement i0 o0 i1 o0 # go back to where the questions directory residescd ../../
要运行openjudge,需要发出两个命令。openjudge
和openjudge --judge
在两个独立的终端中。第一个是界面,第二个是“法官”。
如果您有很多人发送代码,并且您认为代码检查太慢,那么您只需使用openjudge --judge
启动另一个判断过程。