{% if submission.contest_or_none %} {% set prefix_length = submission.contest_or_none.problem.output_prefix_override %} {% else %} {% set prefix_length = None %} {% endif %} {% set is_pretest = submission.is_pretested %} {% if submission.status != 'IE' %} {% if submission.status == 'QU' %}
{{ submission.error|ansi2html }}{% else %} {% if submission.error %}
{{ submission.error|ansi2html }}
{{_('Overall: ')}} {% if request.in_contest_mode and submission.contest_or_none %} {% with contest=submission.contest_or_none %} {{ _('%(points)s/%(total)s', points=contest.points|roundfloat(3), total=contest.problem.points|floatformat(-1)) }} {% endwith %} {% else %} {{ _('%(points)s/%(total)s', points=submission.points|roundfloat(3), total=submission.problem.points|floatformat(-1)) }} {% endif %} | {{submission.long_status}} | {{_('Point: ')}} {{ submission.case_points|floatformat(1) }}/{{ submission.case_total|floatformat(0) }} | {{_('Time: ')}} {% if submission.result == "TLE" %} --- {% else %} {{ (submission.time * 1000)|floatformat(0) }} ms {% endif %} | {{_('Memory: ')}}{{ submission.memory|kbdetailformat }} |
{{ _('Batch ') }}#{{ batch.id }} | {% if batch_AC %} {% else %} {% endif %} | {{_('Point')}}: {{ _('%(points)s/%(total)s', points=batch.points|floatformat(1), total=batch.total|floatformat(0)) }} | ||
{%- if can_see_testcases -%} {%- endif -%} {%- if batch.id -%} {{ _('Case') }} #{{ loop.index }}: {%- elif is_pretest -%} {{ _('Pretest') }} #{{ loop.index }}: {%- else -%} {{ _('Test case') }} #{{ loop.index }}: {%- endif -%} | {%- if case.status == 'SC' %}—{% else %}{{ case.long_status }}{% endif -%} | {{_('Point')}}: {{ case.points|floatformat }}/{{ case.total|floatformat }} | {%- if case.status != 'SC' -%} {%- if case.status == 'TLE' -%} {{_('Time')}}: >{{ (time_limit * 1000)|floatformat(0) }} ms {%- else -%} {{_('Time')}}: {{ (case.time * 1000)|floatformat(0) }} ms {%- endif -%} {%- endif -%} | {% if case.status != 'SC' %}{{_('Memory')}}: {{ case.memory|kbdetailformat }}{% endif %} |