- or download this
my $prod = Math::BigInt->new( 1 );
$prod->bmul( $_ ) for split m{}, $nVal->bstr();
- or download this
my $prod = Math::BigInt->new( 1 );
my %digits;
...
? Math::BigInt->new( $_ )->bpow( $digits{ $_ } )
: $_
} keys %digits;
- or download this
use 5.018;
use warnings;
...
$maxSteps = $actualSteps;
}
}
- or download this
Generating 2-digit values ... found 45, took 0.000142s
Trying 2-digit values, at elapsed time 0.000142s
...
Total elapsed time 11.593337s
- or download this
Generating 26-digit values ... found 18156204, took 4m 56.352544s
Trying 26-digit values, at elapsed time 4m 56.352544s
...
Total elapsed time 8h 55m 47.367434s