mirror of
https://github.com/QingdaoU/Judger.git
synced 2024-12-28 16:01:41 +00:00
update demo
This commit is contained in:
parent
7285a16ce2
commit
9a120eb2a1
5
demo.py
5
demo.py
@ -11,6 +11,7 @@ print judger.run(path=os.path.join(base_path, "test"),
|
||||
out_file=os.path.join(base_path, "out"),
|
||||
max_cpu_time=2000,
|
||||
max_memory=200000000,
|
||||
args=["1", "2", "####"],
|
||||
env=["LD_PRELOAD=" + os.path.join(base_path, "sandbox.so")])
|
||||
args=["1", "2", "####"],
|
||||
env=[],
|
||||
use_sandbox=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user