diff --git a/template/oj/contest/contest_problem.html b/template/oj/contest/contest_problem.html index 32b0617..907d81e 100644 --- a/template/oj/contest/contest_problem.html +++ b/template/oj/contest/contest_problem.html @@ -1,104 +1,108 @@ - {% extends 'oj_base.html' %} {% block body %} -
- -

{{ contest_problem.title }}

+
+ +

{{ contest_problem.title }}

-

发布时间 : {{ contest_problem.create_time }}   - 时间限制 : {{ contest_problem.time_limit }}ms   - 内存限制 : {{ contest_problem.memory_limit }}M -

+

发布时间 : {{ contest_problem.create_time }}   + 时间限制 : {{ contest_problem.time_limit }}ms   + 内存限制 : {{ contest_problem.memory_limit }}M +

-
-
- +
+
+ -

{{ contest_problem.description|safe }}

-
-
- +

{{ contest_problem.description|safe }}

+
+
+ -

{{ contest_problem.input_description }}

-
-
- +

{{ contest_problem.input_description }}

+
+
+ -

{{ contest_problem.output_description }}k

-
- {% for item in samples %} -
- +

{{ contest_problem.output_description }}k

+
+ {% for item in samples %} +
+
 {{ item.input }}
-
-
+
+
- +
 {{ item.output }}
-
- {% endfor %} - {% if problem.hint %} -
- +
+ {% endfor %} + {% if problem.hint %} +
+ -

{{ contest_problem.hint|safe }}

-
- {% endif %} - {% if contest_problem.hint %} -
- +

{{ contest_problem.hint|safe }}

+
+ {% endif %} + {% if contest_problem.hint %} +
+ -

{{ contest_problem.hint|safe }}

-
- {% endif %} +

{{ contest_problem.hint|safe }}

+
+ {% endif %} -
- + {% ifequal contest.status 0 %} +
+ -
- - - +
+ + + +
+
+ +
+ + +
+
+ +
+ + + +
+ {% endifequal %} + + {% if show_warning %} + + {% endif %} + +
+
- -
- - -
-
- -
- - - -
- {% if show_warning %} - - {% endif %} - -
-
-
-
{% endblock %} {% block js_block %} - + {% endblock %} \ No newline at end of file