{% extends "two-column-content.html" %} {% set page_type = 'detail' %} {% block left_sidebar %} {% set title = contest.name %} {% include "contest/contest-tabs.html" %} {% endblock %} {% block two_col_js %} {% include "contest/media-js.html" %} {% include "comments/media-js.html" %} {% include "actionbar/media-js.html" %} {% endblock %} {% block two_col_media %} {% include "comments/media-css.html" %} {% include "actionbar/media-css.html" %} {% endblock %} {% block middle_content %} {% include "contest/contest-datetime.html" %}
{% cache 3600 'contest_html' contest.id MATH_ENGINE %} {{ contest.description|markdown|reference|str|safe }} {% endcache %}
{% if contest.ended or request.user.is_superuser or is_editor or is_tester %}

{{ _('Problems') }}

{% for problem in contest_problems %} {% endfor %}
{{ _('Problem') }} {{ _('Points') }} {{ _('AC Rate') }} {{ _('Users') }}
{% if problem.is_public %} {{ problem.i18n_name }} {% else %} {{ problem.i18n_name }} {% endif %} {{ problem.points|floatformat }}{% if problem.partial %}p{% endif %} {{ problem.ac_rate|floatformat(1) }}% {% if problem.is_public %} {{ problem.user_count }} {% else %} {{ problem.user_count }} {% endif %} {% if problem.is_public and problem.has_public_editorial %} {{ _('Editorial') }} {% endif %}

{% endif %} {% include "actionbar/list.html" %}
{% include "comments/list.html" %} {% endblock %}