summaryrefslogtreecommitdiff
path: root/num_tok
blob: 7cc500c2b2b96a3d0746b713c6c9774d17c1709e (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env ruby1.9.1

STDIN.set_encoding('utf-8')

while line = STDIN.gets
  puts line.split.length
end