确认重新评测该提交记录吗?
警告:只有管理员可以重新评测一个未评测完成的记录,
这种情况一般发生在评测服务中断后,如果一个提交正在被评测,
则将其重新评测会导致系统错乱!
% include util %> <% // Sanitize judge results for backward compatibility and clarity if (!judge.result.subtasks) { judge.result.subtasks = [ { case_num: judge.result.case_num, status: judge.status, score: judge.result.score } ]; for (let i = 0; i < judge.result.case_num; ++i) { judge.result.subtasks[0][i] = judge.result[i]; } } let runningFound = false; for (let s of judge.result.subtasks) { s.pending = (s.status === 'Waiting' || s.status.startsWith('Running')); for (let i = 0; i < s.case_num; ++i) if (!s[i]) { s[i] = { pending: true, status: runningFound ? 'Waiting' : 'Running' }; if (!runningFound) s.isActiveSubtask = true; runningFound = true; } } %> <% let problemUrl; if (typeof contest !== 'undefined') problemUrl = syzoj.utils.makeUrl(['contest', contest.id, judge.problem_id]); else problemUrl = syzoj.utils.makeUrl(['problem', judge.problem_id]); %>
编号 | 题目名称 | 状态 | <% if ((typeof contest === 'undefined' || !contest) || !((!user || !user.is_admin) && !contest.ended && contest.type === 'acm') && !hideScore) { %>分数 | <% } %> <% if (judge.problem.type !== 'submit-answer') { %> <% if (!hideScore) { %>总时间 | 内存 | <% } %>代码 | <% } else { %>文件大小 | <% } %>提交者 | 提交时间 | <% if (judge.allowedRejudge) { %>重新评测 | <% } %>|
---|---|---|---|---|---|---|---|---|---|---|---|
#<%= judge.id %> | <%= (typeof contest !== 'undefined' && contest) ? this.alpha(judge.problem_id) : ('#' + judge.problem_id) %>. <%= judge.problem.title %> | <%= judge.status %> | <% if ((typeof contest === 'undefined' || !contest) || !((!user || !user.is_admin) && !contest.ended && contest.type === 'acm') && !hideScore) { %><%= judge.result.score %> | <% } %> <% if (judge.problem.type !== 'submit-answer') { %> <% if (!hideScore) { %><%= judge.result.total_time %> ms | <%= parseInt(judge.result.max_memory) || 0 %> K | <% } %> <% if (judge.allowedSeeCode) { %><%= syzoj.config.languages[judge.language].show %> / <%= syzoj.utils.formatSize(judge.codeLength) %> | <% } else { %><%= syzoj.config.languages[judge.language].show %> / 隐藏 %> | <% } %> <% } else { %><%= syzoj.utils.formatSize(judge.max_memory) %> | <% } %><%= judge.user.username %><% if (judge.user.nameplate) { %><%- judge.user.nameplate %><% } %> | <%= syzoj.utils.formatDate(judge.submit_time) %> | <% if (judge.allowedRejudge) { %><% } %> |
<%- judge.code %>
<%- syzoj.utils.ansiToHTML(judge.result.compiler_output) %>
<%= judge.result.message %>
<%- syzoj.utils.ansiToHTML(judge.result.spj_compiler_output) %>
输入文件<% if (testcase.input_file_name) { %>(<%= testcase.input_file_name %>)<% } %>
<%= testcase.input %>
<%= testcase.answer %>
<%= testcase.user_out %>
<%= testcase.spj_message %>
<%= testcase.user_err %>
<%= testcase.runner_message %>