Help for this page

Select Code to Download


  1. or download this
    #! perl -slw
    use strict;
    ...
            $x[ $d ] = $c[ $d ]
        }1..1e5
    }
    
  2. or download this
    -e"sub r{int rand(pop||10)};@c=map{r}1..($n=pop);for$d(0..$n-1){map{$x
    +[$d+r($n-$d)]=r,print qq[@x\r]}1..1e5;$x[$d]=$c[$d]}"
    
    ...
    -l15e"for$d(0..($n=pop)-1){$x[$d+rand($n-$d)]=rand(10)&15,print@x,for+
    +1..1e5}"
    
    -l15e"for$d(0..($n=pop)-1){$x[$d+rand$n-$d]=rand(10)&15,print@x,for+1.
    +.1e5}"