diff options
Diffstat (limited to 'max')
-rwxr-xr-x | max | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#!/usr/bin/env ruby + +max = -1.0/0 +while line = STDIN.gets + v = line.strip.to_f + max = v if v > max +end +puts max + |
index : nlp_scripts | ||
Mirror of https://github.com/pks/nlp_scripts.git |
summaryrefslogtreecommitdiff |