{# Render a list of submissions for a team page #} {# @var submission \App\Entity\Submission #} {% if submissions is empty %}
No submissions
{% else %} {% if contest.getRuntimeAsScoreTiebreaker() %} {% endif %} {% if allowDownload %} {% endif %} {%- for submission in submissions %} {% set link = null %} {% if (submission.submittime < current_team_contest.endtime or showTooLateResult) and submission.result and submission.judgings.first is not empty and submission.judgings.first.result is not empty and (not verificationRequired or submission.judgings.first.verified) %} {% set link = path('team_submission', {submitId: submission.submitid}) %} {% endif %} {% set classes = '' %} {% if not submission.valid %} {% set classes = classes ~ ' ignore' %} {% endif %} {% if submission.judgings.first is empty or not submission.judgings.first.seen %} {% set classes = classes ~ ' unseen' %} {% endif %} {% if contest.getRuntimeAsScoreTiebreaker() %} {% endif %} {% if allowDownload %} {% endif %} {%- endfor %}
time problem lang resultruntime
{{ submission.submittime | printtime(null, submission.contest) }} {{ submission.contestProblem | problemBadge }} {{ submission.language.langid }} {%- if submission.submittime > submission.contest.endtime %} {{ 'too-late' | printResult }} {%- endif %} {%- if submission.submittime <= submission.contest.endtime or showTooLateResult %} {%- if submission.submittime > submission.contest.endtime %} / {% endif %} {%- if submission.judgings.first is empty or submission.judgings.first.result is empty %} {{- '' | printResult -}} {%- elseif verificationRequired and not submission.judgings.first.verified %} {{- '' | printResult -}} {%- else %} {{- submission.judgings.first.result | printResult -}} {%- endif %} {%- endif %} {% if link and submission.getResult()=='correct' %} {{ "%0.3f s" | format(submission.judgings.first.getMaxRuntime()) }} {% else %} - {% endif %}
{% endif %}