diff --git a/views/contest_ranklist.ejs b/views/contest_ranklist.ejs index 60acede..a07877d 100644 --- a/views/contest_ranklist.ejs +++ b/views/contest_ranklist.ejs @@ -122,9 +122,15 @@ <% } else if (contest.type === 'noi' || contest.type === 'ioi') { %> - - <%= item.player.score_details[problem.id].score %> - + <% if (item.player.score != null) { %> + + <%= Math.round(item.player.score) %> + + <% } else { %> + + 0 + + <% } %>