diff --git a/views/submission_content.ejs b/views/submission_content.ejs index 24b1c3c..0e56bbd 100644 --- a/views/submission_content.ejs +++ b/views/submission_content.ejs @@ -172,15 +172,21 @@ else problemUrl = syzoj.utils.makeUrl(['problem', judge.problem_id]); <% let testcase = subtask_cases[i]; %>
style="cursor: auto; "<% } %>>
-
测试点 #<%= i + 1 %>
+
测试点 #<%= i + 1 %>
<%= testcase.status %>
<% if (!testcase.pending && testcase.status !== 'Skipped') { %> <% if (!testcase.score) testcase.score = testcase.status === 'Accepted' ? 100 : 0; %> -
得分:<%= parseFloat(testcase.score.toFixed(2)).toString() %>
-
用时:<%= testcase.time_used %> ms
-
内存:<%= testcase.memory_used %> KiB
+ <% if (judge.problem.type === 'submit-answer') { %> + <% if (testcase.length != null) { %> +
文件大小:<%= syzoj.utils.formatSize(testcase.length) %>
+ <% } %> + <% } else { %> +
得分:<%= parseFloat(testcase.score.toFixed(2)).toString() %>
+
用时:<%= testcase.time_used %> ms
+
内存:<%= testcase.memory_used %> KiB
+ <% } %> <% } %>