Skip to content

Commit 5cbda62

Browse files
committed
fix: file not found will be judged
1 parent d3b4a50 commit 5cbda62

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

makespec/BUILDVERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
187
1+
188

src/core/taskjudger.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ int TaskJudger::judge() {
361361

362362
if (task->getTaskType() != Task::AnswersOnly)
363363
if (! traditionalTaskPrepare())
364-
return 0;
364+
return 1;
365365

366366
for (int i = 0; i < task->getTestCaseList().size(); i++) {
367367
timeUsed.append(QList<int>());

0 commit comments

Comments
 (0)