Skip to main content
1 of 5
daniero
  • 18.7k
  • 5
  • 51
  • 78

Ruby 58

(a=gets.scan(/[A-z0-9]+/)).uniq{|w|puts w+":#{a.count w}"}
daniero
  • 18.7k
  • 5
  • 51
  • 78