Thanks, but ...

... either the author is using the term "Manhattan distance" wrongly or his solution is far from optimal.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery


In reply to Re^2: Challenge: Ricochet Robots by LanX
in thread Challenge: Ricochet Robots by LanX

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":