{% extends "layout/basic.html" %} {% block content %}

{%- if rdoc -%} {{ rdoc.score }} {%- endif %} {{ pdoc.title }}

{% if rdoc %}

{{ rdoc.score }}

{% endif %} {{ _('Time Limit') }}: {{ pdoc.config.timeMax if pdoc.config.timeMax == pdoc.config.timeMin else pdoc.config.timeMin+'~'+pdoc.config.timeMax }}ms {{ _('Memory Limit') }}: {{ pdoc.config.memoryMax if pdoc.config.memoryMax == pdoc.config.memoryMin else pdoc.config.memoryMin+'~'+pdoc.config.memoryMax }}MiB
{% if tdoc %} {% if tdoc.docType == model.document.TYPE_CONTEST %} {% if model.contest.isDone(tdoc) %}

{{ _('You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.') }}

{% endif %}{# handler.isDone(tdoc) #} {% endif %}{# tdoc['docType'] == model.document.TYPE_CONTEST #} {% endif %}{# tdoc #} {{ pdoc.content|content(handler.user.viewLang, pdoc.html)|safe }}
{% set owner_udoc = udoc %} {% include "partials/problem_sidebar.html" %}
{% endblock %}