Validation case 3 has extra unspecified input garbage in the end. (well, it happens to be the expected answer, but let’s discount that for a minute)
Could someone with edit rights please remove it?
Validation case 3 has extra unspecified input garbage in the end. (well, it happens to be the expected answer, but let’s discount that for a minute)
Could someone with edit rights please remove it?
I do not see anything wrong with this validator, can you please send your code to coders@codingame.com ?
Agreed. The input for Validator 3 had an extra line. I have deleted it, and re-tested. All tests pass. Thanks, JBM.