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
4ba5651e9d
euler
/
euler016.rb
2 lines
53 B
Ruby
Raw
Normal View
History
Unescape
Escape
initial commit
2014-04-25 23:59:14 +00:00
puts
(
2
**
1000
)
.
to_s
.
split
(
"
"
)
.
map
(
&
:to_i
)
.
inject
(
:+
)