ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1140. Swamp Incident

Easy problem
Posted by ValenKof 7 Aug 2011 19:46
Just try to replace x, y or z using equation y = x + z (vector form).
Count of cells on path is |x| + |y| + |z| + 1.
Re: Easy problem
Posted by springWaltz 20 Dec 2021 16:22
This is brilliant
ValenKof wrote 7 August 2011 19:46
Just try to replace x, y or z using equation y = x + z (vector form).
Count of cells on path is |x| + |y| + |z| + 1.