<% this.title = '排名' %> <% include header %>
<% let i = (paginate.currPage - 1) * paginate.perPage; for (let user of ranklist) { ++i; %> <% } %>
# <%- createSortableTitle('username', '用户名', true) %> <%- createSortableTitle('ac_num', '通过数量', false) %> <%- createSortableTitle('submit_num', '提交数量', true) %> 通过率 <%- createSortableTitle('rating', '积分', false) %>
<%= i %> <%= user.username %><% if (user.nameplate) { %><%- user.nameplate %><% } %> <%= user.ac_num %> <%= user.submit_num %> <%= user.submit_num == 0 ? 0 : Math.round(user.ac_num / user.submit_num * 10000) / 100.00 + "%" %> <%= user.rating %>

<% include page %>
<% include footer %>