| Title |
User |
Message |
Place |
Date Posted |
| question |
Bob |
so there's one penny per square unit of the circle??? |
ccc08s2 |
Dec 12, 2008 - 12:19:34 am UTC |
| Re: Re: Dumb floating-point inaccuracies |
bleung91 |
woudln't that be really annoying to do? |
ccc06s2p1 |
Dec 12, 2008 - 12:16:13 am UTC |
| Re: Re: Re: Re: related to math |
hansonw1 |
There is a sort of math formula. (It involves N choose K) It probably isn't easier than the 'regular' way. |
wc01Sp2 |
Dec 11, 2008 - 11:42:47 pm UTC |
| Re: Re: Re: related to math |
dAedaL |
-6* and I didn't use a math formula. Although it seems like there is one for some reason. |
wc01Sp2 |
Dec 11, 2008 - 11:24:43 pm UTC |
| Re: Re: related to math |
qinhaotian |
Good answer. No wonder you got -4 rating -.- |
wc01Sp2 |
Dec 11, 2008 - 11:16:25 pm UTC |
| related to math |
qinhaotian |
need to generate some math formula? |
wc01Sp2 |
Dec 11, 2008 - 4:07:06 am UTC |
| g++ Compile Errors |
hansonw1 |
Some tips about strange compile errors: Weird stuff about iterators, templates, etc: this means one of your variables is using the name of a function (like min, count, fill) These functions are includ... |
General |
Dec 11, 2008 - 3:37:35 am UTC |
| Re: Re: Re: Re: Compile Error |
bbi5291 |
It works on Visual C++ 6.0 because min is not defined there. |
coci082p3 |
Dec 11, 2008 - 3:25:50 am UTC |
| Re: 4th test case |
taimla101 |
took me ages to get it |
ccc06s2p1 |
Dec 11, 2008 - 3:23:56 am UTC |
| Re: Dumb floating-point inaccuracies |
hansonw1 |
Yes, this is why it's worth 10 points Floating point inaccuracies can be very tricky. One surefire way out, though, is to just use integers for everything. |
ccc06s2p1 |
Dec 11, 2008 - 3:22:20 am UTC |