From 5cbda62472a7b4d95cf2e0e4259ac7088ec0a7ef Mon Sep 17 00:00:00 2001 From: Alphagocc Date: Sun, 24 Oct 2021 14:24:22 +0800 Subject: [PATCH] fix: file not found will be judged --- makespec/BUILDVERSION | 2 +- src/core/taskjudger.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/makespec/BUILDVERSION b/makespec/BUILDVERSION index 9870ccc7..e702a30b 100644 --- a/makespec/BUILDVERSION +++ b/makespec/BUILDVERSION @@ -1 +1 @@ -187 +188 diff --git a/src/core/taskjudger.cpp b/src/core/taskjudger.cpp index 47fcfe3c..a7634102 100644 --- a/src/core/taskjudger.cpp +++ b/src/core/taskjudger.cpp @@ -361,7 +361,7 @@ int TaskJudger::judge() { if (task->getTaskType() != Task::AnswersOnly) if (! traditionalTaskPrepare()) - return 0; + return 1; for (int i = 0; i < task->getTestCaseList().size(); i++) { timeUsed.append(QList());