chore: new conf version

This commit is contained in:
张泊明518370910136 2025-06-04 06:38:53 -04:00
parent a443f7eb12
commit 9a9e10a8b5
GPG Key ID: CA088E6D9284F870

100
conf.json
View File

@ -1,53 +1,57 @@
{ {
"stages": [ "stage": {
{ "stages": [
"name": "sample", {
"executor": { "name": "sample",
"name": "sandbox", "executor": {
"with": { "name": "sandbox",
"default": { "with": {
"args": [ "default": {
"./sample", "args": [
"--score", "./sample",
"-1" "--score",
], "-1"
"env": [ ],
"PATH=/usr/bin:/bin" "env": [
], "PATH=/usr/bin:/bin"
"cpuLimit": 10000000000, ],
"memoryLimit": 104857600, "cpuLimit": 10000000000,
"procLimit": 50, "memoryLimit": 104857600,
"copyInDir": ".", "procLimit": 50,
"copyIn": { "copyInDir": ".",
"sample": { "copyIn": {
"src": "./../../../../../../build/sample" "sample": {
"src": "./../../../../../../build/sample"
}
},
"copyOut": [
"stdout",
"stderr"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 4096
},
"stderr": {
"name": "stderr",
"max": 4096
} }
},
"copyOut": [
"stdout",
"stderr"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 4096
},
"stderr": {
"name": "stderr",
"max": 4096
} }
} }
} },
}, "parsers": [
"parser": { {
"name": "sample", "name": "sample",
"with": { "with": {
"score": 10, "score": 10,
"comment": " + comment from toml conf" "comment": " + comment from toml conf"
} }
}
]
} }
} ]
] }
} }