mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
judge&ui: support show single subtask score (#529)
This commit is contained in:
1 parent
8b2a9f0847
commit
69e7f9d107
3 files changed
+9
-7
No files matched your search
@@ -64,6 +64,7 @@ function judgeSubtask(subtask: NormalizedSubtask, sid: string, judgeCase: Task['
|
||||
}
|
||||
ctx.total_status = Math.max(ctx.total_status, ctxSubtask.status);
|
||||
return {
|
||||
type: ctxSubtask.subtask.type,
|
||||
score: ctxSubtask.score,
|
||||
status: ctxSubtask.status,
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user