增加实际运行时间的显示和说明
This commit is contained in:
@@ -7,7 +7,7 @@ define("testCaseUploader", ["avalon", "uploader", "bsAlert", "jquery"], function
|
|||||||
'请将所有测试用例打包在一个文件中上传,' +
|
'请将所有测试用例打包在一个文件中上传,' +
|
||||||
'所有文件要在压缩包的根目录,' +
|
'所有文件要在压缩包的根目录,' +
|
||||||
'且输入输出文件名要以从1开始连续数字标识要对应例如:' +
|
'且输入输出文件名要以从1开始连续数字标识要对应例如:' +
|
||||||
'<br>1.in 1.out 2.in 2.out(普通题目)或者1.in 2.in 3.in(Special Judge) </small> ' +
|
'<br>1.in 1.out 2.in 2.out(普通题目)或者1.in 2.in 3.in(Special Judge) 请尽可能的合并测试用例在一个文件中</small> ' +
|
||||||
'<p>上传进度<span ms-text="uploadProgress"></span>%</p> ' +
|
'<p>上传进度<span ms-text="uploadProgress"></span>%</p> ' +
|
||||||
'<table class="table table-striped" ms-visible="uploaded"> ' +
|
'<table class="table table-striped" ms-visible="uploaded"> ' +
|
||||||
'<tr> <td>编号</td> <td>输入文件名</td> <td>输出文件名</td> </tr> ' +
|
'<tr> <td>编号</td> <td>输入文件名</td> <td>输出文件名</td> </tr> ' +
|
||||||
|
|||||||
@@ -68,19 +68,21 @@
|
|||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>测试用例</th>
|
<th>测试用例</th>
|
||||||
<th>CPU时间</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>内存</th>
|
<th>CPU时间</th>
|
||||||
<th>结果</th>
|
<th>内存</th>
|
||||||
|
<th>结果</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for item in info %}
|
{% for item in info %}
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">{{ item.test_case }}</th>
|
<th scope="row">{{ item.test_case }}</th>
|
||||||
<td>{{ item.cpu_time }} ms</td>
|
<td>{{ item.real_time }} ms</td>
|
||||||
<td>{{ item.memory }} Byte</td>
|
<td>{{ item.cpu_time }} ms</td>
|
||||||
<td class="{{ item.result|translate_result_class }}">{{ item.result|translate_result }}</td>
|
<td>{{ item.memory }} Byte</td>
|
||||||
|
<td class="{{ item.result|translate_result_class }}">{{ item.result|translate_result }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user