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 1062. Triathlon

WA on test #24. I hope it's not because of precision. Could anyone give me the test? Either here or by mail, thx
Posted by Maigo Akisame (maigoakisame@yahoo.com.cn) 11 Dec 2005 15:19


Edited by author 11.12.2005 15:21
Re: WA on test #24. I hope it's not because of precision. Could anyone give me the test? Either here or by mail, thx
Posted by Victor Barinov (TNU) 11 Dec 2005 20:02
64
9998 10000 9999
9999 9999 9998
10000 9997 9997
9997 9998 9999
9998 9997 9997
9998 10000 10000
9997 9997 9998
9998 9999 9999
10000 9999 9999
9998 10000 9998
9997 9998 9998
9998 9998 9999
9997 10000 9999
10000 9999 9997
10000 9998 9998
9998 9999 9998
9999 10000 9997
10000 10000 10000
9999 9997 9997
9997 9999 9997
9997 9999 10000
9999 9998 10000
10000 9998 9997
9999 9998 9998
9997 10000 9997
9997 9997 9997
9999 9999 9999
9998 9997 9999
10000 9997 9999
9999 9997 10000
9997 9999 9998
10000 9998 10000
9999 9998 9997
9997 9997 9999
9997 9998 9997
9997 10000 9998
9999 9997 9999
9997 9998 10000
9998 9997 9998
9998 9998 10000
10000 9999 9998
9997 9997 10000
9998 9998 9997
9998 9999 10000
9999 9997 9998
9997 10000 10000
9998 10000 9997
9999 10000 9999
9998 9997 10000
10000 9997 9998
10000 10000 9998
9998 9998 9998
10000 10000 9997
9999 9998 9999
10000 9999 10000
9999 9999 9997
9999 9999 10000
10000 9998 9999
9999 10000 9998
9998 9999 9997
9999 10000 10000
10000 9997 10000
9997 9999 9999
10000 10000 9999

Answer is:

No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
Yes
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
Re: WA on test #24. I hope it's not because of precision. Could anyone give me the test? Either here or by mail, thx
Posted by Maigo Akisame (maigoakisame@yahoo.com.cn) 12 Dec 2005 03:55
Thx I've got AC. It's not precision although it looks like so.

Nevertheless I still would like to remind programmers of this program to watch out for precision. I recommend 9e9 for infinity and 1e-12 for epsilon.
Re: WA on test #24. I hope it's not because of precision. Could anyone give me the test? Either here or by mail, thx
Posted by Chmel_Tolstiy 19 Jul 2008 02:18
Great test. Thanks.
Re: WA on test #24. I hope it's not because of precision. Could anyone give me the test? Either here or by mail, thx
Posted by Aleksa_Markoni 17 Nov 2008 05:34
Excuse me how did you get that test, I mean where did you get it. There is so many test that i'd wish to know, so please if there is a way please be so kind tell me. Here is my email aleksamarkoni@gmial.com You would be my friend for life if you do so. :) Thanks in advance.