langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
3
Task/Executable-library/Perl-6/executable-library-3.pl6
Normal file
3
Task/Executable-library/Perl-6/executable-library-3.pl6
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
use Hailstone;
|
||||
my %score; %score{hailstone($_).elems}++ for 1 .. 100_000;
|
||||
say "Most common lengh is {.key}, occuring {.value} times." given max :by(*.value), %score;
|
||||
Loading…
Add table
Add a link
Reference in a new issue