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 1602. Elevator

Why not double?
Posted by Tural Neymanov 8 Jul 2008 14:43
It's interesting that a lot of people here said that we shoudn't use double so I was doing so, and was getting WA#7. I wanted to do a kinda experiment and used double without any hope. however i got AC.
Re: Why not double?
Posted by EugeneE 17 Dec 2008 22:32
I agree, double is all right in case you use comparison like (a+1e-9 < b).