Browse Source

Replace old score calculating.

pull/6/head
t123yh 7 years ago
parent
commit
22f5eb1127
  1. 2
      views/statistics.ejs

2
views/statistics.ejs

@ -79,7 +79,7 @@ function getColorOfScore(score) {
<%= judge.status %> <%= judge.status %>
</span> </span>
</a></td> </a></td>
<td><a href="<%= syzoj.utils.makeUrl(['submission', judge.id]) %>"><span class="score score_<%= parseInt(judge.result.score / 10) || 0 %>"><%= judge.result.score %></span></a></td> <td><a href="<%= syzoj.utils.makeUrl(['submission', judge.id]) %>"><span class="score score_<%= parseInt(judge.score / 10) || 0 %>"><%= judge.score %></span></a></td>
<% if (problem.type !== 'submit-answer') { %> <% if (problem.type !== 'submit-answer') { %>
<td><%= judge.result.total_time %> ms</td> <td><%= judge.result.total_time %> ms</td>
<td><%= parseInt(judge.result.max_memory) || 0 %> K</td> <td><%= parseInt(judge.result.max_memory) || 0 %> K</td>

Loading…
Cancel
Save