Op deze pagina komen binnenkort oplossingen voor een aantal Euler problemen.
De oplossingen worden gegeven in C#. Het accent ligt op performance. Getracht is dit met minimale code inspanning te bereiken.
Mocht je suggesties hebben laat dan een berichtje achter.
Met vriendelijk groet,
Rudy Meijer
In deze blog worden een aantal oplossingen gegeven voor de problemen uit het Euler project (zie aankondiging januari). De oplossingen zijn geschreven in C# waarbij het accent ligt op performance maar soms wordt LINQ gebruikt voor een elegant alternatief. De volledige source code is te vinden op mijn website http://rudy.meijer.nl.ae De antwoorden zijn onderaan deze pagina verborgen. (selecteer regel: Problemxx = 872187 elapsed time: 3 ms. Test Passed.
dinsdag 18 januari 2011
maandag 17 januari 2011
The Main program
This Main program will execute automatic each Euler problem that is added to the Euler project solution.
It instanciate the problem class and start execution bij calling the problem Execute() methode.
It performs a automated UnitTest and measures the execution time in ms.
The full source can be found on http://rudy.meijer.nl.ae
Problem00 contains a reference loop to compare measurement on slower/faster computers.
The next picture show some results so far.
It instanciate the problem class and start execution bij calling the problem Execute() methode.
It performs a automated UnitTest and measures the execution time in ms.
The full source can be found on http://rudy.meijer.nl.ae
Problem00 contains a reference loop to compare measurement on slower/faster computers.
The next picture show some results so far.
Abonneren op:
Posts (Atom)