Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

4 lines (2 sloc) 0.117 kb
LIMIT = (ARGV[0] || 100).to_i
puts (1..LIMIT).inject(:*).to_s.chars.inject(0) { |sum, element| sum + element.to_i }
Jump to Line
Something went wrong with that request. Please try again.