增加实际运行时间的显示和说明
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user