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 1258. Pool

Yuanming YU, Frank AC.some hint: [2] // Problem 1258. Pool 12 Feb 2005 13:16
think the four edges as four mirror...... :)
ibra (TNU) Re: AC.some hint: [1] // Problem 1258. Pool 30 Jun 2009 17:39
really good hint)
thanx
Gilles Deleuze Re: AC.some hint: // Problem 1258. Pool 21 Jul 2018 14:38
Just compute total chanhe in X and Y and then output hypotenuse. It can be shown pretty intuitively by reflecting triangles, thanks for the hint.