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
/
euler006.cr
2 lines
56 B
Crystal
Raw
Normal View
History
Unescape
Escape
more solutions in crystal
2018-02-23 04:53:01 +00:00
puts
(
1
..
100
)
.
sum
**
2
-
(
1
..
100
)
.
map
{
|
n
|
n
*
n
}
.
sum