OpenJudgeSystem icon indicating copy to clipboard operation
OpenJudgeSystem copied to clipboard

NodeJsPreprocessExecuteAndCheckExecutionStrategy has issues with `%%` on the output

Open cuklev opened this issue 8 years ago • 1 comments

Lets say I submit console.log('%%');. Somehow this turns to a single % when my output is compared to the expected output leading to incorrect answers, which are actually correct.

The only thing I can think of that behaves like this is a Windows Batch file. That would mean that the output of the node process is interpreted as batch. Very illogical.

cuklev avatar Jun 23 '16 14:06 cuklev

The code is here. Open a pull request and fix it in a more "logical" manner. :+1:

ivaylokenov avatar Jun 24 '16 07:06 ivaylokenov