I have solved problem 10 of Project Euler. I created a google code hosted project here where you can check out the solutions to the problems I have solved. In particular the solution to problem 10 is here
Archive for December, 2008
Solution Problem 9 Project Euler
12.22
Solution Problem 8 Project Euler
12.21
Solution Problem 7 Project Euler
12.10
Solution Problem 6 Project Euler
12.08
I have solved problem 6 of Project Euler. I created a google code hosted project here where you can check out the solutions to the problems I have solved. In particular the solution to problem 6 is here
The solution only has the optimization of finding the sum of the nth number through the formula
sum(n) = n * ( n + 1) / 2
Hope the solution is understandable. If not, don’t hesitate to put a comment.
Solution Problem 5 Project Euler
12.05
I have solved problem 5 of Project Euler. I created a google code hosted project here where you can check out the solutions to the problems I have solved. In particular the solution to problem 5 is here
A brute force approach to solving this problem. The solution has a minor optimization which is to increase the outer loop by 20 (the “limit” variable) in each iteration.
Hope the solution is understandable. If not, don’t hesitate to put a comment.