diff options
| -rwxr-xr-x | challenge-250/eric-cheung/python/ch-1.py | 10 | ||||
| -rwxr-xr-x | challenge-250/eric-cheung/python/ch-2.py | 9 | ||||
| -rw-r--r-- | challenge-250/mark-anderson/blog.txt | 1 | ||||
| -rw-r--r-- | challenge-250/mark-anderson/blog1.txt | 1 | ||||
| -rw-r--r-- | stats/pwc-challenge-249.json | 612 | ||||
| -rw-r--r-- | stats/pwc-current.json | 596 | ||||
| -rw-r--r-- | stats/pwc-language-breakdown-summary.json | 56 | ||||
| -rw-r--r-- | stats/pwc-language-breakdown.json | 1611 | ||||
| -rw-r--r-- | stats/pwc-leaders.json | 810 | ||||
| -rw-r--r-- | stats/pwc-summary-1-30.json | 100 | ||||
| -rw-r--r-- | stats/pwc-summary-121-150.json | 46 | ||||
| -rw-r--r-- | stats/pwc-summary-151-180.json | 54 | ||||
| -rw-r--r-- | stats/pwc-summary-181-210.json | 48 | ||||
| -rw-r--r-- | stats/pwc-summary-211-240.json | 46 | ||||
| -rw-r--r-- | stats/pwc-summary-241-270.json | 60 | ||||
| -rw-r--r-- | stats/pwc-summary-271-300.json | 92 | ||||
| -rw-r--r-- | stats/pwc-summary-301-330.json | 66 | ||||
| -rw-r--r-- | stats/pwc-summary-31-60.json | 40 | ||||
| -rw-r--r-- | stats/pwc-summary-61-90.json | 104 | ||||
| -rw-r--r-- | stats/pwc-summary-91-120.json | 100 | ||||
| -rw-r--r-- | stats/pwc-summary.json | 74 |
21 files changed, 2365 insertions, 2171 deletions
diff --git a/challenge-250/eric-cheung/python/ch-1.py b/challenge-250/eric-cheung/python/ch-1.py new file mode 100755 index 0000000000..3f0e3c37c1 --- /dev/null +++ b/challenge-250/eric-cheung/python/ch-1.py @@ -0,0 +1,10 @@ +
+## arrInt = [0, 1, 2] ## Example 1
+## arrInt = [4, 3, 2, 1] ## Example 2
+arrInt = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0] ## Example 3
+
+arrOutput = [nIndx for nIndx in range(len(arrInt)) if nIndx % 10 == arrInt[nIndx]]
+if len(arrOutput) > 0:
+ print (arrOutput[0])
+else:
+ print (-1)
diff --git a/challenge-250/eric-cheung/python/ch-2.py b/challenge-250/eric-cheung/python/ch-2.py new file mode 100755 index 0000000000..43a7617ff9 --- /dev/null +++ b/challenge-250/eric-cheung/python/ch-2.py @@ -0,0 +1,9 @@ +
+def GetAlphaNumLen (strInput):
+ return int(strInput) if strInput.isnumeric() else len(strInput)
+
+## arrAlphaNumStr = ["perl", "2", "000", "python", "r4ku"] ## Example 1
+arrAlphaNumStr = ["001", "1", "000", "0001"] ## Example 2
+
+arrOutput = [GetAlphaNumLen(strLoop) for strLoop in arrAlphaNumStr]
+print (max(arrOutput))
diff --git a/challenge-250/mark-anderson/blog.txt b/challenge-250/mark-anderson/blog.txt new file mode 100644 index 0000000000..60832dc2e7 --- /dev/null +++ b/challenge-250/mark-anderson/blog.txt @@ -0,0 +1 @@ +https://github.com/manwar/perlweeklychallenge-club/blob/master/challenge-250/mark-anderson/raku/blog-1.md diff --git a/challenge-250/mark-anderson/blog1.txt b/challenge-250/mark-anderson/blog1.txt new file mode 100644 index 0000000000..9f32d73531 --- /dev/null +++ b/challenge-250/mark-anderson/blog1.txt @@ -0,0 +1 @@ +https://github.com/manwar/perlweeklychallenge-club/blob/master/challenge-250/mark-anderson/raku/blog-2.md diff --git a/stats/pwc-challenge-249.json b/stats/pwc-challenge-249.json new file mode 100644 index 0000000000..4b99add88d --- /dev/null +++ b/stats/pwc-challenge-249.json @@ -0,0 +1,612 @@ +{ + "legend" : { + "enabled" : 0 + }, + "xAxis" : { + "type" : "category" + }, + "series" : [ + { + "name" : "The Weekly Challenge - 249", + "data" : [ + { + "name" : "Ali Moradi", + "y" : 3, + "drilldown" : "Ali Moradi" + }, + { + "name" : "Arne Sommer", + "drilldown" : "Arne Sommer", + "y" : 3 + }, + { + "name" : "Athanasius", + "drilldown" : "Athanasius", + "y" : 4 + }, + { + "name" : "BarrOff", + "drilldown" : "BarrOff", + "y" : 1 + }, + { + "y" : 3, + "drilldown" : "Bob Lied", + "name" : "Bob Lied" + }, + { + "drilldown" : "Bruce Gray", + "y" : 2, + "name" : "Bruce Gray" + }, + { + "name" : "Cheok-Yin Fung", + "y" : 2, + "drilldown" : "Cheok-Yin Fung" + }, + { + "drilldown" : "Dave Jacoby", + "y" : 3, + "name" : "Dave Jacoby" + }, + { + "drilldown" : "David Ferrone", + "y" : 2, + "name" : "David Ferrone" + }, + { + "name" : "E. Choroba", + "y" : 2, + "drilldown" : "E. Choroba" + }, + { + "drilldown" : "James Smith", + "y" : 3, + "name" : "James Smith" + }, + { + "name" : "Jan Krnavek", + "y" : 2, + "drilldown" : "Jan Krnavek" + }, + { + "name" : "Jorg Sommrey", + "y" : 2, + "drilldown" : "Jorg Sommrey" + }, + { + "y" : 2, + "drilldown" : "Kjetil Skotheim", + "name" : "Kjetil Skotheim" + }, + { + "name" : "Laurent Rosenfeld", + "y" : 3, + "drilldown" : "Laurent Rosenfeld" + }, + { + "y" : 5, + "drilldown" : "Lubos Kolouch", + "name" : "Lubos Kolouch" + }, + { + "name" : "Luca Ferrari", + "drilldown" : "Luca Ferrari", + "y" : 10 + }, + { + "drilldown" : "Mark Anderson", + "y" : 2, + "name" : "Mark Anderson" + }, + { + "drilldown" : "Matthew Neleigh", + "y" : 2, + "name" : "Matthew Neleigh" + }, + { + "drilldown" : "Nelo Tovar", + "y" : 2, + "name" : "Nelo Tovar" + }, + { + "drilldown" : "Niels van Dijke", + "y" : 1, + "name" : "Niels van Dijke" + }, + { + "y" : 5, + "drilldown" : "Packy Anderson", + "name" : "Packy Anderson" + }, + { + "name" : "Peter Campbell Smith", + "drilldown" : "Peter Campbell Smith", + "y" : 3 + }, + { + "name" : "Peter Meszaros", + "y" : 2, + "drilldown" : "Peter Meszaros" + }, + { + "name" : "Robbie Hatley", + "drilldown" : "Robbie Hatley", + "y" : 3 + }, + { + "name" : "Robert Ransbottom", + "drilldown" : "Robert Ransbottom", + "y" : 2 + }, + { + "name" : "Roger Bell_West", + "drilldown" : "Roger Bell_West", + "y" : 5 + }, + { + "drilldown" : "Simon Green", + "y" : 2, + "name" : "Simon Green" + }, + { + "drilldown" : "Stephen G. Lynn", + "y" : 3, + "name" : "Stephen G. Lynn" + }, + { + "drilldown" : "Thomas Kohler", + "y" : 4, + "name" : "Thomas Kohler" + }, + { + "name" : "Ulrich Rieke", + "drilldown" : "Ulrich Rieke", + "y" : 4 + }, + { + "name" : "W. Luis Mochan", + "y" : 3, + "drilldown" : "W. Luis Mochan" + } + ], + "colorByPoint" : 1 + } + ], + "plotOptions" : { + "series" : { + "dataLabels" : { + "enabled" : 1, + "format" : "{point.y}" + }, + "borderWidth" : 0 + } + }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, + "title" : { + "text" : "The Weekly Challenge - 249" + }, + "tooltip" : { + "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>", + "followPointer" : 1, + "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>" + }, + "drilldown" : { + "series" : [ + { + "id" : "Ali Moradi", + "name" : "Ali Moradi", + "data" : [ + [ + "Perl", + 2 + ], + [ + "Blog", + 1 + ] + ] + }, + { + "name" : "Arne Sommer", + "data" : [ + [ + "Raku", + 2 + ], + [ + "Blog", + 1 + ] + ], + "id" : "Arne Sommer" + }, + { + "data" : [ + [ + "Perl", + 2 + ], + [ + "Raku", + 2 + ] + ], + "name" : "Athanasius", + "id" : "Athanasius" + }, + { + "id" : "BarrOff", + "data" : [ + [ + "Raku", + 1 + ] + ], + "name" : "BarrOff" + }, + { + "data" : [ + [ + "Perl", + 2 + ], + [ + "Blog", + 1 + ] + ], + "name" : "Bob Lied", + "id" : "Bob Lied" + }, + { + "id" : "Bruce Gray", + "name" : "Bruce Gray", + "data" : [ + [ + "Raku", + 2 + ] + ] + }, + { + "id" : "Cheok-Yin Fung", + "name" : "Cheok-Yin Fung", + "data" : [ + [ + "Perl", + 2 + ] + ] + }, + { + "data" : [ + [ + "Perl", + 2 + ], + [ + "Blog", + 1 + ] + ], + "name" : "Dave Jacoby", + "id" : "Dave Jacoby" + }, + { + "data" : [ + [ + "Perl", + 2 + ] + ], + "name" : "David Ferrone", + "id" : "David Ferrone" + }, + { + "data" : [ + [ + "Perl", + 2 + ] + ], + "name" : "E. Choroba", + "id" : "E. Choroba" + }, + { + "id" : "James Smith", + "name" : "James Smith", + "data" : [ + [ + "Perl", + 2 + ], + [ + "Blog", + 1 + ] + ] + }, + { + "id" : "Jan Krnavek", + "name" : "Jan Krnavek", + "data" : [ + [ + "Raku", + 2 + ] + ] + }, + { + "name" : "Jorg Sommrey", + "data" : [ + [ + "Perl", + 2 + ] + ], + "id" : "Jorg Sommrey" + }, + { + "data" : [ + [ + "Perl", + 2 + ] + ], + "name" : "Kjetil Skotheim", + "id" : "Kjetil Skotheim" + }, + { + "id" : "Laurent Rosenfeld", + "data" : [ + [ + "Perl", + 1 + ], + [ + "Raku", + 1 + ], + [ + "Blog", + 1 + ] + ], + "name" : "Laurent Rosenfeld" + }, + { + "name" : "Lubos Kolouch", + "data" : [ + [ + "Perl", + 2 + ], + [ + "Raku", + 2 + ], + [ + "Blog", + 1 + ] + ], + "id" : "Lubos Kolouch" + }, + { + "name" : "Luca Ferrari", + "data" : [ + [ + "Raku", + 2 + ], + [ + "Blog", + 8 + ] + ], + "id" : "Luca Ferrari" + }, + { + "id" : "Mark Anderson", + "data" : [ + [ + "Raku", + 2 + ] + ], + "name" : "Mark Anderson" + }, + { + "data" : [ + [ + "Perl", + 2 + ] + ], + "name" : "Matthew Neleigh", + "id" : "Matthew Neleigh" + }, + { + "id" : "Nelo Tovar", + "data" : [ + [ + "Perl", + 2 + ] + ], + "name" : "Nelo Tovar" + }, + { + "id" : "Niels van Dijke", + "data" : [ + [ + "Perl", + 1 + ] + ], + "name" : "Niels van Dijke" + }, + { + "data" : [ + [ + "Perl", + 2 + ], + [ + "Raku", + 2 + ], + [ + "Blog", + 1 + ] + ], + "name" : "Packy Anderson", + "id" : "Packy Anderson" + }, + { + "name" : "Peter Campbell Smith", + "data" : [ + [ + "Perl", + 2 + ], + [ + "Blog", + 1 + ] + ], + "id" : "Peter Campbell Smith" + }, + { + "id" : "Peter Meszaros", + "data" : [ + [ + "Perl", + 2 + ] + ], + "name" : "Peter Meszaros" + }, + { + "data" : [ + [ + "Perl", + 2 + ], + [ + "Blog", + 1 + ] + ], + "name" : "Robbie Hatley", + "id" : "Robbie Hatley" + }, + { + "data" : [ + [ + "Raku", + 2 + ] + ], + "name" : "Robert Ransbottom", + "id" : "Robert Ransbottom" + }, + { + "data" : [ + [ + "Perl", + 2 + ], + [ + "Raku", + 2 + ], + [ + "Blog", + 1 + ] + ], + "name" : "Roger Bell_West", + "id" : "Roger Bell_West" + }, + { + "data" : [ + [ + "Perl", + 2 + ] + ], + "name" : "Simon Green", + "id" : "Simon Green" + }, + { + "id" : "Stephen G. Lynn", + "name" : "Stephen G. Lynn", + "data" : [ + [ + "Perl", + 2 + ], + [ + "Blog", + 1 + ] + ] + }, + { + "id" : "Thomas Kohler", + "name" : "Thomas Kohler", + "data" : [ + [ + "Perl", + 2 + ], + [ + "Blog", + 2 + ] + ] + }, + { + "name" : "Ulrich Rieke", + "data" : [ + [ + "Perl", + 2 + ], + [ + "Raku", + 2 + ] + ], + "id" : "Ulrich Rieke" + }, + { + "name" : "W. Luis Mochan", + "data" : [ + [ + "Perl", + 2 + ], + [ + "Blog", + 1 + ] + ], + "id" : "W. Luis Mochan" + } + ] + }, + "subtitle" : { + "text" : "[Champions: 32] Last updated at 2024-01-01 14:35:37 GMT" + }, + "chart" : { + "type" : "column" + } +} diff --git a/stats/pwc-current.json b/stats/pwc-current.json index 1659621712..81f4d27bc6 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,15 +1,55 @@ { - "title" : { - "text" : "The Weekly Challenge - 249" - }, - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "format" : "{point.y}", - "enabled" : 1 - } + "series" : [ + { + "name" : "The Weekly Challenge - 250", + "data" : [ + { + "y" : 2, + "name" : "Bob Lied", + "drilldown" : "Bob Lied" + }, + { + "drilldown" : "David Ferrone", + "y" : 2, + "name" : "David Ferrone" + }, + { + "name" : "Mark Anderson", + "y" : 4, + "drilldown" : "Mark Anderson" + }, + { + "drilldown" : "Peter Meszaros", + "name" : "Peter Meszaros", + "y" : 2 + }, + { + "name" : "Stephen G. Lynn", + "y" : 3, + "drilldown" : "Stephen G. Lynn" + }, + { + "name" : "Thomas Kohler", + "y" : 4, + "drilldown" : "Thomas Kohler" + } + ], + "colorByPoint" : 1 } + ], + "tooltip" : { + "followPointer" : 1, + "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>", + "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>" + }, + "xAxis" : { + "type" : "category" + }, + "subtitle" : { + "text" : "[Champions: 6] Last updated at 2024-01-01 14:40:54 GMT" + }, + "title" : { + "text" : "The Weekly Challenge - 250" }, "drilldown" : { "series" : [ @@ -18,104 +58,14 @@ [ "Perl", 2 - ], - [ - "Blog", - 1 ] ], - "name" : "Ali Moradi", - "id" : "Ali Moradi" - }, - { - "data" : [ - [ - "Raku", - 2 - ], - [ - "Blog", - 1 - ] - ], - "name" : "Arne Sommer", - "id" : "Arne Sommer" - }, - { - "name" : "Athanasius", - "id" : "Athanasius", - "data" : [ - [ - "Perl", - 2 - ], - [ - "Raku", - 2 - ] - ] - }, - { - "data" : [ - [ - "Raku", - 1 - ] - ], - "id" : "BarrOff", - "name" : "BarrOff" - }, - { - "id" : "Bob Lied", "name" : "Bob Lied", - "data" : [ - [ - "Perl", - 2 - ], - [ - "Blog", - 1 - ] - ] - }, - { - "name" : "Bruce Gray", - "id" : "Bruce Gray", - "data" : [ - [ - "Raku", - 2 - ] - ] + "id" : "Bob Lied" }, { - "data" : [ - [ - "Perl", - 2 - ] - ], - "name" : "Cheok-Yin Fung", - "id" : "Cheok-Yin Fung" - }, - { - "data" : [ - [ - "Perl", - 2 - ], - [ - "Blog", - 1 - ] - ], - "name" : "Dave Jacoby", - "id" : "Dave Jacoby" - }, - { - "name" : "David Ferrone", "id" : "David Ferrone", + "name" : "David Ferrone", "data" : [ [ "Perl", @@ -124,96 +74,7 @@ ] }, { - "name" : "E. Choroba", - "id" : "E. Choroba", - "data" : [ - [ - "Perl", - 2 - ] - ] - }, - { - "name" : "James Smith", - "id" : "James Smith", - "data" : [ - [ - "Perl", - 2 - ], - [ - "Blog", - 1 - ] - ] - }, - { - "name" : "Jan Krnavek", - "id" : "Jan Krnavek", - "data" : [ - [ - "Raku", - 2 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 2 - ] - ], - "name" : "Jorg Sommrey", - "id" : "Jorg Sommrey" - }, - { - "name" : "Kjetil Skotheim", - "id" : "Kjetil Skotheim", - "data" : [ - [ - "Perl", - 2 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 1 - ], - [ - "Raku", - 1 - ], - [ - "Blog", - 1 - ] - ], - "name" : "Laurent Rosenfeld", - "id" : "Laurent Rosenfeld" - }, - { - "name" : "Lubos Kolouch", - "id" : "Lubos Kolouch", - "data" : [ - [ - "Perl", - 2 - ], - [ - "Raku", - 2 - ], - [ - "Blog", - 1 - ] - ] - }, - { + "id" : "Mark Anderson", "data" : [ [ "Raku", @@ -221,161 +82,37 @@ ], [ "Blog", - 8 - ] - ], - "name" : "Luca Ferrari", - "id" : "Luca Ferrari" - }, - { - "data" : [ - [ - "Raku", 2 ] ], - "id" : "Mark Anderson", "name" : "Mark Anderson" }, { - "id" : "Matthew Neleigh", - "name" : "Matthew Neleigh", - "data" : [ - [ - "Perl", - 2 - ] - ] - }, - { - "name" : "Nelo Tovar", - "id" : "Nelo Tovar", - "data" : [ - [ - "Perl", - 2 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 1 - ] - ], - "name" : "Niels van Dijke", - "id" : "Niels van Dijke" - }, - { - "name" : "Packy Anderson", - "id" : "Packy Anderson", - "data" : [ - [ - "Perl", - 2 - ], - [ - "Raku", - 2 - ], - [ - "Blog", - 1 - ] - ] - }, - { - "name" : "Peter Campbell Smith", - "id" : "Peter Campbell Smith", - "data" : [ - [ - "Perl", - 2 - ], - [ - "Blog", - 1 - ] - ] - }, - { "name" : "Peter Meszaros", - "id" : "Peter Meszaros", - "data" : [ - [ - "Perl", - 2 - ] - ] - }, - { - "id" : "Robbie Hatley", - "name" : "Robbie Hatley", "data" : [ [ "Perl", 2 - ], - [ - "Blog", - 1 - ] - ] - }, - { - "data" : [ - [ - "Raku", - 2 ] ], - "id" : "Robert Ransbottom", - "name" : "Robert Ransbottom" + "id" : "Peter Meszaros" }, { - "name" : "Roger Bell_West", - "id" : "Roger Bell_West", + "id" : "Stephen G. Lynn", + "name" : "Stephen G. Lynn", "data" : [ [ "Perl", 2 ], [ - "Raku", - 2 - ], - [ "Blog", 1 ] ] }, { - "data" : [ - [ - "Perl", - 2 - ] - ], - "name" : "Simon Green", - "id" : "Simon Green" - }, - { - "data" : [ - [ - "Perl", - 2 - ], - [ - "Blog", - 1 - ] - ], - "id" : "Stephen G. Lynn", - "name" : "Stephen G. Lynn" - }, - { + "name" : "Thomas Kohler", "data" : [ [ "Perl", @@ -386,227 +123,28 @@ 2 |
