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

CoolBoy who has wa4 [3] // Problem 1588. Jamaica 12 Apr 2008 20:31
4th test is:

3
0 0
9999 10000
9998 9999
Dexter Re: who has wa4 [2] // Problem 1588. Jamaica 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
arrammis Re: who has wa4 [1] // Problem 1588. Jamaica 12 May 2017 02:57
thats wroung answer for that test ! - you shouldn't add to the sum same distance twice !!  ans is 14141 !
Dmitri Belous Re: who has wa4 // Problem 1588. Jamaica 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