ENG
RUS
Timus 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
Disintegrator
If you have WA 30+
[1] // Problem
2008. Swifty
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.
Vedernikoff 'Goryinyich' Sergey (HSE: АОП)
Re: If you have WA 30+
// Problem
2008. Swifty
22 Jul 2014 01:59
Better solution would be to do all calculation in integer types (e.g. long long) - thus you avoid precision issues.
© 2000–2026
Timus Online Judge Team
. All rights reserved.