mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
judge: bug fix
This commit is contained in:
1 parent
719cc0570c
commit
0cb5a9597f
3 files changed
+3
-3
No files matched your search
@@ -60,7 +60,7 @@ export default async function readYamlCases(cfg: Record<string, any> = {}, check
|
||||
});
|
||||
}
|
||||
config.subtasks.push({
|
||||
score: parseInt(subtask.score, 10),
|
||||
score: parseInt(subtask.score, 10) || 100,
|
||||
if: subtask.if || [],
|
||||
cases,
|
||||
type: subtask.type || 'min',
|
||||
|
||||
Reference in new issue
Block a user