[Haskell-cafe] Looking for suggestions to improve my algorithm

Chaddaï Fouché chaddai.fouche at gmail.com
Thu Aug 30 11:33:11 EDT 2007


2007/8/30, Chaddaï Fouché <chaddai.fouche at gmail.com>:
> I managed it in 7 seconds (on 1500 MHz) with an idea close to yours
> (but I used IntSet, not IntMap), Daniel Fisher gave you some good
> ideas to achieve it, the real snail in this problem is the sumDivisors
> function.
>
I put my final solution on the wiki, it get it done in 6s now (on a
Pentium M 1.73Mhz).

-- 
Jedaï


More information about the Haskell-Cafe mailing list