{% block main %}
{% endblock %}
{% if question.type == 'code' or question.type == 'upload' %}
{% if error_message %}
{% for error in error_message %}
Testcase No. {{ forloop.counter }}
{% if not error.expected_output %}
{{error|safe}}
{% else %}
{% if error.given_input %}
For given Input value(s): |
{{error.given_input}} |
{% endif %}
Line No. |
Expected Output |
User output |
Status |
{% for expected,user in error.expected_output|zip:error.user_output %}
{{forloop.counter}} |
{{expected|default:""}} |
{{user|default:""}} |
{% if forloop.counter0 in error.error_no or not expected or not user %}
|
{% else %}
|
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% endif %}