Help for this page

Select Code to Download


  1. or download this
       for ( 0 .. 9999 ) {
            my $k = 0 x ( 4 - length $_ ) . $_;
    
  2. or download this
    sub analyze {
        my $number = shift;
    ...
        my $missing = 10000 - keys %seen;
        return ($length, $missing, $duplicates)
    }