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 1340. Cucaracha

Accepted from the first attempt!
Posted by Korduban [Kiev] 21 May 2005 22:12
What an amusing problem! Now it seems to be easy - in contrast to prima facie :^) Special thanks to Vorokh Sergey and Mamonov Anton, who proved correctness of my solution.

And some test data

input #1:
0 0 90 5
5 4.9
output #1:
28.2176

input #2:
0 0 90 5
0 -0.000001
output #2:
31.4159
Re: Accepted from the first attempt!
Posted by wtw 3 Dec 2015 13:14
Can you explain the answer to the input#1?