|
|
|
@ -37,7 +37,7 @@
|
|
|
|
|
i++; |
|
|
|
|
let condition; |
|
|
|
|
if (contest.type === 'acm') condition = item.player.score_details[problem.id] && item.player.score_details[problem.id].accepted && (minPos === -1 || item.player.score_details[problem.id].acceptedTime < min.player.score_details[problem.id].acceptedTime); |
|
|
|
|
else condition = item.player.score_details[problem.id] && item.player.score_details[problem.id].score === 100 && (minPos === -1 || item.player.score_details[problem.id].time < min.player.score_details[problem.id].time); |
|
|
|
|
else condition = item.player.score_details[problem.id] && item.player.score_details[problem.id].score === 100 && (minPos === -1 || item.player.score_details[problem.id].judge_state.submit_time < min.player.score_details[problem.id].judge_state.submit_time); |
|
|
|
|
if (condition) { |
|
|
|
|
min = item; |
|
|
|
|
minPos = i; |
|
|
|
|