mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
judge: change objective config format
This commit is contained in:
1 parent
e509bde41b
commit
76745639c1
7 files changed
+139
-87
No files matched your search
@@ -70,9 +70,16 @@ const problemConfigSchema = {
|
||||
},
|
||||
additionalProperties: false,
|
||||
},
|
||||
outputs: {
|
||||
type: 'array',
|
||||
minLength: 1,
|
||||
answers: {
|
||||
type: 'object',
|
||||
patternProperties: {
|
||||
'^\\d+(-\\d+)?$': {
|
||||
type: 'array',
|
||||
minLength: 2,
|
||||
maxLength: 2,
|
||||
},
|
||||
},
|
||||
additionalProperties: false,
|
||||
},
|
||||
},
|
||||
additionalProperties: false,
|
||||
|
||||
Reference in new issue
Block a user