diff --git a/views/judge_detail_item.ejs b/views/judge_detail_item.ejs index d7d6095..63ebc1a 100644 --- a/views/judge_detail_item.ejs +++ b/views/judge_detail_item.ejs @@ -1,5 +1,5 @@
- +
@@ -45,7 +45,7 @@

编译信息

<%- judge.result.compiler_output %>
<% } else if (judge.allowedSeeResult) { %> -
+
<% for (let i = 0; i < judge.result.case_num; i++) { %> <% let testcase = judge.result[i], pending = false; @@ -74,8 +74,8 @@ <% } %>
- <% if (!pending) { %>
+ <% if (!pending) { %>

输入文件

<%= testcase.input %>
@@ -84,9 +84,9 @@ 你的输出
<%= testcase.user_out %>

+ <% } %>
<% } %> - <% } %> <% } %> @@ -101,22 +101,36 @@ $(function() { }); -<% if (isPending(judge.status)) { %> +<% if (!isPending(judge.status)) { %>
<% } %> <% } %> +
编号