{% import "components/record.html" as record with context %} {% import "components/problem.html" as problem with context %} {{ record.render_status_td(rdoc, allDomain = all) }} {% if handler.user.hasPerm(perm.PERM_REJUDGE) and not rdoc.files.hack %}
|
{% endif %} {% if pdoc and rdoc.contest %} {{ problem.render_problem_title(pdoc, tdoc=tdoc, show_tags=false, show_invisible_flag=false) }} {% elif pdoc and (not pdoc.hidden or handler.user.hasPerm(perm.PERM_VIEW_PROBLEM_HIDDEN) or handler.user.own(pdoc)) %} {{ problem.render_problem_title(pdoc, show_tags=false) }} {% else %} * {% endif %} {% if rdoc.files.hack %}({{ _('Hack') }}){% endif %} {% elif rdoc.contest and rdoc.contest.toString() == '000000000000000000000000' %}({{ _('Pretest') }}){% endif %} {% if handler.user.hasPerm(perm.PREM_VIEW_DISPLAYNAME) and udoc.displayName %} {{ udoc.displayName }} ({{ udoc.uname }}) {% else %} {{ udoc.uname }} {% endif %} {% 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|round|int }}ms {% 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 %}{{ size(rdoc.memory, 1024) }} {{ model.setting.langs[rdoc['lang']].display }} {{ datetimeSpan(rdoc['_id'])|safe }}