test: reasonable limits
This commit is contained in:
parent
c23781a185
commit
6fc162769f
|
@ -66,18 +66,18 @@
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"src": "/home/tt/.config/joj/homework/h7/e2/case0.in"
|
"src": "/home/tt/.config/joj/homework/h7/e2/case0.in"
|
||||||
},
|
},
|
||||||
"cpuLimit": 1,
|
"cpuLimit": 1000000000,
|
||||||
"clockLimit": 2,
|
"clockLimit": 2000000000,
|
||||||
"memoryLimit": 91224961,
|
"memoryLimit": 2097152,
|
||||||
"procLimit": 50
|
"procLimit": 50
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"src": "/home/tt/.config/joj/homework/h7/e2/case1.in"
|
"src": "/home/tt/.config/joj/homework/h7/e2/case1.in"
|
||||||
},
|
},
|
||||||
"cpuLimit": 1,
|
"cpuLimit": 2000000000,
|
||||||
"clockLimit": 2,
|
"clockLimit": 4000000000,
|
||||||
"memoryLimit": 91224961,
|
"memoryLimit": 4194304,
|
||||||
"procLimit": 50
|
"procLimit": 50
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -17,16 +17,16 @@ result-detail.stderr = true
|
||||||
|
|
||||||
# will be removed as long as the name is fixed
|
# will be removed as long as the name is fixed
|
||||||
case0.diff.output.score = 5
|
case0.diff.output.score = 5
|
||||||
case0.limit.cpu = 1
|
case0.limit.cpu = "1s"
|
||||||
case0.limit.mem = 91224961
|
case0.limit.mem = "2m"
|
||||||
case0.diff.output.ignorespaces = true
|
case0.diff.output.ignorespaces = true
|
||||||
#case0.limit.stdout = 8
|
#case0.limit.stdout = 8
|
||||||
#case0.command = "./h7/build/ex2"
|
#case0.command = "./h7/build/ex2"
|
||||||
case0.in = "case0.in"
|
case0.in = "case0.in"
|
||||||
|
|
||||||
case1.diff.output.score = 5
|
case1.diff.output.score = 5
|
||||||
case1.limit.cpu = 1
|
case1.limit.cpu = "2s"
|
||||||
case1.limit.mem = 91224961
|
case1.limit.mem = "4m"
|
||||||
case1.diff.output.ignorespaces = true
|
case1.diff.output.ignorespaces = true
|
||||||
#case1.limit.stdout = 8
|
#case1.limit.stdout = 8
|
||||||
#case1.command = "./h7/build/ex2"
|
#case1.command = "./h7/build/ex2"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user