mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
judge: add multi-pass problem support (#1167)
This commit is contained in:
1 parent
01771a43e5
commit
809d1ac6ad
11 files changed
+166
-33
No files matched your search
@@ -79,7 +79,8 @@ const problemConfigSchema: JSONSchema7 = {
|
||||
},
|
||||
interactor: { $ref: '#/definitions/compilableFile' },
|
||||
manager: { $ref: '#/definitions/compilableFile' },
|
||||
num_processes: { type: 'number', minimum: 1, maximum: 5 },
|
||||
num_processes: { type: 'integer', maximum: 5, minimum: 1 },
|
||||
multi_pass: { type: 'integer', maximum: 20, minimum: 2 },
|
||||
validator: { $ref: '#/definitions/compilableFile' },
|
||||
user_extra_files: { type: 'array', items: { type: 'string' } },
|
||||
judge_extra_files: { type: 'array', items: { type: 'string' } },
|
||||
|
||||
Reference in new issue
Block a user