This website requires JavaScript.
Explore
Help
Sign In
cosmonaut
/
euler
Watch
1
Star
0
Fork
You've already forked euler
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
eb21d847e1
euler
/
crystal
/
euler001.cr
2 lines
62 B
Crystal
Raw
Normal View
History
Unescape
Escape
things
2018-02-21 21:00:08 +00:00
puts
(
1
..
999
)
.
select
{
|
n
|
(
n
%
3
==
0
)
||
(
n
%
5
==
0
)
}
.
sum