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 1331. Vladislava

AC, but... "How soon is now?" How small is R? :) (+)
Posted by Dmitry 'Diman_YES' Kovalioff 8 Apr 2007 20:41
Give me limitations for R, wi, li, Wi and Li. I do not know how small they are. So if R = 0.00000000000000001, this test is relly "tricky", I understand. Mischief managed :)

P.S. To get AC after rejudge you should avoid floating point division in your program. Just simplify your formula.
Re: AC, but... "How soon is now?" How small is R? :) (+)
Posted by Samsonov Alex [USU] 8 Apr 2007 23:44
No, I use more than one floating point division and square roots in my program and I managed to get AC. My only bug was with the test, where points lie in the opposite to each other.
Re: AC, but... "How soon is now?" How small is R? :) (+)
Posted by [SPbSU ITMO] WiNGeR 9 Apr 2007 04:23
There are no "bad" and "unpity" tests in this problem. And simple solution with floats can be AC'ed just after a bit of thinking ;)

Edited by author 09.04.2007 04:47