kyuridenamida/atcoder-tools

Test Validation Input Output not working properly

Closed this issue · 2 comments

The test validation of expected output and received output isn't working properly. Though both of the values are same, still "WA" is being shown.

Figure shown for reference :-
atcoder

Kindly check and let me know what's the error from my side, if any.

Thanks for reporting the problem and sorry for this late answer.

I suspect the problem is caused by the difference in whether there is a newline (\n) at the end of the line. The test command currently strictly checks the trailing newline.

However, I agree it's a little bit unfriendly and maybe we can show a more descriptive error code instead of WA, something like WA_MISSING_NEWLINE.

I tentatively close this issue because I assume there is no more conversation just because 2 months have passed. Please feel free to re-open when you still have some thoughts on this.