mirror of
https://github.com/QingdaoU/Judger.git
synced 2024-12-29 00:11:41 +00:00
update readme [ci skip]
This commit is contained in:
parent
77e522c279
commit
dc6be928e7
12
README.md
12
README.md
@ -4,9 +4,19 @@
|
||||
|
||||
OnlineJudge 判题沙箱
|
||||
|
||||
demo and usage:
|
||||
##Python api 使用方法
|
||||
|
||||
见 demo
|
||||
|
||||
```
|
||||
sudo python setup.py install
|
||||
cd demo && sudo python demo.py
|
||||
```
|
||||
|
||||
##C语言 api 使用方法
|
||||
|
||||
`#include "runner.c"`即可,然后传入 `config` 和 `result` 的结构体指针。
|
||||
|
||||
##注意
|
||||
- 因为需要切换为 `nobody` 用户运行用户代码,所以需要 `root` 权限启动。
|
||||
- Python api 请不要使用中文 Unicode。
|
Loading…
Reference in New Issue
Block a user