diff options
| author | Mark <53903062+andemark@users.noreply.github.com> | 2022-02-07 13:28:58 +0000 |
|---|---|---|
| committer | Mark <53903062+andemark@users.noreply.github.com> | 2022-02-07 13:28:58 +0000 |
| commit | 69c0b9d68d589493beb80934b7407b9fb004d1d6 (patch) | |
| tree | 7440ab0179b46d5036da2f027e1b961f824db041 | |
| parent | 2c3b322f0935a4435806cb0b1b408a5491f58307 (diff) | |
| download | perlweeklychallenge-club-69c0b9d68d589493beb80934b7407b9fb004d1d6.tar.gz perlweeklychallenge-club-69c0b9d68d589493beb80934b7407b9fb004d1d6.tar.bz2 perlweeklychallenge-club-69c0b9d68d589493beb80934b7407b9fb004d1d6.zip | |
initial 151
| -rw-r--r-- | challenge-151/mark-anderson/raku/ch-2.raku | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/challenge-151/mark-anderson/raku/ch-2.raku b/challenge-151/mark-anderson/raku/ch-2.raku index 2aaca7e450..b725a2b196 100644 --- a/challenge-151/mark-anderson/raku/ch-2.raku +++ b/challenge-151/mark-anderson/raku/ch-2.raku @@ -9,12 +9,12 @@ is rob(4, 2, 3, 6, 5, 3), 13; multi rob(+@houses where .elems == 1) { - return @houses[0]; + @houses[0]; } multi rob(+@houses where .elems == 2) { - return max(@houses[0], @houses[1]); + max(@houses[0], @houses[1]); } multi rob(+@houses) |
