Browse Source

Support interaction problems.

pull/6/head
t123yh 7 years ago
parent
commit
5d7897748b
  1. 6
      libs/judger.js

6
libs/judger.js

@ -13,6 +13,12 @@ module.exports.judge = async function (judge_state, problem, priority) {
break; break;
case 'interaction': case 'interaction':
type = enums.ProblemType.Interaction; type = enums.ProblemType.Interaction;
param = {
language: judge_state.language,
code: judge_state.code,
timeLimit: problem.time_limit,
memoryLimit: problem.memory_limit,
}
break; break;
default: default:
type = enums.ProblemType.Standard; type = enums.ProblemType.Standard;

Loading…
Cancel
Save