Sunday, February 17, 2013

project euler problem 012

This is not a difficult problem. You may try a much more difficult one, problem 378.  After I solved 378, I feel my divisor function is too complicated. 

I rewrote the code, now it  has only 30 lines. It took 0.004 second (my debug version).

No comments:

Post a Comment