chore: new conf version
This commit is contained in:
parent
26a14ea1da
commit
1fcecf7249
230
conf.json
230
conf.json
|
@ -1,121 +1,127 @@
|
||||||
{
|
{
|
||||||
|
"stage": {
|
||||||
"stages": [
|
"stages": [
|
||||||
{
|
{
|
||||||
"name": "compile",
|
"name": "compile",
|
||||||
"executor": {
|
"executor": {
|
||||||
"name": "sandbox",
|
"name": "sandbox",
|
||||||
"with": {
|
"with": {
|
||||||
"default": {
|
"default": {
|
||||||
"args": [
|
"args": [
|
||||||
"clang++",
|
"clang++",
|
||||||
"a.cc",
|
"a.cc",
|
||||||
"-o",
|
"-o",
|
||||||
"a"
|
"a"
|
||||||
],
|
],
|
||||||
"env": [
|
"env": [
|
||||||
"PATH=/usr/bin:/bin"
|
"PATH=/usr/bin:/bin"
|
||||||
],
|
],
|
||||||
"cpuLimit": 10000000000,
|
"cpuLimit": 10000000000,
|
||||||
"memoryLimit": 209715200,
|
"memoryLimit": 209715200,
|
||||||
"procLimit": 50,
|
"procLimit": 50,
|
||||||
"copyInDir": ".",
|
"copyInDir": ".",
|
||||||
"copyOut": [
|
"copyOut": [
|
||||||
"stdout",
|
"stdout",
|
||||||
"stderr"
|
"stderr"
|
||||||
],
|
],
|
||||||
"copyOutCached": [
|
"copyOutCached": [
|
||||||
"a"
|
"a"
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": ""
|
"content": ""
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"max": 4096
|
"max": 4096
|
||||||
},
|
},
|
||||||
"stderr": {
|
"stderr": {
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"max": 4096
|
"max": 4096
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"parser": {
|
|
||||||
"name": "result-status"
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
"parsers": [
|
||||||
"name": "run",
|
{
|
||||||
"executor": {
|
"name": "result-status"
|
||||||
"name": "sandbox",
|
}
|
||||||
"with": {
|
]
|
||||||
"default": {
|
},
|
||||||
"args": [
|
{
|
||||||
"./a"
|
"name": "run",
|
||||||
],
|
"executor": {
|
||||||
"env": [
|
"name": "sandbox",
|
||||||
"PATH=/usr/bin:/bin"
|
"with": {
|
||||||
],
|
"default": {
|
||||||
"cpuLimit": 1000000000,
|
"args": [
|
||||||
"memoryLimit": 104857600,
|
"./a"
|
||||||
"procLimit": 50,
|
],
|
||||||
"copyOut": [
|
"env": [
|
||||||
"stdout",
|
"PATH=/usr/bin:/bin"
|
||||||
"stderr"
|
],
|
||||||
],
|
"cpuLimit": 1000000000,
|
||||||
"stdout": {
|
"memoryLimit": 104857600,
|
||||||
"name": "stdout",
|
"procLimit": 50,
|
||||||
"max": 4096
|
"copyOut": [
|
||||||
},
|
"stdout",
|
||||||
"stderr": {
|
"stderr"
|
||||||
"name": "stderr",
|
],
|
||||||
"max": 4096
|
"stdout": {
|
||||||
},
|
"name": "stdout",
|
||||||
"copyInCached": {
|
"max": 4096
|
||||||
"a": "a"
|
},
|
||||||
}
|
"stderr": {
|
||||||
},
|
"name": "stderr",
|
||||||
"cases": [
|
"max": 4096
|
||||||
{
|
},
|
||||||
"stdin": {
|
"copyInCached": {
|
||||||
"src": "./cases/1.in"
|
"a": "a"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"stdin": {
|
|
||||||
"src": "./cases/2.in"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"parser": {
|
"cases": [
|
||||||
"name": "diff",
|
{
|
||||||
"with": {
|
"stdin": {
|
||||||
"cases": [
|
"src": "./cases/1.in"
|
||||||
{
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"score": 100,
|
|
||||||
"fileName": "stdout",
|
|
||||||
"answerPath": "./cases/1.out",
|
|
||||||
"ignoreWhitespace": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"score": 100,
|
|
||||||
"fileName": "stdout",
|
|
||||||
"answerPath": "./cases/2.out",
|
|
||||||
"ignoreWhitespace": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"stdin": {
|
||||||
|
"src": "./cases/2.in"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"parsers": [
|
||||||
|
{
|
||||||
|
"name": "diff",
|
||||||
|
"with": {
|
||||||
|
"cases": [
|
||||||
|
{
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"score": 100,
|
||||||
|
"fileName": "stdout",
|
||||||
|
"answerPath": "./cases/1.out",
|
||||||
|
"ignoreWhitespace": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"score": 100,
|
||||||
|
"fileName": "stdout",
|
||||||
|
"answerPath": "./cases/2.out",
|
||||||
|
"ignoreWhitespace": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user