diff options
| author | Mohammad S Anwar <mohammad.anwar@yahoo.com> | 2023-12-11 03:27:47 +0000 |
|---|---|---|
| committer | Mohammad S Anwar <mohammad.anwar@yahoo.com> | 2023-12-11 03:27:47 +0000 |
| commit | 91702abf0c0187d2f6b7d1675012b56e30ee2556 (patch) | |
| tree | 2ce0552afa7300cbb818899d51918d58d6f2556f | |
| parent | c5f77edc3993a8d666385b62bfe77a61fcdd07b6 (diff) | |
| download | perlweeklychallenge-club-91702abf0c0187d2f6b7d1675012b56e30ee2556.tar.gz perlweeklychallenge-club-91702abf0c0187d2f6b7d1675012b56e30ee2556.tar.bz2 perlweeklychallenge-club-91702abf0c0187d2f6b7d1675012b56e30ee2556.zip | |
- Added solutions by Robert Ransbottom.
| -rwxr-xr-x | challenge-246/0rir/raku/ch-2.raku | 14 | ||||
| -rw-r--r-- | stats/pwc-current.json | 269 | ||||
| -rw-r--r-- | stats/pwc-language-breakdown-summary.json | 66 | ||||
| -rw-r--r-- | stats/pwc-language-breakdown.json | 1674 | ||||
| -rw-r--r-- | stats/pwc-leaders.json | 734 | ||||
| -rw-r--r-- | stats/pwc-summary-1-30.json | 116 | ||||
| -rw-r--r-- | stats/pwc-summary-121-150.json | 52 | ||||
| -rw-r--r-- | stats/pwc-summary-151-180.json | 46 | ||||
| -rw-r--r-- | stats/pwc-summary-181-210.json | 34 | ||||
| -rw-r--r-- | stats/pwc-summary-211-240.json | 32 | ||||
| -rw-r--r-- | stats/pwc-summary-241-270.json | 126 | ||||
| -rw-r--r-- | stats/pwc-summary-271-300.json | 40 | ||||
| -rw-r--r-- | stats/pwc-summary-301-330.json | 32 | ||||
| -rw-r--r-- | stats/pwc-summary-31-60.json | 124 | ||||
| -rw-r--r-- | stats/pwc-summary-61-90.json | 34 | ||||
| -rw-r--r-- | stats/pwc-summary-91-120.json | 114 | ||||
| -rw-r--r-- | stats/pwc-summary.json | 658 |
17 files changed, 2097 insertions, 2068 deletions
diff --git a/challenge-246/0rir/raku/ch-2.raku b/challenge-246/0rir/raku/ch-2.raku new file mode 100755 index 0000000000..1f0506679c --- /dev/null +++ b/challenge-246/0rir/raku/ch-2.raku @@ -0,0 +1,14 @@ +#!/usr/bin/env raku +# :vim ft=raku sw=4 expandtab # 🦋 ∅∪∩∋∈∉ ≡ ≢ « » ∴ +use v6; + +sub MAIN( *@in ) { + my ($p, $q, @a) = @in».Int; + + for ^3 { + @a.push: $p × @a[*-2] + $q × @a[*-1]; + } + + say "P $p Q $q Ary: @a.raku()"; +} + diff --git a/stats/pwc-current.json b/stats/pwc-current.json index 53345f225e..21ba7a3928 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,33 +1,11 @@ { - "xAxis" : { - "type" : "category" - }, - "subtitle" : { - "text" : "[Champions: 28] Last updated at 2023-12-11 00:55:29 GMT" - }, - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - } - } - }, - "chart" : { - "type" : "column" - }, "title" : { "text" : "The Weekly Challenge - 246" }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } - }, "drilldown" : { "series" : [ { + "name" : "Arne Sommer", "id" : "Arne Sommer", "data" : [ [ @@ -42,12 +20,9 @@ "Blog", 1 ] - ], - "name" : "Arne Sommer" + ] }, { - "id" : "Athanasius", - "name" : "Athanasius", "data" : [ [ "Perl", @@ -57,7 +32,9 @@ "Raku", 2 ] - ] + ], + "id" : "Athanasius", + "name" : "Athanasius" }, { "data" : [ @@ -70,11 +47,12 @@ 1 ] ], - "name" : "BarrOff", - "id" : "BarrOff" + "id" : "BarrOff", + "name" : "BarrOff" }, { "name" : "Bob Lied", + "id" : "Bob Lied", "data" : [ [ "Perl", @@ -84,22 +62,19 @@ "Blog", 1 ] - ], - "id" : "Bob Lied" + ] }, { - "name" : "Bruce Gray", "data" : [ [ "Raku", 2 ] ], - "id" : "Bruce Gray" + "id" : "Bruce Gray", + "name" : "Bruce Gray" }, { - "id" : "Cheok-Yin Fung", - "name" : "Cheok-Yin Fung", "data" : [ [ "Perl", @@ -109,9 +84,13 @@ "Blog", 1 ] - ] + ], + "id" : "Cheok-Yin Fung", + "name" : "Cheok-Yin Fung" }, { + "name" : "Dave Jacoby", + "id" : "Dave Jacoby", "data" : [ [ "Perl", @@ -121,51 +100,50 @@ "Blog", 1 ] - ], - "name" : "Dave Jacoby", - "id" : "Dave Jacoby" + ] }, { - "name" : "David Ferrone", + "id" : "David Ferrone", "data" : [ [ "Perl", 2 ] ], - "id" : "David Ferrone" + "name" : "David Ferrone" }, { - "id" : "E. Choroba", - "name" : "E. Choroba", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "E. Choroba", + "name" : "E. Choroba" }, { "name" : "Humberto Massa", + "id" : "Humberto Massa", "data" : [ [ "Raku", 2 ] - ], - "id" : "Humberto Massa" + ] }, { - "name" : "Jan Krnavek", + "id" : "Jan Krnavek", "data" : [ [ "Raku", 2 ] ], - "id" : "Jan Krnavek" + "name" : "Jan Krnavek" }, { + "id" : "Jorg Sommrey", "data" : [ [ "Perl", @@ -176,11 +154,9 @@ 1 ] ], - "name" : "Jorg Sommrey", - "id" : "Jorg Sommrey" + "name" : "Jorg Sommrey" }, { - "id" : "Laurent Rosenfeld", "name" : "Laurent Rosenfeld", "data" : [ [ @@ -195,10 +171,11 @@ "Blog", 2 ] - ] + ], + "id" : "Laurent Rosenfeld" }, { - "name" : "Lubos Kolouch", + "id" : "Lubos Kolouch", "data" : [ [ "Perl", @@ -213,10 +190,10 @@ 1 ] ], - "id" : "Lubos Kolouch" + "name" : "Lubos Kolouch" }, { - "id" : "Luca Ferrari", + "name" : "Luca Ferrari", "data" : [ [ "Raku", @@ -227,17 +204,17 @@ 8 ] ], - "name" : "Luca Ferrari" + "id" : "Luca Ferrari" }, { "id" : "Mark Anderson", - "name" : "Mark Anderson", "data" : [ [ "Raku", 2 ] - ] + ], + "name" : "Mark Anderson" }, { "data" : [ @@ -246,12 +223,12 @@ 1 ] ], - "name" : "Matthew Neleigh", - "id" : "Matthew Neleigh" + "id" : "Matthew Neleigh", + "name" : "Matthew Neleigh" }, { - "id" : "Nelo Tovar", "name" : "Nelo Tovar", + "id" : "Nelo Tovar", "data" : [ [ "Perl", @@ -260,26 +237,28 @@ ] }, { + "id" : "Niels van Dijke", "data" : [ [ "Perl", 2 ] ], - "name" : "Niels van Dijke", - "id" : "Niels van Dijke" + "name" : "Niels van Dijke" }, { + "name" : "Oliver Oviedo", "id" : "Oliver Oviedo", "data" : [ [ "Perl", 1 ] - ], - "name" : "Oliver Oviedo" + ] }, { + "name" : "Packy Anderson", + "id" : "Packy Anderson", "data" : [ [ "Perl", @@ -293,9 +272,7 @@ "Blog", 1 ] - ], - "name" : "Packy Anderson", - "id" : "Packy Anderson" + ] }, { "id" : "Peter Campbell Smith", @@ -312,8 +289,8 @@ "name" : "Peter Campbell Smith" }, { - "id" : "Peter Meszaros", "name" : "Peter Meszaros", + "id" : "Peter Meszaros", "data" : [ [ "Perl", @@ -322,6 +299,7 @@ ] }, { + "name" : "Robert DiCicco", "data" : [ [ "Perl", @@ -332,11 +310,19 @@ 1 ] ], - "name" : "Robert DiCicco", "id" : "Robert DiCicco" }, { - "id" : "Roger Bell_West", + "id" : "Robert Ransbottom", + "data" : [ + [ + "Raku", + 2 + ] + ], + "name" : "Robert Ransbottom" + }, + { "data" : [ [ "Perl", @@ -347,6 +333,7 @@ 2 ] ], + "id" : "Roger Bell_West", "name" : "Roger Bell_West" }, { @@ -360,11 +347,10 @@ 1 ] ], - "name" : "Stephen G. Lynn", - "id" : "Stephen G. Lynn" + "id" : "Stephen G. Lynn", + "name" : "Stephen G. Lynn" }, { - "name" : "Thomas Kohler", "data" : [ [ "Perl", @@ -375,9 +361,11 @@ 2 ] ], - "id" : "Thomas Kohler" + "id" : "Thomas Kohler", + "name" : "Thomas Kohler" }, { + "name" : "W. Luis Mochan", "data" : [ [ "Perl", @@ -388,23 +376,18 @@ 1 ] ], - "name" : "W. Luis Mochan", "id" : "W. Luis Mochan" } ] }, - "tooltip" : { - "followPointer" : 1, - "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>", - "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>" - }, "series" : [ { + "colorByPoint" : 1, "data" : [ { - "name" : "Arne Sommer", + "y" : 4, "drilldown" : "Arne Sommer", - "y" : 4 + "name" : "Arne Sommer" }, { "y" : 4, @@ -412,69 +395,69 @@ "name" : "Athanasius" }, { - "name" : "BarrOff", "drilldown" : "BarrOff", + "name" : "BarrOff", "y" : 2 }, { + "drilldown" : "Bob Lied", "name" : "Bob Lied", - "y" : 3, - "drilldown" : "Bob Lied" + "y" : 3 }, { - "name" : "Bruce Gray", "drilldown" : "Bruce Gray", + "name" : "Bruce Gray", "y" : 2 }, { "drilldown" : "Cheok-Yin Fung", - "y" : 3, - "name" : "Cheok-Yin Fung" + "name" : "Cheok-Yin Fung", + "y" : 3 }, { - "name" : "Dave Jacoby", "y" : 3, - "drilldown" : "Dave Jacoby" + "drilldown" : "Dave Jacoby", + "name" : "Dave Jacoby" }, { + "drilldown" : "David Ferrone", "name" : "David Ferrone", - "y" : 2, - "drilldown" : "David Ferrone" + "y" : 2 }, { "y" : 2, - "drilldown" : "E. Choroba", - "name" : "E. Choroba" + "name" : "E. Choroba", + "drilldown" : "E. Choroba" }, { - "drilldown" : "Humberto Massa", "y" : 2, - "name" : "Humberto Massa" + "name" : "Humberto Massa", + "drilldown" : "Humberto Massa" }, { - "name" : "Jan Krnavek", "drilldown" : "Jan Krnavek", + "name" : "Jan Krnavek", "y" : 2 }, { - "drilldown" : "Jorg Sommrey", "y" : 3, + "drilldown" : "Jorg Sommrey", "name" : "Jorg Sommrey" }, { - "y" : 6, + "name" : "Laurent Rosenfeld", "drilldown" : "Laurent Rosenfeld", - "name" : "Laurent Rosenfeld" + "y" : 6 }, { - "drilldown" : "Lubos Kolouch", "y" : 5, - "name" : "Lubos Kolouch" + "name" : "Lubos Kolouch", + "drilldown" : "Lubos Kolouch" }, { + "drilldown" : "Luca Ferrari", "name" : "Luca Ferrari", - "y" : 10, - "drilldown" : "Luca Ferrari" + "y" : 10 }, { "y" : 2, @@ -483,13 +466,13 @@ }, { "y" : 1, - "drilldown" : "Matthew Neleigh", - "name" : "Matthew Neleigh" + "name" : "Matthew Neleigh", + "drilldown" : "Matthew Neleigh" }, { - "y" : 2, "drilldown" : "Nelo Tovar", - "name" : "Nelo Tovar" + "name" : "Nelo Tovar", + "y" : 2 }, { "y" : 2, @@ -497,55 +480,87 @@ "name" : "Niels van Dijke" }, { - "name" : "Oliver Oviedo", "y" : 1, + "name" : "Oliver Oviedo", "drilldown" : "Oliver Oviedo" }, { + "name" : "Packy Anderson", "drilldown" : "Packy Anderson", - "y" : 5, - "name" : "Packy Anderson" + "y" : 5 }, { - "name" : "Peter Campbell Smith", "y" : 3, - "drilldown" : "Peter Campbell Smith" + "drilldown" : "Peter Campbell Smith", + "name" : "Peter Campbell Smith" }, { - "name" : "Peter Meszaros", "y" : 2, - "drilldown" : "Peter Meszaros" + "drilldown" : "Peter Meszaros", + "name" : "Peter Meszaros" }, { - "drilldown" : "Robert DiCicco", "y" : 2, - "name" : "Robert DiCicco" + "name" : "Robert DiCicco", + "drilldown" : "Robert DiCicco" }, { - "name" : "Roger Bell_West", + "y" : 2, + "drilldown" : "Robert Ransbottom", + "name" : "Robert Ransbottom" + }, + { + "y" : 4, "drilldown" : "Roger Bell_West", - "y" : 4 + "name" : "Roger Bell_West" }, { - "drilldown" : "Stephen G. Lynn", "y" : 3, + "drilldown" : "Stephen G. Lynn", "name" : "Stephen G. Lynn" }, { + "drilldown" : "Thomas Kohler", "name" : "Thomas Kohler", - "y" : 4, - "drilldown" : "Thomas Kohler" + "y" : 4 }, { - "name" : "W. Luis Mochan", "drilldown" : "W. Luis Mochan", + "name" : "W. Luis Mochan", "y" : 3 } ], - "name" : "The Weekly Challenge - 246", - "colorByPoint" : 1 + "name" : "The Weekly Challenge - 246" } ], + "subtitle" : { + "text" : "[Champions: 29] Last updated at 2023-12-11 03:24:29 GMT" + }, + "tooltip" : { + "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>", + "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>", + "followPointer" : 1 + }, + "xAxis" : { + "type" : "category" + }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, + "plotOptions" : { + "series" : { + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + }, + "borderWidth" : 0 + } + }, + "chart" : { + "type" : "column" + }, "legend" : { "enabled" : 0 } diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index 40ae9d54d8..beb24f3337 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -1,30 +1,42 @@ { - "title" : { - "text" : "The Weekly Challenge Contributions [2019 - 2023]" - }, - "yAxis" : { - "min" : 0, - "title" : { - "text" : null - } - }, - "chart" : { - "type" : "column" - }, "xAxis" : { + "type" : "category", "labels" : { "style" : { "fontFamily" : "Verdana, sans-serif", "fontSize" : "13px" } + } + }, + "yAxis" : { + "title" : { + "text" : null }, - "type" : "category" + "min" : 0 }, - "subtitle" : { - "text" : "Last updated at 2023-12-11 00:55:29 GMT" + "tooltip" : { + "pointFormat" : "<b>{point.y:.0f}</b>" + }, + "chart" : { + "type" : "column" + }, + "legend" : { + "enabled" : "false" }, "series" : [ { + "dataLabels" : { + "format" : "{point.y:.0f}", + "enabled" : "true", + "align" : "right", + "rotation" : -90, + "color" : "#FFFFFF", + "style" : { + "fontFamily" : "Verdana, sans-serif", + "fontSize" : "13px" + }, + "y" : 10 + }, "name" : "Contributions", "data" : [ [ @@ -37,27 +49,15 @@ ], [ "Raku", - 7333 + 7335 ] - ], - "dataLabels" : { - "enabled" : "true", - "color" : "#FFFFFF", - "y" : 10, - "rotation" : -90, - "format" : "{point.y:.0f}", - "align" : "right", - "style" : { - "fontFamily" : "Verdana, sans-serif", - "fontSize" : "13px" - } - } + ] } ], - "legend" : { - "enabled" : "false" + "title" : { + "text" : "The Weekly Challenge Contributions [2019 - 2023]" }, - "tooltip" : { - "pointFormat" : "<b>{point.y:.0f}</b>" + "subtitle" : { + "text" : "Last updated at 2023-12-11 03:24:28 GMT" } } diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json index 4f39b2e56f..9668206927 100644 --- a/stats/pwc-language-breakdown.json +++ b/stats/pwc-language-breakdown.json @@ -1,33 +1,8 @@ { - "chart" : { - "type" : "column" - }, - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "format" : "{point.y}", - "enabled" : 1 - } - } - }, - "xAxis" : { - "type" : "category" - }, - "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2023-12-11 00:55:29 GMT" - }, - "title" : { - "text" : "The Weekly Challenge Language" - }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } - }, "drilldown" : { "series" : [ { + "id" : "001", "data" : [ [ "Perl", @@ -42,12 +17,9 @@ 12 ] ], - "name" : "001", - "id" : "001" + "name" : "001" }, { - "id" : "002", - "name" : "002", "data" : [ [ "Perl", @@ -61,7 +33,9 @@ "Blog", 10 ] - ] + ], + "id" : "002", + "name" : "002" }, { "id" : "003", @@ -83,6 +57,7 @@ }, { "name" : "004", + "id" : "004", "data" : [ [ "Perl", @@ -96,10 +71,10 @@ "Blog", 10 ] - ], - "id" : "004" + ] }, { + "id" : "005", "data" : [ [ "Perl", @@ -114,8 +89,7 @@ 12 ] ], - "name" : "005", - "id" : "005" + "name" : "005" }, { "id" : "006", @@ -136,6 +110,7 @@ "name" : "006" }, { + "id" : "007", "data" : [ [ "Perl", @@ -150,11 +125,9 @@ 10 ] ], - "name" : "007", - "id" : "007" + "name" : "007" }, { - "id" : "008", "data" : [ [ "Perl", @@ -169,10 +142,10 @@ 12 ] ], + "id" : "008", "name" : "008" }, { - "name" : "009", "data" : [ [ "Perl", @@ -187,11 +160,11 @@ 13 ] ], - "id" : "009" + "id" : "009", + "name" : "009" }, { "id" : "010", - "name" : "010", "data" : [ [ "Perl", @@ -205,7 +178,8 @@ "Blog", 11 ] - ] + ], + "name" : "010" }, { "id" : "011", @@ -227,7 +201,6 @@ }, { "id" : "012", - "name" : "012", "data" : [ [ "Perl", @@ -241,7 +214,8 @@ "Blog", 11 ] - ] + ], + "name" : "012" }, { "name" : "013", @@ -262,7 +236,7 @@ "id" : "013" }, { - "name" : "014", + "id" : "014", "data" : [ [ "Perl", @@ -277,10 +251,10 @@ 15 ] ], - "id" : "014" + "name" : "014" }, { - "name" : "015", + "id" : "015", "data" : [ [ "Perl", @@ -295,7 +269,7 @@ 15 ] ], - "id" : "015" + "name" : "015" }, { "name" : "016", @@ -316,6 +290,8 @@ "id" : "016" }, { + "name" : "017", + "id" : "017", "data" : [ [ "Perl", @@ -329,9 +305,7 @@ "Blog", 12 ] - ], - "name" : "017", - "id" : "017" + ] }, { "id" : "018", @@ -352,6 +326,7 @@ "name" : "018" }, { + "id" : "019", "data" : [ [ "Perl", @@ -366,11 +341,9 @@ 13 ] ], - "name" : "019", - "id" : "019" + "name" : "019" }, { - "id" : "020", "data" : [ [ "Perl", @@ -385,11 +358,10 @@ 13 ] ], + "id" : "020", "name" : "020" }, { - "id" : "021", - "name" : "021", "data" : [ [ "Perl", @@ -403,7 +375,9 @@ "Blog", 10 ] - ] + ], + "id" : "021", + "name" : "021" }, { "id" : "022", @@ -442,6 +416,8 @@ "name" : "023" }, { + "name" : "024", + "id" : "024", "data" : [ [ "Perl", @@ -455,13 +431,11 @@ "Blog", 11 ] - ], - "name" : "024", - "id" : "024" + ] }, { - "id" : "025", "name" : "025", + "id" : "025", "data" : [ [ "Perl", @@ -496,7 +470,6 @@ "id" : "026" }, { - "name" : "027", "data" : [ [ "Perl", @@ -511,10 +484,11 @@ 9 ] ], - "id" : "027" + "id" : "027", + "name" : "027" }, { - "name" : "028", + "id" : "028", "data" : [ [ "Perl", @@ -529,11 +503,9 @@ 9 ] ], - "id" : "028" + "name" : "028" }, { - "id" : "029", - "name" : "029", "data" : [ [ "Perl", @@ -547,10 +519,11 @@ "Blog", 12 ] - ] + ], + "id" : "029", + "name" : "029" }, { - "name" : "030", "data" : [ [ "Perl", @@ -565,10 +538,10 @@ 10 ] ], - "id" : "030" + "id" : "030", + "name" : "030" }, { - "name" : "031", "data" : [ [ "Perl", @@ -583,10 +556,12 @@ 9 |
