diff --git a/views/submission_content.ejs b/views/submission_content.ejs index aec997a..3791bf0 100644 --- a/views/submission_content.ejs +++ b/views/submission_content.ejs @@ -132,13 +132,13 @@ else problemUrl = syzoj.utils.makeUrl(['problem', judge.problem_id]); <% } %> <% for (let i = 0; i < subtask_cases.case_num; i++) { %> <% let testcase = subtask_cases[i]; %> -
style="cursor: auto; "<% } %>> +
style="cursor: auto; "<% } %>>
测试点 #<%= i + 1 %>
<%= testcase.status %>
- <% if (!testcase.pending) { %> + <% 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
@@ -147,7 +147,7 @@ else problemUrl = syzoj.utils.makeUrl(['problem', judge.problem_id]);
- <% if (!testcase.pending && judge.allowedSeeData) { %> + <% if (!testcase.pending && judge.allowedSeeData && testcase.status !== 'Skipped') { %>

输入文件

<%= testcase.input %>