diff options
| author | Mark <53903062+andemark@users.noreply.github.com> | 2022-02-07 13:24:46 +0000 |
|---|---|---|
| committer | Mark <53903062+andemark@users.noreply.github.com> | 2022-02-07 13:24:46 +0000 |
| commit | 2c3b322f0935a4435806cb0b1b408a5491f58307 (patch) | |
| tree | b8a0012aab6e32038de35c98dc81420a1ad78476 /challenge-151 | |
| parent | 0468084b856d79ab5dca03235eab017a4d1ebfc4 (diff) | |
| download | perlweeklychallenge-club-2c3b322f0935a4435806cb0b1b408a5491f58307.tar.gz perlweeklychallenge-club-2c3b322f0935a4435806cb0b1b408a5491f58307.tar.bz2 perlweeklychallenge-club-2c3b322f0935a4435806cb0b1b408a5491f58307.zip | |
initial 151
Diffstat (limited to 'challenge-151')
| -rw-r--r-- | challenge-151/mark-anderson/raku/ch-2.raku | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/challenge-151/mark-anderson/raku/ch-2.raku b/challenge-151/mark-anderson/raku/ch-2.raku index bb9002588d..2aaca7e450 100644 --- a/challenge-151/mark-anderson/raku/ch-2.raku +++ b/challenge-151/mark-anderson/raku/ch-2.raku @@ -17,11 +17,6 @@ multi rob(+@houses where .elems == 2) return max(@houses[0], @houses[1]); } -multi rob(+@houses where .elems == 3) -{ - return max(@houses[1], @houses[0] + @houses[2]); -} - multi rob(+@houses) { my $val1 = @houses[0]; |
