|
|
@ -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; |
|
|
|