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 1492. Vasya's Dad 2

Hint
Posted by hoan 15 Jan 2011 18:12
Use eps= 1e-9.first i don't use eps and get WA#3.
this test help me:
input:
3
-15000 0
-14999 0
15000 1

output:
Yes
-15000.0000 0.5000
-14999.0000 0.5000
14999.0000 0.5000
15000.0000 0.5000
-15000.0000 -0.5000
-14999.0000 -0.5000
14999.0000 0.5000
15000.0000 0.5000

thank's to AlexF[USTU] about this note.
hope can help you.