projects
/
project-euler.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Done puzzle 64
[project-euler.git]
/
euler16.rb
1
if
__FILE__
==
$0
2
p
(
2
**
1000
).
to_s
.
scan
(
/./
).
map
{|
d
|
d
.
to_i
}.
reduce
(:+)
3
end