|
|
Show all threads Hide all threads Show all messages Hide all messages | Interesting :-) | ftc | 1632. Lasers | 8 Jan 2013 02:47 | 3 | Nice to see, but "higher" relation is not transitive ;-) It is very easy problem, but why only 54 people solved?! This problem has simple solution and very interesting, but not obvious idea... | Give me please any hints how to output the answer "with the maximal possible accuracy". | Al.Cash | 1632. Lasers | 9 Feb 2009 04:01 | 6 | Just many digits after decimal point. But here 8 digits gave me AC, but you may output, for example, 12-14. Edited by author 08.02.2009 16:51 Do you store the answer in double? Yes, tests for this problem are weak, so double is more than enough Thank you for information! I had WA on the contest, but now I'll try to solve this problem more accurate. Yes, during the contest I also thought the problem was in tricky tests. But after fixing minor bugs program got AC immediately... |
|
|
|