I signed up at Project Euler today in order to give myself some brain teasers.
I set up a Mercurial account at Google Code, and solved the first, very basic, problem tonight.
It was good fun, and now that I have the Visual Studio solution set up, I hope to solve more of these in my spare time.
Spoiler alert!
The C# implementation can be found here: http://code.google.com/p/project-euler-csharp/source/browse/ProjectEuler/Problem001_Find_the_sum_of_all_the_multiples_of_3_or_5_below_1000.cs
And the tests can be found here: http://code.google.com/p/project-euler-csharp/source/browse/ProjectEulerTests/Problem001_Find_the_sum_of_all_the_multiples_of_3_or_5_below_1000_Tests.cs
2011-05-02
Subscribe to:
Posts (Atom)