Help for this page

Select Code to Download


  1. or download this
    
    time perl -wle '
    ...
    while () { push @x, $a; $a++ and $c++; last if $c == $e } 
    print scalar @x' 4
    
  2. or download this
    
    time perl -MAlgorithm::Combinatorics=:all -wle '
    ...
    push @x, $x; undef $x } 
    print scalar @x' 4