From e245afcf05a784636878b87d43ff7fd1e0cc3d79 Mon Sep 17 00:00:00 2001 From: Menci Date: Fri, 7 Jul 2017 09:52:54 +0800 Subject: [PATCH] Fix first blood of NOI --- views/contest_ranklist.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/contest_ranklist.ejs b/views/contest_ranklist.ejs index 319975f..0446d5d 100644 --- a/views/contest_ranklist.ejs +++ b/views/contest_ranklist.ejs @@ -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;