fork download
  1. $min = 20;
  2. $max = -5;
  3. $a[$_] = int(rand(100))%$min-$max for 0..75;
  4. $min < $a[$_] ? $min = $a[$_] : $max = $a[$_] for 0..75;
  5.  
  6. print $max - $min;
Success #stdin #stdout 0s 3608KB
stdin
Standard input is empty
stdout
-19