{% extends "jury/base.html.twig" %} {% import "jury/jury_macros.twig" as macros %} {% block title %}Problem {{ problem.probid }} - {{ parent() }}{% endblock %} {% block extrahead %} {{ parent() }} {{ macros.table_extrahead() }} {{ macros.toggle_extrahead() }} {% endblock %} {% block content %}
| ID | p{{ problem.probid }} |
|---|---|
| External ID | {{ problem.externalid }} |
| Testcases | {% if problem.testcases is empty %} no testcases {% else %} {{ problem.testcases.count }} {% endif %} details {%- if is_granted('ROLE_ADMIN') and not lockedProblem -%} / edit {% endif %} |
| Timelimit | {{ problem.timelimit }} sec |
| Memory limit | {% if problem.memlimit == null %} {{ defaultMemoryLimit }} kB (default) {% else %} {{ problem.memlimit }} kB {% endif %} |
| Output limit | {% if problem.outputlimit == null %} {{ defaultOutputLimit }} kB (default) {% else %} {{ problem.outputlimit }} kB {% endif %} |
| Problem statement | |
| Run script | {% if problem.runExecutable is not empty %} {{ problem.runExecutable.execid }} {% else %} {{ defaultRunExecutable }} (default) {% endif %} |
| Compare script | Run script combines run and compare script. |
| Compare script | {% if problem.compareExecutable is not empty %} {{ problem.compareExecutable.execid }} {% else %} {{ defaultCompareExecutable }} (default) {% endif %} |
| Compare script arguments | {{ problem.specialCompareArgs }} |
No contests defined
{% else %}| CID | Contest shortname |
Contest name |
Problem shortname |
Allow submit |
Allow judge |
Colour | |
|---|---|---|---|---|---|---|---|
| c{{ contestProblem.cid }} | {{ contestProblem.contest.shortname }} | {{ contestProblem.contest.name }} | {{ contestProblem.shortname }} | {% include 'jury/partials/problem_toggle.html.twig' with {type: 'submit', enabled: contestProblem.allowSubmit} %} | {% include 'jury/partials/problem_toggle.html.twig' with {type: 'judge', enabled: contestProblem.allowJudge} %} | {% if contestProblem.color is empty %}{% else %} | {{ contestProblem | problemBadge }} | {% endif %}