Update JOJ3 Configuration Schema
parent
e6603b7d9d
commit
9a7a1a0125
|
@ -98,6 +98,12 @@ weights = [ 10, 20, 15]
|
||||||
score = 10 # default OJ score for each test case
|
score = 10 # default OJ score for each test case
|
||||||
limit.cpu = 10 # default cpu limit (in sec) for each test case
|
limit.cpu = 10 # default cpu limit (in sec) for each test case
|
||||||
limit.mem = 50 # set default mem limit (in MB) for all OJ test cases
|
limit.mem = 50 # set default mem limit (in MB) for all OJ test cases
|
||||||
|
driver="./driver ./mumsh"
|
||||||
|
|
||||||
|
[judge-memcheck]
|
||||||
|
cases = [ 1, 2, 4, ,5,9] # FIXME: wrong format
|
||||||
|
driver="./driver ./mumsh-memory-check"
|
||||||
|
limit.mem = 500
|
||||||
|
|
||||||
[[test_case]]
|
[[test_case]]
|
||||||
filename = "case4.in" # filename of a test case with non-default setup
|
filename = "case4.in" # filename of a test case with non-default setup
|
||||||
|
@ -109,4 +115,8 @@ limit.mem = 5
|
||||||
filename = "case10.in"
|
filename = "case10.in"
|
||||||
score = 30
|
score = 30
|
||||||
limit.mem = 100 # limit.cpu is kept as default
|
limit.mem = 100 # limit.cpu is kept as default
|
||||||
|
|
||||||
|
[[test_case]]
|
||||||
|
filename = "case11.in"
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user