<% include util %> <% let problemUrl; if (typeof contest !== 'undefined' && contest) problemUrl = syzoj.utils.makeUrl(['contest', contest.id, judge.problem_id]); else problemUrl = syzoj.utils.makeUrl(['problem', judge.problem_id]); %> #<%= 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' || contest.type === 'noi'))) { %> <%= judge.result.score %> <% } %> <% if (judge.problem.type !== 'submit-answer') { %> <%= 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.code.length) %> <% } 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 (isPending(judge.status)) { %> <% } %>