{% extends "layout/basic.html" %} {% block content %} {% include "course_ui_style.html" %} {% set subsecUrl = url('course_subsec_detail', cid=cdoc.docId, csid=csdoc.docId, ssid=ssdoc._id) %}

比赛排名:{{ ssdoc.title }}

赛制:{{ exam.ruleLabel }}。 {% if exam.rule == 'acm' %} 按解题数量与罚时排序,同题通过前错误提交每次罚时 20 分钟。 {% elif exam.rule == 'oi' %} OI 赛制比赛中不公布分数,比赛结束后显示成绩与排名。 {% else %} IOI 赛制按实时总分排序,参赛者可以看到当前得分。 {% endif %}

{% if exam.rule == 'acm' %}{% endif %} {% for pid in exam.pids %} {% endfor %} {% for row in rows %} {% set udoc = udict[row.uid] %} {% if row.resultHidden %} {% if exam.rule == 'acm' %}{% endif %} {% else %} {% if exam.rule == 'acm' %}{% endif %} {% endif %} {% for pid in exam.pids %} {% set item = row.result.details[pid] if row.result and row.result.details else null %} {% endfor %} {% else %} {% if exam.rule == 'acm' %} {% else %} {% endif %} {% endfor %}
排名 用户 总分 通过罚时P{{ loop.index }}状态 开始 结束
{{ '-' if row.resultHidden else row.rank }} {% if udoc %} {{ user.render_inline(udoc, badge=false) }} {% else %} UID {{ row.uid }} {% endif %} 赛后公布 赛后公布赛后公布{{ row.result.score if row.result else 0 }} / {{ row.result.maxScore if row.result else exam.maxScore }} {{ row.result.solved if row.result else 0 }} / {{ row.result.total if row.result else exam.pids.length }}{{ row.result.penalty if row.result else 0 }} {% if row.resultHidden %} 封榜 {% elif exam.rule == 'acm' %} {% if item and item.accepted %} +{% if item.wrong %}{{ item.wrong }}{% endif %} {% elif item and item.wrong %} -{{ item.wrong }} {% else %} - {% endif %} {% else %} {{ item.score if item else 0 }} {% endif %} {% if row.resultHidden %} 进行中 {% elif row.finished %} 已结束 {% if row.expired %}(超时){% endif %} {% else %} 进行中 {% endif %} {{ row.startedAtText }} {{ row.endedAtText or '-' }}
暂无参赛记录。
暂无参赛记录。
返回考试 {% if canManage %} 考试记录 {% endif %}
{% endblock %}