{% extends "common-content.html" %} {% block media %} {% if not request.in_contest %} {% endif %} {% endblock %} {% block js_media %} {% compress js %} {% endcompress %} {% if request.in_contest %} {% compress js %} {% endcompress %} {% endif %} {% endblock %} {% block title_ruler %}{% endblock %} {% block title_row %} {% set tab = 'list' %} {% set title = 'Problems' %} {% include "problem/problem-list-tabs.html" %} {% endblock %} {% block body %} {% if page_obj.num_pages > 1 %}
{% include "list-pages.html" %}
{% endif %}
{% block before_table %}{% endblock %} {% if not request.in_contest %}
{% include "problem/search-form.html" %} {% if hot_problems %} {% endif %}
{% endif %}
{% if request.in_contest %} {% if request.user.is_authenticated %} {% endif %} {% if show_types %} {% endif %} {% else %} {% if request.user.is_authenticated %} {% endif %} {% if show_types %} {% endif %} {% if show_editorial %} {% endif %} {% endif %} {% for problem in object_list %} {% if request.user.is_authenticated %} {% if problem.id in completed_problem_ids %} {% elif problem.id in attempted_problems %} {% else %} {% endif %} {% endif %} {% if show_types %} {% endif %} {% if not request.in_contest %} {% endif %} {% if show_editorial%} {% endif %} {% endfor %}
{{ _('Problem') }} {{ _('Problem code') }} {{ _('Category') }}{{ _('Types') }}{{ _('Points') }} {{ _('Users') }} {{ sort_order.solved }} {{ _('Problem') }}{{ sort_order.name }} {{ _('Problem code') }} {{ _('Category') }}{{ sort_order.group }} {{ _('Types') }}{{ sort_order.type }} {{ _('Points') }}{{ sort_order.points }} {{ _('AC %%') }}{{ sort_order.ac_rate }} {{ _('Users') }}{{ sort_order.user_count }} Editorial
{% if problem.is_public or request.in_contest %} {% else %} {% endif %} {% if problem.is_public or request.in_contest %} {% else %} {% endif %} {% if problem.is_public or request.in_contest %} {% else %} {% endif %} {{ problem.i18n_name }} {{ problem.code }} {{ problem.group.full_name }} {% for type in problem.types_list %} {{ type }}{% if not loop.last %}, {% endif %} {% endfor %} {{ problem.points|floatformat }}{% if problem.partial %}p{% endif %}{{ problem.ac_rate|floatformat(1) }}% {% if not request.in_contest or not hide_contest_scoreboard %} {{ problem.user_count }} {% else %} ??? {% endif %} {% if problem.has_public_editorial %} {{ _('Editorial') }} {% endif %}
{% if request.in_contest and request.participation.contest.use_clarifications %}

{% if can_edit_contest %}
{{_('Add clarifications')}}
{% endif %} {% if has_clarifications %}
{{_('Clarifications')}}
{% for clarification in clarifications %} {% endfor %}
{{_('Problem')}} {{_('Time')}} {{_('Description')}}
{{ clarification.problem.name }} {{ relative_time(clarification.date) }}

{{clarification.description}}

{% else %}

{{ _('No clarifications have been made at this time.') }}

{% endif %} {% endif %} {% if page_obj.num_pages > 1 %}
{% include "list-pages.html" %}
{% endif %}

{% endblock %}