diff --git a/static/style.css b/static/style.css index 7c47612..38d21c2 100644 --- a/static/style.css +++ b/static/style.css @@ -39,10 +39,7 @@ pre { :not(.status_detail).status.accepted, .title:hover .status_detail.status.accepted, -.title.active .status_detail.status.accepted, -:not(.status_detail).status.passed, -.title:hover .status_detail.status.passed, -.title.active .status_detail.status.passed { +.title.active .status_detail.status.accepted { color: forestgreen; } diff --git a/views/problem_data.ejs b/views/problem_data.ejs index b539f60..83651b6 100644 --- a/views/problem_data.ejs +++ b/views/problem_data.ejs @@ -1,11 +1,17 @@ <% this.title = '上传测试数据'; %> <% include header %> +<% +let subtaskType = { + sum: '测试点分数按百分比相加', + min: '取各测试点最低分', + mul: '测试点分数按百分比相乘' +}; +%>
数据包:<%= problem.testdata.filename %>
<% try { let list = syzoj.utils.parseTestData(problem.testdata.getPath()); @@ -17,26 +23,27 @@ <% } %>输入文件 | 输出文件 | -
---|---|
→ 子任务评分方式:<%= subtask.type %>,分值:<%= subtask.score %> | -|
子任务 <%= ++i %><%= subtaskType[subtask.type] %>,总分值 <%= subtask.score %> |
+ |
<%= testcase.input %> | +<%= testcase.output %> | +
<%= testcase.input %> | -<%= testcase.output %> | -