diff options
| author | Mohammad Sajid Anwar <mohammad.anwar@yahoo.com> | 2025-08-11 00:39:43 +0100 |
|---|---|---|
| committer | Mohammad Sajid Anwar <mohammad.anwar@yahoo.com> | 2025-08-11 00:39:43 +0100 |
| commit | 7fbf2940bdf3e382ee2b75811a0c3ca90876f2a3 (patch) | |
| tree | 9fa9f4e1e56dc2357ec3aced068d8fd7d99ba2a0 | |
| parent | 4852c4e9f6e224a03e6c33fec4e38997394dca8b (diff) | |
| download | perlweeklychallenge-club-7fbf2940bdf3e382ee2b75811a0c3ca90876f2a3.tar.gz perlweeklychallenge-club-7fbf2940bdf3e382ee2b75811a0c3ca90876f2a3.tar.bz2 perlweeklychallenge-club-7fbf2940bdf3e382ee2b75811a0c3ca90876f2a3.zip | |
- Added solutions by Humberto Massa.
28 files changed, 68 insertions, 34 deletions
diff --git a/challenge-332/massa/raku/ch-1.raku b/challenge-332/massa/raku/ch-1.raku new file mode 100644 index 0000000000..3427028565 --- /dev/null +++ b/challenge-332/massa/raku/ch-1.raku @@ -0,0 +1 @@ +S:g/\d+/{$/.Str.Int.base(2)}/ diff --git a/challenge-332/massa/raku/ch-2.raku b/challenge-332/massa/raku/ch-2.raku new file mode 100644 index 0000000000..5e55af9081 --- /dev/null +++ b/challenge-332/massa/raku/ch-2.raku @@ -0,0 +1 @@ +.comb.Bag.values».&{ $_ %% 2 }.none.so diff --git a/challenge-333/massa/raku/ch-1.raku b/challenge-333/massa/raku/ch-1.raku new file mode 100644 index 0000000000..6eef294918 --- /dev/null +++ b/challenge-333/massa/raku/ch-1.raku @@ -0,0 +1 @@ +(.[1][0]-.[0][0])*(.[2][1]-.[1][1]) == (.[2][0]-.[1][0])*(.[1][1]-.[0][1]) diff --git a/challenge-333/massa/raku/ch-2.raku b/challenge-333/massa/raku/ch-2.raku new file mode 100644 index 0000000000..0652309576 --- /dev/null +++ b/challenge-333/massa/raku/ch-2.raku @@ -0,0 +1 @@ +.map({ $_ ?? $_ !! slip $_, $_ })[^.elems] diff --git a/stats/pwc-challenge-332.json b/stats/pwc-challenge-332.json index 193ddd7dd6..3903b86546 100644 --- a/stats/pwc-challenge-332.json +++ b/stats/pwc-challenge-332.json @@ -123,6 +123,16 @@ { "data" : [ [ + "Raku", + 2 + ] + ], + "id" : "Humberto Massa", + "name" : "Humberto Massa" + }, + { + "data" : [ + [ "Perl", 2 ], @@ -483,6 +493,11 @@ "y" : 2 }, { + "drilldown" : "Humberto Massa", + "name" : "Humberto Massa", + "y" : 2 + }, + { "drilldown" : "Jaldhar H. Vyas", "name" : "Jaldhar H. Vyas", "y" : 5 @@ -602,7 +617,7 @@ } ], "subtitle" : { - "text" : "[Champions: 33] Last updated at 2025-08-10 23:29:37 GMT" + "text" : "[Champions: 34] Last updated at 2025-08-10 23:39:12 GMT" }, "title" : { "text" : "The Weekly Challenge - 332" diff --git a/stats/pwc-current.json b/stats/pwc-current.json index f1c44f9e9f..bcffd4531d 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -137,6 +137,16 @@ { "data" : [ [ + "Raku", + 2 + ] + ], + "id" : "Humberto Massa", + "name" : "Humberto Massa" + }, + { + "data" : [ + [ "Perl", 2 ], @@ -498,6 +508,11 @@ "y" : 2 }, { + "drilldown" : "Humberto Massa", + "name" : "Humberto Massa", + "y" : 2 + }, + { "drilldown" : "Jaldhar H. Vyas", "name" : "Jaldhar H. Vyas", "y" : 5 @@ -617,7 +632,7 @@ } ], "subtitle" : { - "text" : "[Champions: 34] Last updated at 2025-08-10 23:29:44 GMT" + "text" : "[Champions: 35] Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge - 333" diff --git a/stats/pwc-language-breakdown-2019.json b/stats/pwc-language-breakdown-2019.json index 2a05adb456..0ac1cc1c4d 100644 --- a/stats/pwc-language-breakdown-2019.json +++ b/stats/pwc-language-breakdown-2019.json @@ -970,7 +970,7 @@ } ], "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2025-08-10 23:29:44 GMT" + "text" : "Click the columns to drilldown the language breakdown. Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge Language" diff --git a/stats/pwc-language-breakdown-2020.json b/stats/pwc-language-breakdown-2020.json index 74290063c6..2307c60bf5 100644 --- a/stats/pwc-language-breakdown-2020.json +++ b/stats/pwc-language-breakdown-2020.json @@ -1223,7 +1223,7 @@ } ], "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2025-08-10 23:29:44 GMT" + "text" : "Click the columns to drilldown the language breakdown. Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge Language" diff --git a/stats/pwc-language-breakdown-2021.json b/stats/pwc-language-breakdown-2021.json index 43bf780ce6..4e515dc2ac 100644 --- a/stats/pwc-language-breakdown-2021.json +++ b/stats/pwc-language-breakdown-2021.json @@ -1223,7 +1223,7 @@ } ], "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2025-08-10 23:29:44 GMT" + "text" : "Click the columns to drilldown the language breakdown. Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge Language" diff --git a/stats/pwc-language-breakdown-2022.json b/stats/pwc-language-breakdown-2022.json index d96593b15d..b54b64f787 100644 --- a/stats/pwc-language-breakdown-2022.json +++ b/stats/pwc-language-breakdown-2022.json @@ -1223,7 +1223,7 @@ } ], "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2025-08-10 23:29:44 GMT" + "text" : "Click the columns to drilldown the language breakdown. Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge Language" diff --git a/stats/pwc-language-breakdown-2023.json b/stats/pwc-language-breakdown-2023.json index 779f3b6ba8..576e573356 100644 --- a/stats/pwc-language-breakdown-2023.json +++ b/stats/pwc-language-breakdown-2023.json @@ -1200,7 +1200,7 @@ } ], "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2025-08-10 23:29:44 GMT" + "text" : "Click the columns to drilldown the language breakdown. Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge Language" diff --git a/stats/pwc-language-breakdown-2024.json b/stats/pwc-language-breakdown-2024.json index dcb56d33f0..e33a5d75ad 100644 --- a/stats/pwc-language-breakdown-2024.json +++ b/stats/pwc-language-breakdown-2024.json @@ -1246,7 +1246,7 @@ } ], "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2025-08-10 23:29:44 GMT" + "text" : "Click the columns to drilldown the language breakdown. Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge Language" diff --git a/stats/pwc-language-breakdown-2025.json b/stats/pwc-language-breakdown-2025.json index 7b211cecb2..610d66df62 100644 --- a/stats/pwc-language-breakdown-2025.json +++ b/stats/pwc-language-breakdown-2025.json @@ -12,7 +12,7 @@ ], [ "Raku", - 25 + 27 ], [ "Blog", @@ -30,7 +30,7 @@ ], [ "Raku", - 28 + 30 ], [ "Blog", @@ -583,12 +583,12 @@ { "drilldown" : "333", "name" : "333", - "y" : 100 + "y" : 102 }, { "drilldown" : "332", "name" : "332", - "y" : 101 + "y" : 103 }, { "drilldown" : "331", @@ -740,7 +740,7 @@ } ], "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2025-08-10 23:29:44 GMT" + "text" : "Click the columns to drilldown the language breakdown. Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge Language" diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index ee83beb7e6..14c496b41b 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -14,7 +14,7 @@ ], [ "Raku", - 9575 + 9579 ], [ "Blog", @@ -37,7 +37,7 @@ } ], "subtitle" : { - "text" : "Last updated at 2025-08-10 23:29:44 GMT" + "text" : "Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge Contributions [2019 - 2025]" diff --git a/stats/pwc-leaders.json b/stats/pwc-leaders.json index b5d8fcb94d..806532e46f 100644 --- a/stats/pwc-leaders.json +++ b/stats/pwc-leaders.json @@ -1049,7 +1049,7 @@ } ], "subtitle" : { - "text" : "Click the columns to drilldown the score breakdown. Last updated at 2025-08-10 23:29:44 GMT" + "text" : "Click the columns to drilldown the score breakdown. Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "Team Leaders (TOP 50)" diff --git a/stats/pwc-summary-1-30.json b/stats/pwc-summary-1-30.json index c6a409e707..a82e858438 100644 --- a/stats/pwc-summary-1-30.json +++ b/stats/pwc-summary-1-30.json @@ -115,7 +115,7 @@ } ], "subtitle" : { - "text" : "[Champions: 30] Last updated at 2025-08-10 23:29:44 GMT" + "text" : "[Champions: 30] Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge [2019 - 2025]" diff --git a/stats/pwc-summary-121-150.json b/stats/pwc-summary-121-150.json index 15785ed1f0..276b425e9a 100644 --- a/stats/pwc-summary-121-150.json +++ b/stats/pwc-summary-121-150.json @@ -115,7 +115,7 @@ } ], "subtitle" : { - "text" : "[Champions: 30] Last updated at 2025-08-10 23:29:44 GMT" + "text" : "[Champions: 30] Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge [2019 - 2025]" diff --git a/stats/pwc-summary-151-180.json b/stats/pwc-summary-151-180.json index 5a853446d9..ebd831f006 100644 --- a/stats/pwc-summary-151-180.json +++ b/stats/pwc-summary-151-180.json @@ -115,7 +115,7 @@ } ], "subtitle" : { - "text" : "[Champions: 30] Last updated at 2025-08-10 23:29:44 GMT" + "text" : "[Champions: 30] Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge [2019 - 2025]" diff --git a/stats/pwc-summary-181-210.json b/stats/pwc-summary-181-210.json index 66c26e1bb0..fd83048126 100644 --- a/stats/pwc-summary-181-210.json +++ b/stats/pwc-summary-181-210.json @@ -115,7 +115,7 @@ } ], "subtitle" : { - "text" : "[Champions: 30] Last updated at 2025-08-10 23:29:44 GMT" + "text" : "[Champions: 30] Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge [2019 - 2025]" diff --git a/stats/pwc-summary-211-240.json b/stats/pwc-summary-211-240.json index 59ad031194..5fcaea6948 100644 --- a/stats/pwc-summary-211-240.json +++ b/stats/pwc-summary-211-240.json @@ -115,7 +115,7 @@ } ], "subtitle" : { - "text" : "[Champions: 30] Last updated at 2025-08-10 23:29:44 GMT" + "text" : "[Champions: 30] Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge [2019 - 2025]" diff --git a/stats/pwc-summary-241-270.json b/stats/pwc-summary-241-270.json index 8ce06a4c41..5bccd0eee1 100644 --- a/stats/pwc-summary-241-270.json +++ b/stats/pwc-summary-241-270.json @@ -115,7 +115,7 @@ } ], "subtitle" : { - "text" : "[Champions: 30] Last updated at 2025-08-10 23:29:44 GMT" + "text" : "[Champions: 30] Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge [2019 - 2025]" diff --git a/stats/pwc-summary-271-300.json b/stats/pwc-summary-271-300.json index f610f9f44a..a1c3699e83 100644 --- a/stats/pwc-summary-271-300.json +++ b/stats/pwc-summary-271-300.json @@ -115,7 +115,7 @@ } ], "subtitle" : { - "text" : "[Champions: 30] Last updated at 2025-08-10 23:29:44 GMT" + "text" : "[Champions: 30] Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge [2019 - 2025]" diff --git a/stats/pwc-summary-301-330.json b/stats/pwc-summary-301-330.json index 89526d7473..3922f9db47 100644 --- a/stats/pwc-summary-301-330.json +++ b/stats/pwc-summary-301-330.json @@ -109,7 +109,7 @@ } ], "subtitle" : { - "text" : "[Champions: 28] Last updated at 2025-08-10 23:29:44 GMT" + "text" : "[Champions: 28] Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge [2019 - 2025]" diff --git a/stats/pwc-summary-31-60.json b/stats/pwc-summary-31-60.json index a59c97ba77..cf9f6119c0 100644 --- a/stats/pwc-summary-31-60.json +++ b/stats/pwc-summary-31-60.json @@ -69,8 +69,8 @@ 9, 0, 0, - 17, 2, + 17, 0, 194, 0, @@ -115,7 +115,7 @@ } ], "subtitle" : { - "text" : "[Champions: 30] Last updated at 2025-08-10 23:29:44 GMT" + "text" : "[Champions: 30] Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge [2019 - 2025]" diff --git a/stats/pwc-summary-61-90.json b/stats/pwc-summary-61-90.json index ec98382e57..404c80c257 100644 --- a/stats/pwc-summary-61-90.json +++ b/stats/pwc-summary-61-90.json @@ -115,7 +115,7 @@ } ], "subtitle" : { - "text" : "[Champions: 30] Last updated at 2025-08-10 23:29:44 GMT" + "text" : "[Champions: 30] Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge [2019 - 2025]" diff --git a/stats/pwc-summary-91-120.json b/stats/pwc-summary-91-120.json index 97f8573382..dea48e2b29 100644 --- a/stats/pwc-summary-91-120.json +++ b/stats/pwc-summary-91-120.json @@ -57,7 +57,7 @@ 8, 0, 0, - 68, + 72, 0, 4, 0, @@ -115,7 +115,7 @@ } ], "subtitle" : { - "text" : "[Champions: 30] Last updated at 2025-08-10 23:29:44 GMT" + "text" : "[Champions: 30] Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge [2019 - 2025]" diff --git a/stats/pwc-summary.json b/stats/pwc-summary.json index 86094c3c34..5500adfab9 100644 --- a/stats/pwc-summary.json +++ b/stats/pwc-summary.json @@ -445,7 +445,7 @@ 5, 0, 0, - 34, + 36, 0, 2, 0, @@ -1009,7 +1009,7 @@ } ], "subtitle" : { - "text" : "[Champions: 328] Last updated at 2025-08-10 23:29:44 GMT" + "text" : "[Champions: 328] Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge [2019 - 2025]" diff --git a/stats/pwc-yearly-language-summary.json b/stats/pwc-yearly-language-summary.json index ecfb4ddc9b..97ed1b34e5 100644 --- a/stats/pwc-yearly-language-summary.json +++ b/stats/pwc-yearly-language-summary.json @@ -12,7 +12,7 @@ ], [ "Raku", - 705 + 709 ], [ "Blog", @@ -151,7 +151,7 @@ { "drilldown" : "2025", "name" : "2025", - "y" : 2740 + "y" : 2744 }, { "drilldown" : "2024", @@ -188,7 +188,7 @@ } ], "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2025-08-10 23:29:44 GMT" + "text" : "Click the columns to drilldown the language breakdown. Last updated at 2025-08-10 23:39:23 GMT" }, "title" : { "text" : "The Weekly Challenge Language" |
