I started Codingame 2 Days ago and have no previous Codin-Experience except "The Morpheus Tutorials" from Youtube (Python/Bash) and a OpenHPI-Course for Java (all German, so sry for bad english^^).
I have a Problem with the number of possible turns for Thor to walk.
My Code worked for Test 1 and 2, but in the 3rd it failed, because Thor had only 15 turns to walk, what wasn't enough to reach the target. So i looked for the hints and changed the code to the one, which stands also in the solution (I didn't see differences, expect the comments where on different lines). But again just 15 turns to go.
Then I copied the solution and tested it.
This time, Thor had 32 turns to go. Has somebody an Idea, what wen't wrong with my solution?
The Solution and also my code didn't use the given codeline:
int remainingTurns = in.nextInt();
I had a quiet similar Problem (but maybe not the same).
I did in Java, and my Output was the x+y-coordinate. Out of my code, it results in "WS".
So i changed the output to y+x-coordinate. The new result was SW, which was the expected output.
Maybe you have a similar Problem.