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 1588. Jamaica

who has wa4
Posted by CoolBoy 12 Apr 2008 20:31
4th test is:

3
0 0
9999 10000
9998 9999
Re: who has wa4
Posted by Dexter 6 Apr 2009 02:26
So double should be used instead of float...When I replaced float with double my code passed this test...
And, the answer should be 28283
Re: who has wa4
Posted by arrammis 12 May 2017 02:57
thats wroung answer for that test ! - you shouldn't add to the sum same distance twice !!  ans is 14141 !
Re: who has wa4
Posted by Dmitri Belous 5 Oct 2017 17:13
No! Right answer is 28283, because the points are not placing on one line.

Edited by author 05.10.2017 17:14

Edited by author 05.10.2017 17:14