No description, website, or topics provided.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
README.md
Rakefile

README.md

Project Euler

This project is a collection of my Project Euler solutions in Ruby.

Rake Tasks

Run all the specs, which checks the answer for every problem:

$ rake spec

Solve a particular problem:

$ rake solve p=1

Problem 1 Solution: 233168 (0.000309 seconds)

Benchmark a particular solution (100 iterations):

$ rake bm p=1

                user     system      total        real
Problem 1:  0.030000   0.000000   0.030000 (  0.023449)

Project Euler