aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark <53903062+andemark@users.noreply.github.com>2023-05-22 21:28:56 +0000
committerMark <53903062+andemark@users.noreply.github.com>2023-05-22 21:28:56 +0000
commit03cdd30f2ebc4d18d17226369d2f8745ce79f1b1 (patch)
tree8a10c7195586e7e9b7b3a9337ee78fc318725513
parent4320a79dd8e1f84420e56f7bde7e34722598ccb0 (diff)
downloadperlweeklychallenge-club-03cdd30f2ebc4d18d17226369d2f8745ce79f1b1.tar.gz
perlweeklychallenge-club-03cdd30f2ebc4d18d17226369d2f8745ce79f1b1.tar.bz2
perlweeklychallenge-club-03cdd30f2ebc4d18d17226369d2f8745ce79f1b1.zip
Challenge 218 Solutions (Raku)
-rw-r--r--challenge-218/mark-anderson/raku/ch-2.raku8
1 files changed, 4 insertions, 4 deletions
diff --git a/challenge-218/mark-anderson/raku/ch-2.raku b/challenge-218/mark-anderson/raku/ch-2.raku
index 3ddbaeed95..be35ccef75 100644
--- a/challenge-218/mark-anderson/raku/ch-2.raku
+++ b/challenge-218/mark-anderson/raku/ch-2.raku
@@ -3,9 +3,9 @@ use Test;
is matrix-score([0,0,1,1],
[1,0,1,0],
- [1,1,0,0]), 39;
+ [1,1,0,0]), 39;
-is matrix-score([0]), 1;
+is matrix-score([0]), 1;
is matrix-score([1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],
@@ -25,7 +25,7 @@ is matrix-score([1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],
[0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0],
[0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0],
[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0],
- [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]), 2246857;
+ [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]), 2246857;
is matrix-score([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],
@@ -45,7 +45,7 @@ is matrix-score([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1],
[1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1],
[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],
- [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]), 2246857;
+ [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]), 2246857;
is matrix-score([1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
[1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],