{% extends "common-content.html" %} {% block title_ruler %}{% endblock %} {% block title_row %} {% set tab = 'detail' %} {% set title = contest.name %} {% include "contest/contest-tabs.html" %} {% endblock %} {% block content_js_media %} {% include "contest/media-js.html" %} {% include "comments/media-js.html" %} {% endblock %} {% block content_media %} {% include "comments/media-css.html" %} {% endblock %} {% block body %}
{% cache 3600 'contest_html' contest.id MATH_ENGINE %} {{ contest.description|markdown('contest', MATH_ENGINE)|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 %}
{{ post_to_gplus(request, contest, '') }} {{ post_to_facebook(request, contest, '') }} {{ post_to_twitter(request, SITE_NAME + ':', contest, '') }} {% include "comments/list.html" %} {% endblock %} {% block description_end %}{% endblock %} {% block bodyend %} {{ super() }} {% include "comments/math.html" %} {% endblock %} k