From 1c37c4bfb6722f61ebf38ce4928adda567ab3f53 Mon Sep 17 00:00:00 2001 From: virusdefender <1670873886@qq.com> Date: Mon, 24 Aug 2015 03:35:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=94=E8=B5=9B=E9=A2=98=E7=9B=AE=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=EF=BC=8C=E6=8F=90=E7=A4=BA=E6=AF=94=E8=B5=9B?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/oj/contest/contest_problem.html | 164 ++++++++++++----------- 1 file changed, 84 insertions(+), 80 deletions(-) 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