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 1332. Genie Bomber

Funny precision trouble and WA14
Posted by Anatoly 11 Mar 2012 13:48
Hi there,
I had WA14 until replace just one parenthesis:

sqr(...) + sqr(...) < sqr(...) + eps // WA
sqr(...) + sqr(...) < sqr(... + eps) // AC

I didn't think about such small things like this before.
P.S. argument of 3rd sqr is positive

Edited by author 11.03.2012 13:57