{% extends 'layouts/base.html' %} {% load filters %} {% block title %}{{ task.name }}{% endblock %} {% block javascripts %} {% endblock %} {% block onload %}doPoll(){% endblock %} {% block content %}
{% if task.legend %}

Легенда

{% autoescape off %} {{ task.legend }} {% endautoescape %}
{% endif %} {% if task.input_format %}

Формат входных данных

{% autoescape off %} {{ task.input_format }} {% endautoescape %}
{% endif %} {% if task.output_format %}

Формат выходных данных

{% autoescape off %} {{ task.output_format }} {% endautoescape %}
{% endif %} {% if task.specifications %}

Примечания

{% autoescape off %} {{ task.specifications }} {% endautoescape %}
{% endif %} {% if task.samples %}

Примеры

{% for sample in task.samples %}

Пример {{ sample.num }}

Входные данные Выходные данные

{{ sample.input }}
{{ sample.output }}

{% endfor %}
{% endif %}
{% if in_set %}
{{ set.name }}
{% for settask in setTask.set.settasks_ordered %} {% with result=user|solved:settask.task %}
{% if result %}
{% else %}{% if result == False %}
{% else %}{% endif %}{% endif %}
{% if task == settask.task %}{% endif %}{{ settask.name }}. {{ settask.task.name }}{% if task == settask.task %}{% endif %}
{% endwith %} {% endfor %}
{% endif %}

Отправить решение

{% csrf_token %}

Решения

{% endblock %}