← Back to List

8595번: 히든 넘버 ↗

Solutions

Ruby
48 B | 48 chars
gets
p gets.scan(/\d+/).map(&:to_i).reduce(0,:+)