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
b2e1e06499
euler
/
ruby
/
euler016.rb
6 lines
80 B
Ruby
Raw
Blame
History
require_relative
'euler'
def
solution
(
2
**
1000
)
.
to_digit_list
.
inject
(
:+
)
end
Reference in New Issue
View Git Blame
Copy Permalink