|
|
@ -122,9 +122,15 @@ |
|
|
|
</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]) %>"> |
|
|
|
<span class="score score_<%= parseInt((item.player.score_details[problem.id].score / 10) || 0) %>"> |
|
|
|
<% if (item.player.score != null) { %> |
|
|
|
<%= item.player.score_details[problem.id].score %> |
|
|
|
<span class="score score_<%= parseInt((item.player.score_details[problem.id].score / 10) || 0) %>"> |
|
|
|
</span> |
|
|
|
<%= Math.round(item.player.score) %> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
<% } else { %> |
|
|
|
|
|
|
|
<span class="status compile_error"> |
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
<% } %> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
<div class="submit_time"> |
|
|
|
<div class="submit_time"> |
|
|
|
<%= syzoj.utils.formatTime(item.player.score_details[problem.id].judge_state.submit_time - contest.start_time) %> |
|
|
|
<%= syzoj.utils.formatTime(item.player.score_details[problem.id].judge_state.submit_time - contest.start_time) %> |
|
|
|