judge: handle subtaskId for ignored cases

This commit is contained in:
undefined committed 2022-06-23 15:04:10 +08:00
1 parent a665db80c7
commit ef5a2f5334
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ function judgeCase(c: NormalizedCase, sid: string) {
ctx.next({
case: {
status: STATUS.STATUS_CANCELED,
subtaskId: ctxSubtask.subtask.id,
score: 0,
time: 0,
memory: 0,