diff options
| -rw-r--r-- | challenge-133/luca-ferrari/raku/ch-1.p6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-133/luca-ferrari/raku/ch-1.p6 b/challenge-133/luca-ferrari/raku/ch-1.p6 index 87d0da2be5..ef7c25b62c 100644 --- a/challenge-133/luca-ferrari/raku/ch-1.p6 +++ b/challenge-133/luca-ferrari/raku/ch-1.p6 @@ -11,7 +11,7 @@ sub MAIN( Int $limit where { $limit > 0 } = 5 ) { next if $start ~~ / ^0+ /; my $found = 0; $found += $current.comb.grep( $_ ).so ?? 1 !! 0 for @digits; - take $current if $found == @digits.elems; + take $current if $found >= @digits.elems; } } |
