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
ul-wukong-4.1.1 bin/wu-plus
ul-wukong-4.1.0 bin/wu-plus
wukong-4.0.0 bin/wu-plus
wukong-3.0.1 bin/wu-plus
wukong-3.0.0 bin/wu-plus
wukong-3.0.0.pre3 bin/wu-plus
wukong-3.0.0.pre2 bin/wu-plus
wukong-3.0.0.pre bin/wu-plus
wukong-2.0.2 bin/wu-plus
wukong-2.0.1 bin/wu-plus
wukong-2.0.0 bin/wu-plus
wukong-1.5.4 bin/wu-plus
wukong-1.5.3 bin/wu-plus
wukong-1.5.2 bin/wu-plus
wukong-1.5.1 bin/wu-plus
wukong-1.5.0 bin/wu-plus
wukong-1.4.12 bin/wu-plus
wukong-1.4.11 bin/wu-plus
wukong-1.4.10 bin/wu-plus
wukong-1.4.9 bin/wu-plus