https://www.codingame.com/training/medium/fishing-with-a-stick
Send your feedback or ask for help here!
Created by @mr.x,validated by @selenae,@Fireball0923 and @java_coffee_cup.
If you have any issues, feel free to ping them.
https://www.codingame.com/training/medium/fishing-with-a-stick
Send your feedback or ask for help here!
Created by @mr.x,validated by @selenae,@Fireball0923 and @java_coffee_cup.
If you have any issues, feel free to ping them.
Please help me with validator 6. My code returns 1 fish, but correct solution is 2 fishes. What could be wrong ?
It’s very similar to test 6, the stick is in front of 2 fishes, one left one right, the rest is noise.
Thanks, solved. Some ugly garbage destroyed my rod before fish on the opposite side (same line, same distance) was caught :-]
Help for validator 1 and 6, please.
Doubt #1: (direction = LEFT)
.>|#.
1 or 0?
Doubt #2: (direction = RIGHT)
.#|<.
1 or 0?
Doubt #3: (direction = RIGHT)
.>|.
.#|.
1 or 0?
Doubut #4: (direction = RIGHT)
.#|.
.>|.