diff options
Diffstat (limited to 'challenge-051')
| -rw-r--r-- | challenge-051/simon-proctor/raku/ch-1.p6~ | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/challenge-051/simon-proctor/raku/ch-1.p6~ b/challenge-051/simon-proctor/raku/ch-1.p6~ deleted file mode 100644 index b8f308934d..0000000000 --- a/challenge-051/simon-proctor/raku/ch-1.p6~ +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env perl6 - -use v6; - -#| Given a target number and a list of integers, print out all the triplets of numbers that add up to the target -sub MAIN ( - Int $target #= Target number - *@values where { @values.elems >= 3 && @values.all ~~ Int } #= 3 or more integers numbers to check -) { - .say for @values.combinations(3).grep( *+*+* == $target ).map( .join(",") )' -} |
