4 ms·
you only need to check for divisors up to sqrt(i) http://codepad.org/VMSqtLbS http://codepad.org/VMSqtLbS
by notaddicted 17y ago
you only need to check for divisors up to sqrt(i)
http://codepad.org/VMSqtLbS http://codepad.org/VMSqtLbS
- nirmal 17y agoArghh, you are right. I wonder if this will make any difference in my Project Euler problem solutions.