Hint: do you know how the knight moves in chess? ;-)
Smaller grids can be brute forced.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
In reply to Re: Google Code Jam 2019 Round 1A Problem 1: Pylons
by LanX
in thread Google Code Jam 2019 Round 1A Problem 1: Pylons
by choroba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |