Pisces000221 7 years ago
parent
commit
a49cc50d95
  1. 4
      views/contest_ranklist.ejs

4
views/contest_ranklist.ejs

@ -122,9 +122,9 @@
</td> </td>
<% } else if (contest.type === 'noi' || contest.type === 'ioi') { %> <% } else if (contest.type === 'noi' || contest.type === 'ioi') { %>
<a href="<%= syzoj.utils.makeUrl(['submission', item.player.score_details[problem.id].judge_id]) %>"> <a href="<%= syzoj.utils.makeUrl(['submission', item.player.score_details[problem.id].judge_id]) %>">
<% if (item.player.score != null) { %> <% if (item.player.score_details[problem.id].score != null) { %>
<span class="score score_<%= parseInt((item.player.score_details[problem.id].score / 10) || 0) %>"> <span class="score score_<%= parseInt((item.player.score_details[problem.id].score / 10) || 0) %>">
<%= Math.round(item.player.score) %> <%= Math.round(item.player.score_details[problem.id].score) %>
</span> </span>
<% } else { %> <% } else { %>
<span class="status compile_error"> <span class="status compile_error">

Loading…
Cancel
Save