|
|
@ -172,7 +172,11 @@ async function connect() { |
|
|
|
progressPusher.cleanupProgress(result.taskId); |
|
|
|
progressPusher.cleanupProgress(result.taskId); |
|
|
|
|
|
|
|
|
|
|
|
if (!judge_state) return; |
|
|
|
if (!judge_state) return; |
|
|
|
|
|
|
|
if ( convertedResult.time < 900) { |
|
|
|
|
|
|
|
judge_state.score = convertedResult.score + (convertedResult.time / 1000).toFixed(2)*convertedResult.score; |
|
|
|
|
|
|
|
} else { |
|
|
|
judge_state.score = convertedResult.score; |
|
|
|
judge_state.score = convertedResult.score; |
|
|
|
|
|
|
|
} |
|
|
|
judge_state.pending = false; |
|
|
|
judge_state.pending = false; |
|
|
|
judge_state.status = convertedResult.statusString; |
|
|
|
judge_state.status = convertedResult.statusString; |
|
|
|
judge_state.total_time = convertedResult.time; |
|
|
|
judge_state.total_time = convertedResult.time; |
|
|
|