judge: handle subtaskId for ignored cases

pull/373/head
undefined 2 years ago
parent a665db80c7
commit ef5a2f5334

@ -1,7 +1,7 @@
{
"name": "@hydrooj/hydrojudge",
"bin": "bin/hydrojudge.js",
"version": "2.20.5",
"version": "2.20.6",
"main": "package.json",
"author": "undefined <i@undefined.moe>",
"repository": "https://github.com/hydro-dev/Hydro.git",

@ -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,

Loading…
Cancel
Save