{% if typeof(rdoc['score']) == 'number' %}
- {{ _('Score') }}
- {{ rdoc['score'] }}
{% endif %}
{% set _ge = rdoc['status'] == STATUS.STATUS_TIME_LIMIT_EXCEEDED or rdoc['status'] == STATUS.STATUS_MEMORY_LIMIT_EXCEEDED or rdoc['status'] == STATUS.STATUS_OUTPUT_LIMIT_EXCEEDED %}
{% if rdoc['time'] %}
- {{ _('Total Time') }}
- {% if _ge %}≥{% endif %}{{ rdoc.time|round(0) }}ms
{% endif %}
{% if rdoc.testCases.length %}
- {{ _('Peak Time') }}
- {% if _ge %}≥{% endif %}{{ (rdoc.testCases|sort(true, true, "time")|first)["time"]|round(0) }}ms
{% endif %}
{% if rdoc['memory'] %}
- {{ _('Peak Memory') }}
- {% if _ge %}≥{% endif %}{{ size(rdoc.memory, 1024) }}
{% endif %}