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 1043. Cover an Arc

I got WA on test 9, please give me some sample data, I'm desperate
Posted by Dan Stefan 29 May 2004 00:45
I suspect rounding errors or something
Re: I got WA on test 9, please give me some sample data, I'm desperate
Posted by UNKNOWN_LAMER 31 Jan 2005 12:37
I have WA#9 too. The program seems to be right. Who can help me?
I think ... (+)
Posted by Victor Barinov (TNU) 31 Jan 2005 18:17
I think, that your calculations not so are exact, as that is demanded with a problem. Try to not use intermediate values (for example radius etc.).
Re:
Posted by Gheorghe Stefan 31 Jan 2005 18:27
you have all tests on timustests.4t.com
Re:
Posted by UNKNOWN_LAMER 31 Jan 2005 22:22
Thank you very much. You were right about my bug. I have just change in my C++ code
     ceil(x) to ceil(x-eps) and
     floor(x) to floor(x+eps)
and got AC!
Re: Hey, UNKNOWN_LAMER! Do I know you from somewhere?
Posted by Jiang Xu 17 Jul 2005 02:52
Hey, UNKNOWN_LAMER! Do I know you from somewhere?
Re:
Posted by estefy 11 Feb 2018 04:01
je

Edited by author 11.02.2018 04:58