增加实际运行时间的显示和说明

This commit is contained in:
virusdefender
2016-04-23 20:31:38 +08:00
parent a210689a07
commit ac0284879f
2 changed files with 10 additions and 8 deletions

View File

@@ -68,19 +68,21 @@
<table class="table">
<thead>
<tr>
<th>测试用例</th>
<th>CPU时间</th>
<th>内存</th>
<th>结果</th>
<th>测试用例</th>
<th><a href="https://github.com/QingdaoU/OnlineJudge/wiki/%E5%AE%9E%E9%99%85%E8%BF%90%E8%A1%8C%E6%97%B6%E9%97%B4%E5%92%8CCPU%E6%97%B6%E9%97%B4">实际运行时间</a></th>
<th>CPU时间</th>
<th>内存</th>
<th>结果</th>
</tr>
</thead>
<tbody>
{% for item in info %}
<tr>
<th scope="row">{{ item.test_case }}</th>
<td>{{ item.cpu_time }} ms</td>
<td>{{ item.memory }} Byte</td>
<td class="{{ item.result|translate_result_class }}">{{ item.result|translate_result }}</td>
<td>{{ item.real_time }} ms</td>
<td>{{ item.cpu_time }} ms</td>
<td>{{ item.memory }} Byte</td>
<td class="{{ item.result|translate_result_class }}">{{ item.result|translate_result }}</td>
</tr>
{% endfor %}
</tbody>