Sha256: 0bd91fdf452b391d17b16393b0501448922b6e82b526fc9e39c807fbc32cf9fc
Contents?: true
Size: 128 Bytes
Versions: 25
Compression:
Stored size: 128 Bytes
Contents
#!/usr/bin/env ruby sum = 0.0 lines = 0 $stdin.each do |n| sum += n.to_f lines += 1 end puts "%15d\t%15d"%[sum, lines]
Version data entries
25 entries across 25 versions & 2 rubygems
Version | Path |
---|---|
wukong-1.4.7 | bin/wu-plus |
wukong-1.4.6 | bin/wu-plus |
wukong-1.4.5 | bin/wu-plus |
wukong-1.4.2 | bin/wu-plus |
wukong-1.4.1 | bin/wu-plus |