Created
November 13, 2011 20:34
-
-
Save hyfather/1362639 to your computer and use it in GitHub Desktop.
My solution to problem #1 on projecteuler.net
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p [1..999].select{|e| e%3 == 0 || e%5 == 0}.inject(:+) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment