|
|
@ -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) { |
|
|
|