{% extends "common-content.html" %} {% block content_js_media %} {% include "comments/media-js.html" %} {% include "actionbar/media-js.html" %} {% endblock %} {% block content_media %} {% include "comments/media-css.html" %} {% endblock %} {% block header %}
{% if perms.judge.change_problem %} [{{ _('Edit') }}] {% endif %}
{% endblock %} {% block body %}
{% if not has_solved_problem %}
{{ _('Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.

Submitting an official solution before solving the problem yourself is a bannable offence.') }}
{% endif %} {% with authors=solution.authors.all() %} {% if authors %}

Authors: {{ link_users(authors) }}

{% endif %} {% endwith %} {% cache 86400 'solution_content' solution.id %} {{ solution.content|markdown(lazy_load=True)|reference|str|safe }} {% endcache %}

{% include "actionbar/list.html" %}
{% include "comments/list.html" %} {% endblock %} {% block bodyend %} {% include "comments/math.html" %} {% endblock %}