{% import "components/record.html" as record with context %}
{% import "components/problem.html" as problem with context %}
{% import "components/user.html" as user with context %}
{{ _('ID') }}
{{ pdoc.docId }}
{{ _('Time') }}
{{ pdoc.config.timeMax if pdoc.config.timeMax == pdoc.config.timeMin else pdoc.config.timeMin+'~'+pdoc.config.timeMax }}ms
{{ _('Memory') }}
{{ pdoc.config.memoryMax if pdoc.config.memoryMax == pdoc.config.memoryMin else pdoc.config.memoryMin+'~'+pdoc.config.memoryMax }}MiB
{{ _('Difficulty') }}
{{ pdoc['difficulty'] or lib.difficulty(pdoc.nSubmit, pdoc.nAccept) or _('(None)') }}
{{ _('Category') }}
{% if pdoc['category'] %}
{%- for category in pdoc['category'] -%}
{{ category }}
{% if loop.index < pdoc['category']|length %}
{{ _('problem-subcategory-delim') }}
{% endif %}
{%- endfor -%}
{{ _('page.problem_detail.sidebar.show_category') }}
{% else %}
{{ _('(None)') }}
{% endif %}