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 1020. Rope

No subject
Posted by Mihran Muradyan (Fizmat) 6 May 2009 17:33
I know the formula, but something is going wrong during the 3 test.
Re: No subject
Posted by Varun Sharma 13 May 2009 09:41
Hi,

Make sure you read the radius as a double / floating point number and not as an integer and use PI as Math.Acos(-1.0).