mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-22 00:43:20 +00:00
64 lines
1.8 KiB
HTML
64 lines
1.8 KiB
HTML
|
{% extends 'oj_base.html' %}
|
||
|
|
||
|
{% block body %}
|
||
|
|
||
|
{% load submission %}
|
||
|
<div class="container main">
|
||
|
<ul class="nav nav-tabs nav-tabs-google">
|
||
|
<li role="presentation">
|
||
|
<a href="/problem/1/">题目</a></li>
|
||
|
<li role="presentation" class="active"><a href="my_solutions_list.html">我的提交</a></li>
|
||
|
</ul>
|
||
|
<h2 class="text-center">Battle Over Cities - Hard Version</h2>
|
||
|
|
||
|
<p class="text-muted text-center">cpu: 1000ms 内存: 256M</p>
|
||
|
<table class="table table-bordered">
|
||
|
<thead>
|
||
|
<tr class="" success>
|
||
|
<th>#</th>
|
||
|
<th>提交时间</th>
|
||
|
<th>结果</th>
|
||
|
<th>运行时间</th>
|
||
|
<th>语言</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% for item in submissions %}
|
||
|
{% ifequal item.result 0 %}
|
||
|
<tr class="success">
|
||
|
{% else %}
|
||
|
{% ifequal item.result 8 %}
|
||
|
<tr class="info">
|
||
|
{% else %}
|
||
|
<tr class="danger">
|
||
|
{% endifequal %}
|
||
|
|
||
|
{% endifequal %}
|
||
|
<th scope="row"><a href="/my_solution/{{ item|translate_id }}/">{{ forloop.counter }}</a></th>
|
||
|
<td>{{ item.create_time }}</td>
|
||
|
<td>{{ item.result|translate_result }}</td>
|
||
|
<td>
|
||
|
{% if item.accepted_answer_info.time %}
|
||
|
{{ item.accepted_answer_info.time }}ms
|
||
|
{% else %}
|
||
|
--
|
||
|
{% endif %}
|
||
|
</td>
|
||
|
<td>
|
||
|
{% ifequal item.language 1 %}
|
||
|
C
|
||
|
{% else %}
|
||
|
{% ifequal item.language 2 %}
|
||
|
C++
|
||
|
{% else %}
|
||
|
Java
|
||
|
{% endifequal %}
|
||
|
{% endifequal %}
|
||
|
</td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
{% endblock %}
|