Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
use ntheory qw/forperm/;
|
||||
for my $len (1..8) {
|
||||
my($pre, $post, $t) = ("","");
|
||||
forperm {
|
||||
$t = join "",@_;
|
||||
$post .= $t unless index($post ,$t) >= 0;
|
||||
$pre = $t . $pre unless index($pre, $t) >= 0;
|
||||
} $len;
|
||||
printf "%2d: %8d %8d\n", $len, length($pre), length($post);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue