diff --git a/libs/judger.js b/libs/judger.js index b220ccc..8ccb8aa 100644 --- a/libs/judger.js +++ b/libs/judger.js @@ -5,8 +5,6 @@ const enums = require('./enums'), const util = require('util'); module.exports.judge = async function (judge_state, problem, priority) { let type, param, extraFile = null; - console.log("JudgeState: " + util.inspect(judge_state)); - console.log("Problem: " + util.inspect(judge_state)); switch (problem.type) { case 'submit-answer': type = enums.ProblemType.AnswerSubmission; diff --git a/modules/contest.js b/modules/contest.js index 05ace4a..91536bc 100644 --- a/modules/contest.js +++ b/modules/contest.js @@ -506,7 +506,6 @@ app.get('/contest/:id/:pid/download/additional_file', async (req, res) => { if (!problem.additional_file) throw new ErrorMessage('无附加文件。'); - console.log(`additional_file_${id}_${pid}.zip`); res.download(problem.additional_file.getPath(), `additional_file_${id}_${pid}.zip`); } catch (e) { syzoj.log(e);