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

I don't want to use doubles, can u help me? :)
Posted by AlMag 25 May 2008 12:05
I have WA#11 and read on previous topics that it must be something in "double", what shall i do?
Re: I don't want to use doubles, can u help me? :)
Posted by Olympic Bear (Nikolay Dubchuk) 30 May 2008 18:58
if you compare two doubles use
a - b > 0.000000001 instead of a > b
Re: I don't want to use doubles, can u help me? :)
Posted by AlMag 31 May 2008 14:54
The same resul :( I compare two doubles just once