You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{% import "components/record.html" as record with context %}
|
|
|
|
{% import "components/problem.html" as problem with context %}
|
|
|
|
<tr data-rid="{{ rdoc['_id'] }}">
|
|
|
|
{{ record.render_status_td(rdoc) }}
|
|
|
|
<td class="col--problem col--problem-name">
|
|
|
|
{% if handler.hasPerm(perm.PERM_REJUDGE) %}
|
|
|
|
<form class="form--inline" method="post" action="/r/{{ rdoc._id }}/rejudge">
|
|
|
|
<input type="hidden" name="csrfToken" value="{{ handler.csrfToken }}">
|
|
|
|
<button type="submit" class="link text-maroon lighter">
|
|
|
|
<span class="icon icon-refresh"></span>
|
|
|
|
{{ _('Rejudge') }}
|
|
|
|
</button> |
|
|
|
|
</form>
|
|
|
|
{% endif %}
|
|
|
|
{% if pdoc and (not pdoc.hidden or handler.hasPerm(perm.PERM_VIEW_PROBLEM_HIDDEN)) %}
|
|
|
|
{{ problem.render_problem_title(pdoc, show_tags=false) }}
|
|
|
|
{% else %}
|
|
|
|
*
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
<td class="col--submit-by">
|
|
|
|
<a href="/u/{{ rdoc.uid }}">
|
|
|
|
{{ udoc['uname'] }}
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td class="col--time">{% if rdoc['status'] == status.STATUS_TIME_LIMIT_EXCEEDED or rdoc['status'] == status.STATUS_MEMORY_LIMIT_EXCEEDED or rdoc['status'] == status.STATUS_OUTPUT_LIMIT_EXCEEDED %}≥{% endif %}{{ rdoc.time }}ms</td>
|
|
|
|
<td class="col--memory">{% if rdoc['status'] == status.STATUS_TIME_LIMIT_EXCEEDED or rdoc['status'] == status.STATUS_MEMORY_LIMIT_EXCEEDED or rdoc['status'] == status.STATUS_OUTPUT_LIMIT_EXCEEDED %}≥{% endif %}{{ rdoc.memory|format_size(1024) }}</td>
|
|
|
|
<td class="col--lang">{{ model.builtin.LANG_TEXTS[rdoc['lang']] }}</td>
|
|
|
|
<td class="col--submit-at">{{ datetime_span(rdoc['_id'])|safe }}</td>
|
|
|
|
</tr>
|