diff --git a/libs/judger.js b/libs/judger.js index e77f836..08d5ee9 100644 --- a/libs/judger.js +++ b/libs/judger.js @@ -158,6 +158,7 @@ async function connect() { } const result = msgPack.decode(payload); + console.log(result); winston.verbose('Received report for task ' + result.taskId); const judge_state = await JudgeState.findOne({ diff --git a/views/submission_contest.ejs b/views/submission_contest.ejs new file mode 100644 index 0000000..79fcf77 --- /dev/null +++ b/views/submission_contest.ejs @@ -0,0 +1,442 @@ +<% this.title = '提交记录 #' + info.submissionId %> +<% include util %> +<% include header %> + + + +
+ + + + + + + + + + + + + + + + + + + + +
编号题目状态分数总时间单项时间内存代码 / 答案文件提交者提交时间重新评测分享
+
<%= cid %>
+
<%= pid %>
+
<%= sid %>
+ + <% if (formattedCode !== null) { %> + + + + + <% } %> + + + + +
+ +
+
+ + + + +<% include submissions_item %> + + + + + +
+<% include footer %>