Skip to content

Instantly share code, notes, and snippets.

@daiksy
Created November 13, 2012 12:08
Show Gist options
  • Save daiksy/4065435 to your computer and use it in GitHub Desktop.
Save daiksy/4065435 to your computer and use it in GitHub Desktop.
Project Euler Problem 1
/**
* http://projecteuler.net/problem=1
* http://odz.sakura.ne.jp/projecteuler/index.php?cmd=read&page=Problem%201
*/
(1 to 999) filter(i => i % 3 == 0 || i % 5 == 0) sum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment