% this.title = '排名 - ' + contest.title %> <% include header %>
# | 用户名 | <% if (contest.type === 'acm') { %>通过数量 | 罚时 | <% } %> <% for (let i = 0; i < problems.length; i++) { %><%= syzoj.utils.removeTitleTag(problems[i].title) %> | <% } %> <% if (contest.type === 'noi' || contest.type === 'ioi') { %>总分 | <% } %>|
---|---|---|---|---|---|---|
<% if (rank == 1) { %>
<% } else if (rank == 2) { %>
<% } else if (rank == 3) { %>
<% } else { %>
<% } %>
<%= rank %>
|
<%= item.user.username %><% if (item.user.nameplate) { %><%- item.user.nameplate %><% } %> | <% if (contest.type === 'acm') { %><%= item.player.score %> | <%= syzoj.utils.formatTime(timeSum) %> | <% } %> <% for (let problem of problems) { %> <% if (problem.min === i) { %><% } else { %> | <% } %> <% if (!item.player.score_details[problem.id]) { %> | <% } else if (contest.type === 'acm') { %> <% if (item.player.score_details[problem.id].accepted) { %> <% if (item.player.score_details[problem.id].unacceptedCount) { %> +<%= item.player.score_details[problem.id].unacceptedCount %> <% } else { %> + <% } %>
<%= item.player.score %>
<%= syzoj.utils.formatTime(latest - contest.start_time) %>
|
<% } %>