Browse Source

Let score be null on CE.

master
t123yh 7 years ago
parent
commit
2f5d346cf6
  1. 1
      src/judgeResult.ts

1
src/judgeResult.ts

@ -46,7 +46,6 @@ export function convertResult(taskId: string, source: OverallResult): JudgeResul
if (source.compile && source.compile.status === TaskStatus.Failed) { if (source.compile && source.compile.status === TaskStatus.Failed) {
statusString = compileError; statusString = compileError;
score = 0;
} else if (source.error != null) { } else if (source.error != null) {
done = false; done = false;
if (source.error === ErrorType.TestDataError) { if (source.error === ErrorType.TestDataError) {

Loading…
Cancel
Save