{% set layout_name = "basic" %} {% extends "layout/html5.html" %} {% block body %}

{{ tdoc.title }}

{% set lines = Math.ceil(items.length / 6) %} {% for i in range(0, lines) %} {% set group = items.slice(6 * i, 6 * (i + 1)) %} {% for item in group %} {% endfor %} {% for item in group %} {% endfor %} {% for item in group %} {% endfor %} {% for item in group %} {% endfor %}
题目{{ item.label }}. {{ item.title }}
Time limit{{ item.config.timeMax if item.config.timeMax == item.config.timeMin else item.config.timeMin + '~' + item.config.timeMax }}ms
Memory limit{{ item.config.memoryMax if item.config.memoryMax == item.config.memoryMin else item.config.memoryMin + '~' + item.config.memoryMax }}MiB
输入输出 {{ _('problem_type.' + item.config.type).format(item.config.subType) }} {% if item.config.type == 'default' and item.config.subType %} {{ _('File IO: {0}').format(item.config.subType) }} {% endif %}
{% endfor %}
{% for item in items %}

# {{ item.label }}. {{ item.title }}

{% for psdoc in item.solutions %} {% if item.solutions.length > 1 %}

## 题解 {{ psdoc.index }}

{% endif %}
{{ psdoc.content|markdown|safe }}
{% endfor %}
{% endfor %}
{% endblock %}