We can use Pythagorean triplet to move from one coordinate to another. For grid greater than or equal 12x12 answer is always yes. And other cases we will find pattern.


48% Solution Ratio
Lazy_ProgrammerEarliest, 10M ago
Samee_SevasFastest, 0.0s
Kuddus.6068Lightest, 4.9 MB
Fellow_juniorShortest, 370B
Toph uses cookies. By continuing you agree to our Cookie Policy.