Skip to content

Commit

Permalink
p010 - solved
Browse files Browse the repository at this point in the history
  • Loading branch information
pithyless committed Jan 19, 2011
1 parent 9a1ea44 commit f61397a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions p010.rb
@@ -0,0 +1,8 @@
require 'prime'

sum = 0
Prime.each(2_000_000) do |p|
sum += p
end

p sum

0 comments on commit f61397a

Please sign in to comment.