September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
1
Task/Executable-library/00META.yaml
Normal file
1
Task/Executable-library/00META.yaml
Normal file
|
|
@ -0,0 +1 @@
|
|||
--- {}
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
use Hailstone;
|
||||
my %score; %score{hailstone($_).elems}++ for 1 .. 100_000;
|
||||
my %score;
|
||||
(1 .. 100_000).race.map: { %score{hailstone($_).elems}++ };
|
||||
say "Most common length is {.key}, occurring {.value} times." given max :by(*.value), %score;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue