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 1043. Cover an Arc

fmin() will be the last thing you want to use
Posted by tiancaihb 27 Nov 2009 19:01
Cause I'm lazy, I used fmin(double,double) and fmax in math.h directly. It went on well on my computer with MinGW. However, I always got WA1 here! At last, I tried to replace them with my own min function, that works! I don't know why, cause fmin and fmax are defined in ISO99 standard. But anyway I suggest all C/C++ users avoid using them.