Skip to content

Commit d997e40

Browse files
committed
Fix a regression in latest rakudobrews.
Thanks to moritz from #perl6 on freenode for the analysis.
1 parent 7556b6d commit d997e40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

categories/euler/prob288-shlomif.p6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ sub MAIN(:$verbose = False) {
6666
return factorial_factor_exp($n, ($BASE)) % (($BASE) ** $N_LIM);
6767
}
6868

69-
say "Solution == ", +([+] (
69+
say "Solution == ", +([+] flat(
7070
(map { f(($BASE) ** $_) * @t_n[$_] }, 1 .. @t_n-1),
7171
$sum * f(($BASE) ** $N_LIM)
7272
)) % (($BASE) ** $N_LIM);

0 commit comments

Comments
 (0)