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 1223. Chernobyl’ Eagle on a Roof

return fabs(Temp-floor(Temp))<1e-3;
Posted by .Net, Java - any pcode sucks 1 May 2007 22:03
Can anybody explain, why
return fabs(Temp-floor(Temp))<1e-3;
causes WA on test 3

and
return Temp == floor(Temp);
got AC

????