[Community Puzzle] Snake

Thanks a lot,
in fact you were right
My code output " \n" instead of ā€œ15 10\nā€
And the space followed by new line \n trigger this error.

Add a trim like this would remove the error I hope. But it was clearly user mistake (mine). :sweat_smile:
String ans = outputs.get(0).trim();
:smiley:

Thanks a lot for details of score by the way, combo mechanism and points remover are exactly what I needed to understand, I can now safely plunge in A* best path thanks to you!