From 2f5d346cf69d37dbf9bbe237a6603457d81ebb2e Mon Sep 17 00:00:00 2001 From: t123yh Date: Fri, 25 Aug 2017 22:49:19 +0800 Subject: [PATCH] Let score be null on CE. --- src/judgeResult.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/judgeResult.ts b/src/judgeResult.ts index 3736f85..23f437a 100644 --- a/src/judgeResult.ts +++ b/src/judgeResult.ts @@ -46,7 +46,6 @@ export function convertResult(taskId: string, source: OverallResult): JudgeResul if (source.compile && source.compile.status === TaskStatus.Failed) { statusString = compileError; - score = 0; } else if (source.error != null) { done = false; if (source.error === ErrorType.TestDataError) {