mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
judge: handle subtaskId for ignored cases
This commit is contained in:
1 parent
a665db80c7
commit
ef5a2f5334
2 files changed
+2
-1
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/hydrojudge",
|
"name": "@hydrooj/hydrojudge",
|
||||||
"bin": "bin/hydrojudge.js",
|
"bin": "bin/hydrojudge.js",
|
||||||
"version": "2.20.5",
|
"version": "2.20.6",
|
||||||
"main": "package.json",
|
"main": "package.json",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ function judgeCase(c: NormalizedCase, sid: string) {
|
|||||||
ctx.next({
|
ctx.next({
|
||||||
case: {
|
case: {
|
||||||
status: STATUS.STATUS_CANCELED,
|
status: STATUS.STATUS_CANCELED,
|
||||||
|
subtaskId: ctxSubtask.subtask.id,
|
||||||
score: 0,
|
score: 0,
|
||||||
time: 0,
|
time: 0,
|
||||||
memory: 0,
|
memory: 0,
|
||||||
|
|||||||
Reference in new issue
Block a user