From a97cf21f8fb713335aee0c9ad3046932d1564057 Mon Sep 17 00:00:00 2001 From: Packy Anderson Date: Fri, 10 Nov 2023 00:30:34 -0500 Subject: Challenge 242 - Packy Anderson Quick amendment to README --- challenge-242/packy-anderson/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/challenge-242/packy-anderson/README.md b/challenge-242/packy-anderson/README.md index 5ade739739..1789b5db95 100644 --- a/challenge-242/packy-anderson/README.md +++ b/challenge-242/packy-anderson/README.md @@ -64,7 +64,14 @@ Output: ([3]) Sample output ``` +$ perl/ch-2.pl +Example 1: +Input: @matrix = ([1, 1, 0], [1, 0, 1], [0, 0, 0]) +Output: ([1, 0, 0], [0, 1, 0], [1, 1, 1]) +Example 2: +Input: @matrix = ([1, 1, 0, 0], [1, 0, 0, 1], [0, 1, 1, 1], [1, 0, 1, 0]) +Output: ([1, 1, 0, 0], [0, 1, 1, 0], [0, 0, 0, 1], [1, 0, 1, 0]) ``` ## Guest Language: Python -- cgit