chore: new conf version

This commit is contained in:
张泊明518370910136 2025-06-04 06:38:53 -04:00
parent a6eb143f38
commit 8a513acff6
GPG Key ID: CA088E6D9284F870

100
conf.json
View File

@ -1,53 +1,57 @@
{
"stages": [
{
"name": "sample",
"executor": {
"name": "sandbox",
"with": {
"default": {
"args": [
"./sample",
"--score",
"100"
],
"env": [
"PATH=/usr/bin:/bin"
],
"cpuLimit": 10000000000,
"memoryLimit": 104857600,
"procLimit": 50,
"copyInDir": ".",
"copyIn": {
"sample": {
"src": "./../../../../../../build/sample"
"stage": {
"stages": [
{
"name": "sample",
"executor": {
"name": "sandbox",
"with": {
"default": {
"args": [
"./sample",
"--score",
"100"
],
"env": [
"PATH=/usr/bin:/bin"
],
"cpuLimit": 10000000000,
"memoryLimit": 104857600,
"procLimit": 50,
"copyInDir": ".",
"copyIn": {
"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
}
}
}
},
"parser": {
"name": "sample",
"with": {
"score": 10,
"comment": " + comment from toml conf"
}
},
"parsers": [
{
"name": "sample",
"with": {
"score": 10,
"comment": " + comment from toml conf"
}
}
]
}
}
]
}
]
}
}