Sha256: 8d7d6f1e6ab50fb242367c94545b8296e000061d309ee70b5e66537a2e60a4ee

Contents?: true

Size: 158 Bytes

Versions: 1

Compression:

Stored size: 158 Bytes

Contents

#!/usr/bin/env ruby

require 'c100bit-nmax'

n = ARGV.first.to_i
ARGV.clear

nmax = Nmax.new

while str = gets
  nmax.add_numbers_from(str)
end

p nmax.top(n)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
c100bit-nmax-0.2.2 bin/c100bit-nmax