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 1093. Darts

Problem 1093 "Darts" has been rejudged (+)
Posted by Sandro (USU) 14 Dec 2006 11:55
The old tests were quite weak. Thanks to anus(USU) for new tests.

Problem has been rejudged, 271 authors lost AC verdict.

Edited by author 14.12.2006 11:56
Re: Problem 1093 "Darts" has been rejudged (+)
Posted by SPIRiT 16 Dec 2006 15:39
Could you please tell  what kind of tests were added?
1. Can the dart now be moving in the same plane where the circle is situated? If so, should we consider the hit?
2. If the dart hits just the boundary - not the inner part, is it a hit or not?
3. What about the precision - for calculation of the equation roots? Is Real type enough in pascal. Or should I use double?
Re: Problem 1093 "Darts" has been rejudged (+)
Posted by Sandro (USU) 16 Dec 2006 16:26
Read the problem statement.

It is a hit if and only if the dart hits inner part of the board (both in the case of the same plane and another case).

Double type is enough for all calculations in this problem.
Correct solution should not have problems with precision.