Leser: 20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#!/usr/bin/perl -l use strict; use warnings; use bigint; print 2**100; my ($x, $y) = (2,100); print $x**$y; print &pot(2,100); for my $i (2..2) { for my $j (100..100) { print $i**$j; } } ########################## sub pot { return $_[0]**$_[1]; }
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/usr/bin/perl -l use strict; use warnings; use bigint; my ($i, $j) = (2,100); while ($i <= 2) { while ($j <=100) { print $i**$j; $j++; } $i++; }