mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
judge: 测试点中不传入STATUS_JUDGING
This commit is contained in:
1 parent
36fef2cd20
commit
10a57f88da
3 files changed
+1
-6
No files matched your search
@@ -22,7 +22,6 @@ function judgeCase(c, sid) {
|
||||
|| (ctxSubtask.subtask.type === 'max' && ctxSubtask.score === ctxSubtask.subtask.score)
|
||||
|| (ctxSubtask.subtask.if && ctx.failed[sid])) {
|
||||
ctx.next({
|
||||
status: STATUS.STATUS_JUDGING,
|
||||
case: {
|
||||
status: STATUS.STATUS_CANCELED,
|
||||
score: 0,
|
||||
@@ -87,7 +86,6 @@ function judgeCase(c, sid) {
|
||||
ctx.total_time_usage_ms += time_usage_ms;
|
||||
ctx.total_memory_usage_kb = Math.max(ctx.total_memory_usage_kb, memory_usage_kb);
|
||||
ctx.next({
|
||||
status: STATUS.STATUS_JUDGING,
|
||||
case: {
|
||||
status,
|
||||
score: 0,
|
||||
|
||||
Reference in new issue
Block a user