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 2008. Swifty

If you have WA 30+
Posted by Disintegrator 20 Jul 2014 04:20
Try different epsilons. I got AC with solution that had WA 30,32,34 before that. And all that i changed was epsilon.
Re: If you have WA 30+
Better solution would be to do all calculation in integer types (e.g. long long) - thus you avoid precision issues.