aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad S Anwar <mohammad.anwar@yahoo.com>2022-08-23 14:33:57 +0100
committerMohammad S Anwar <mohammad.anwar@yahoo.com>2022-08-23 14:33:57 +0100
commitae0730af6ff5829bdc65d61f5cb4f6aea00c8bc1 (patch)
tree168b867ff094251b38d6aa1dd114c6701bfec787
parent1ab9d2ac6b8926e556427634cfc01b899f809bc5 (diff)
downloadperlweeklychallenge-club-ae0730af6ff5829bdc65d61f5cb4f6aea00c8bc1.tar.gz
perlweeklychallenge-club-ae0730af6ff5829bdc65d61f5cb4f6aea00c8bc1.tar.bz2
perlweeklychallenge-club-ae0730af6ff5829bdc65d61f5cb4f6aea00c8bc1.zip
- Added solutions by Robert DiCicco.
-rw-r--r--challenge-179/robert-dicicco/perl/ch-1.pl15
-rw-r--r--challenge-179/robert-dicicco/raku/ch-1.raku13
-rw-r--r--stats/pwc-current.json119
-rw-r--r--stats/pwc-language-breakdown-summary.json66
-rw-r--r--stats/pwc-language-breakdown.json1182
-rw-r--r--stats/pwc-leaders.json748
-rw-r--r--stats/pwc-summary-1-30.json94
-rw-r--r--stats/pwc-summary-121-150.json26
-rw-r--r--stats/pwc-summary-151-180.json58
-rw-r--r--stats/pwc-summary-181-210.json42
-rw-r--r--stats/pwc-summary-211-240.json120
-rw-r--r--stats/pwc-summary-241-270.json46
-rw-r--r--stats/pwc-summary-31-60.json52
-rw-r--r--stats/pwc-summary-61-90.json110
-rw-r--r--stats/pwc-summary-91-120.json48
-rw-r--r--stats/pwc-summary.json586
16 files changed, 1686 insertions, 1639 deletions
diff --git a/challenge-179/robert-dicicco/perl/ch-1.pl b/challenge-179/robert-dicicco/perl/ch-1.pl
new file mode 100644
index 0000000000..f9758424f0
--- /dev/null
+++ b/challenge-179/robert-dicicco/perl/ch-1.pl
@@ -0,0 +1,15 @@
+#!perl.exe
+
+use strict;
+use warnings;
+use Lingua::EN::Numbers qw/num2en_ordinal/;
+
+# AUTHOR: Robert DiCicco
+# DATE: 2022-08-22
+# Challenge 179 Ordinal Number Spelling ( Perl )
+
+my @arr = (11,62,99);
+
+foreach (@arr) {
+ print "$_ => ", num2en_ordinal($_), "\n";
+}
diff --git a/challenge-179/robert-dicicco/raku/ch-1.raku b/challenge-179/robert-dicicco/raku/ch-1.raku
new file mode 100644
index 0000000000..c9a06af2e0
--- /dev/null
+++ b/challenge-179/robert-dicicco/raku/ch-1.raku
@@ -0,0 +1,13 @@
+use v6;
+
+use Lingua::EN::Numbers :short;
+
+# AUTHOR: Robert DiCicco
+# DATE: 2022-08-22
+# Challenge 179 Ordinal Number Spelling ( Raku )
+
+my @arr = 11,62,99;
+
+for @arr {
+ print "$_ => ", ord-n($_), "\n";
+}
diff --git a/stats/pwc-current.json b/stats/pwc-current.json
index fe8e78489f..41085d8065 100644
--- a/stats/pwc-current.json
+++ b/stats/pwc-current.json
@@ -1,52 +1,39 @@
{
- "chart" : {
- "type" : "column"
- },
- "legend" : {
- "enabled" : 0
+ "title" : {
+ "text" : "The Weekly Challenge - 179"
},
- "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/>"
+ "subtitle" : {
+ "text" : "[Champions: 8] Last updated at 2022-08-23 13:32:19 GMT"
},
"yAxis" : {
"title" : {
"text" : "Total Solutions"
}
},
- "plotOptions" : {
- "series" : {
- "borderWidth" : 0,
- "dataLabels" : {
- "enabled" : 1,
- "format" : "{point.y}"
- }
- }
- },
"drilldown" : {
"series" : [
{
"id" : "Dario Mazzeo",
- "name" : "Dario Mazzeo",
"data" : [
[
"Perl",
1
]
- ]
+ ],
+ "name" : "Dario Mazzeo"
},
{
- "id" : "E. Choroba",
- "name" : "E. Choroba",
"data" : [
[
"Perl",
2
]
- ]
+ ],
+ "name" : "E. Choroba",
+ "id" : "E. Choroba"
},
{
+ "id" : "Luca Ferrari",
"data" : [
[
"Raku",
@@ -57,8 +44,7 @@
6
]
],
- "name" : "Luca Ferrari",
- "id" : "Luca Ferrari"
+ "name" : "Luca Ferrari"
},
{
"data" : [
@@ -67,11 +53,24 @@
2
]
],
- "id" : "Mark Anderson",
- "name" : "Mark Anderson"
+ "name" : "Mark Anderson",
+ "id" : "Mark Anderson"
+ },
+ {
+ "id" : "Robert DiCicco",
+ "name" : "Robert DiCicco",
+ "data" : [
+ [
+ "Perl",
+ 1
+ ],
+ [
+ "Raku",
+ 1
+ ]
+ ]
},
{
- "id" : "Roger Bell_West",
"name" : "Roger Bell_West",
"data" : [
[
@@ -82,21 +81,21 @@
"Raku",
2
]
- ]
+ ],
+ "id" : "Roger Bell_West"
},
{
"name" : "Simon Proctor",
- "id" : "Simon Proctor",
"data" : [
[
"Raku",
1
]
- ]
+ ],
+ "id" : "Simon Proctor"
},
{
"name" : "W. Luis Mochan",
- "id" : "W. Luis Mochan",
"data" : [
[
"Perl",
@@ -106,13 +105,25 @@
"Blog",
1
]
- ]
+ ],
+ "id" : "W. Luis Mochan"
}
]
},
+ "plotOptions" : {
+ "series" : {
+ "dataLabels" : {
+ "enabled" : 1,
+ "format" : "{point.y}"
+ },
+ "borderWidth" : 0
+ }
+ },
+ "legend" : {
+ "enabled" : 0
+ },
"series" : [
{
- "name" : "The Weekly Challenge - 179",
"colorByPoint" : 1,
"data" : [
{
@@ -126,40 +137,48 @@
"name" : "E. Choroba"
},
{
- "y" : 8,
"drilldown" : "Luca Ferrari",
- "name" : "Luca Ferrari"
+ "name" : "Luca Ferrari",
+ "y" : 8
},
{
- "y" : 2,
"drilldown" : "Mark Anderson",
- "name" : "Mark Anderson"
+ "name" : "Mark Anderson",
+ "y" : 2
},
{
+ "name" : "Robert DiCicco",
+ "drilldown" : "Robert DiCicco",
+ "y" : 2
+ },
+ {
+ "y" : 4,
"name" : "Roger Bell_West",
- "drilldown" : "Roger Bell_West",
- "y" : 4
+ "drilldown" : "Roger Bell_West"
},
{
"y" : 1,
- "drilldown" : "Simon Proctor",
- "name" : "Simon Proctor"
+ "name" : "Simon Proctor",
+ "drilldown" : "Simon Proctor"
},
{
- "y" : 3,
+ "drilldown" : "W. Luis Mochan",
"name" : "W. Luis Mochan",
- "drilldown" : "W. Luis Mochan"
+ "y" : 3
}
- ]
+ ],
+ "name" : "The Weekly Challenge - 179"
}
],
- "title" : {
- "text" : "The Weekly Challenge - 179"
- },
"xAxis" : {
"type" : "category"
},
- "subtitle" : {
- "text" : "[Champions: 7] Last updated at 2022-08-23 13:22:27 GMT"
+ "chart" : {
+ "type" : "column"
+ },
+ "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/>"
}
}
diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json
index a8874a5ea7..bc5319eb01 100644
--- a/stats/pwc-language-breakdown-summary.json
+++ b/stats/pwc-language-breakdown-summary.json
@@ -1,21 +1,37 @@
{
- "tooltip" : {
- "pointFormat" : "<b>{point.y:.0f}</b>"
- },
- "legend" : {
- "enabled" : "false"
- },
"yAxis" : {
- "min" : 0,
"title" : {
"text" : null
- }
+ },
+ "min" : 0
+ },
+ "subtitle" : {
+ "text" : "Last updated at 2022-08-23 13:32:19 GMT"
+ },
+ "title" : {
+ "text" : "The Weekly Challenge Contributions [2019 - 2022]"
+ },
+ "tooltip" : {
+ "pointFormat" : "<b>{point.y:.0f}</b>"
},
"chart" : {
"type" : "column"
},
"series" : [
{
+ "name" : "Contributions",
+ "dataLabels" : {
+ "color" : "#FFFFFF",
+ "style" : {
+ "fontFamily" : "Verdana, sans-serif",
+ "fontSize" : "13px"
+ },
+ "y" : 10,
+ "rotation" : -90,
+ "format" : "{point.y:.0f}",
+ "enabled" : "true",
+ "align" : "right"
+ },
"data" : [
[
"Blog",
@@ -23,41 +39,25 @@
],
[
"Perl",
- 8680
+ 8681
],
[
"Raku",
- 5189
+ 5190
]
- ],
- "dataLabels" : {
- "align" : "right",
- "y" : 10,
- "enabled" : "true",
- "rotation" : -90,
- "format" : "{point.y:.0f}",
- "color" : "#FFFFFF",
- "style" : {
- "fontFamily" : "Verdana, sans-serif",
- "fontSize" : "13px"
- }
- },
- "name" : "Contributions"
+ ]
}
],
- "title" : {
- "text" : "The Weekly Challenge Contributions [2019 - 2022]"
- },
"xAxis" : {
+ "type" : "category",
"labels" : {
"style" : {
- "fontFamily" : "Verdana, sans-serif",
- "fontSize" : "13px"
+ "fontSize" : "13px",
+ "fontFamily" : "Verdana, sans-serif"
}
- },
- "type" : "category"
+ }
},
- "subtitle" : {
- "text" : "Last updated at 2022-08-23 13:22:26 GMT"
+ "legend" : {
+ "enabled" : "false"
}
}
diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json
index 6d9f7f4bdc..a66b5a1a69 100644
--- a/stats/pwc-language-breakdown.json
+++ b/stats/pwc-language-breakdown.json
@@ -1,18 +1,4 @@
{
- "xAxis" : {
- "type" : "category"
- },
- "subtitle" : {
- "text" : "Click the columns to drilldown the language breakdown. Last updated at 2022-08-23 13:22:27 GMT"
- },
- "chart" : {
- "type" : "column"
- },
- "tooltip" : {
- "followPointer" : "true",
- "pointFormat" : "<span style=\"color:{point.color}\">Challenge {point.name}</span>: <b>{point.y:f}</b><br/>",
- "headerFormat" : "<span style=\"font-size:11px\"></span>"
- },
"yAxis" : {
"title" : {
"text" : "Total Solutions"
@@ -20,19 +6,17 @@
},
"plotOptions" : {
"series" : {
- "borderWidth" : 0,
"dataLabels" : {
"format" : "{point.y}",
"enabled" : 1
- }
+ },
+ "borderWidth" : 0
}
},
- "legend" : {
- "enabled" : "false"
- },
"drilldown" : {
"series" : [
{
+ "name" : "001",
"data" : [
[
"Perl",
@@ -47,12 +31,9 @@
11
]
],
- "name" : "001",
"id" : "001"
},
{
- "id" : "002",
- "name" : "002",
"data" : [
[
"Perl",
@@ -66,11 +47,13 @@
"Blog",
10
]
- ]
+ ],
+ "name" : "002",
+ "id" : "002"
},
{
- "name" : "003",
"id" : "003",
+ "name" : "003",
"data" : [
[
"Perl",
@@ -87,8 +70,6 @@
]
},
{
- "id" : "004",
- "name" : "004",
"data" : [
[
"Perl",
@@ -102,11 +83,11 @@
"Blog",
10
]
- ]
+ ],
+ "name" : "004",
+ "id" : "004"
},
{
- "name" : "005",
- "id" : "005",
"data" : [
[
"Perl",
@@ -120,9 +101,13 @@
"Blog",
12
]
- ]
+ ],
+ "name" : "005",
+ "id" : "005"
},
{
+ "id" : "006",
+ "name" : "006",
"data" : [
[
"Perl",
@@ -136,12 +121,9 @@
"Blog",
7
]
- ],
- "id" : "006",
- "name" : "006"
+ ]
},
{
- "name" : "007",
"id" : "007",
"data" : [
[
@@ -156,9 +138,11 @@
"Blog",
10
]
- ]
+ ],
+ "name" : "007"
},
{
+ "id" : "008",
"data" : [
[
"Perl",
@@ -173,10 +157,10 @@
12
]
],
- "name" : "008",
- "id" : "008"
+ "name" : "008"
},
{
+ "name" : "009",
"data" : [
[
"Perl",
@@ -191,12 +175,9 @@
13
]
],
- "name" : "009",
"id" : "009"
},
{
- "id" : "010",
- "name" : "010",
"data" : [
[
"Perl",
@@ -210,9 +191,13 @@
"Blog",
11
]
- ]
+ ],
+ "name" : "010",
+ "id" : "010"
},
{
+ "id" : "011",
+ "name" : "011",
"data" : [
[
"Perl",
@@ -226,11 +211,10 @@
"Blog",
10
]
- ],
- "id" : "011",
- "name" : "011"
+ ]
},
{
+ "name" : "012",
"data" : [
[
"Perl",
@@ -245,10 +229,10 @@
11
]
],
- "id" : "012",
- "name" : "012"
+ "id" : "012"
},
{
+ "id" : "013",
"data" : [
[
"Perl",
@@ -263,12 +247,10 @@
13
]
],
- "name" : "013",
- "id" : "013"
+ "name" : "013"
},
{
"name" : "014",
- "id" : "014",
"data" : [
[
"Perl",
@@ -282,9 +264,11 @@
"Blog",
15
]
- ]
+ ],
+ "id" : "014"
},
{
+ "id" : "015",
"data" : [
[
"Perl",
@@ -299,10 +283,10 @@
15
]
],
- "id" : "015",
"name" : "015"
},
{
+ "id" : "016",
"data" : [
[
"Perl",
@@ -317,10 +301,11 @@
12
]
],
- "id" : "016",
"name" : "016"
},
{
+ "id" : "017",
+ "name" : "017",
"data" : [
[
"Perl",
@@ -334,9 +319,7 @@
"Blog",
12
]
- ],
- "name" : "017",
- "id" : "017"
+ ]
},
{
"id" : "018",
@@ -357,8 +340,6 @@
]
},
{
- "name" : "019",
- "id" : "019",
"data" : [
[
"Perl",
@@ -372,9 +353,13 @@
"Blog",
13
]
- ]
+ ],
+ "name" : "019",
+ "id" : "019"
},
{
+ "id" : "020",
+ "name" : "020",
"data" : [
[
"Perl",
@@ -388,11 +373,11 @@
"Blog",
13
]
- ],
- "id" : "020",
- "name" : "020"
+ ]
},
{
+ "id" : "021",
+ "name" : "021",
"data" : [
[
"Perl",
@@ -406,11 +391,10 @@
"Blog",
10
]
- ],
- "name" : "021",
- "id" : "021"
+ ]
},
{
+ "name" : "022",
"data" : [
[
"Perl",
@@ -425,10 +409,10 @@
10
]
],
- "name" : "022",
"id" : "022"
},
{
+ "name" : "023",
"data" : [
[
"Perl",
@@ -443,10 +427,10 @@
12
]
],
- "name" : "023",
"id" : "023"
},
{
+ "name" : "024",
"data" : [
[
"Perl",
@@ -461,10 +445,10 @@
11
]
],
- "id" : "024",
- "name" : "024"
+ "id" : "024"
},
{
+ "id" : "025",
"data" : [
[
"Perl",
@@ -479,8 +463,7 @@
12
]
],
- "name" : "025",
- "id" : "025"
+ "name" : "025"
},
{
"data" : [
@@ -501,7 +484,6 @@
"id" : "026"
},
{
- "id" : "027",
"name" : "027",
"data" : [
[
@@ -516,11 +498,11 @@
"Blog",
9
]
- ]
+ ],
+ "id" : "027"
},
{
"name" : "028",
- "id" : "028",
"data" : [
[
"Perl",
@@ -534,9 +516,11 @@
"Blog",
9
]
- ]
+ ],
+ "id" : "028"
},
{
+ "name" : "029",
"data" : [
[
"Perl",
@@ -551,11 +535,9 @@
12
]
],
- "name" : "029",
"id" : "029"
},
{
- "name" : "030",
"id" : "030",
"data" : [
[
@@ -570,7 +552,8 @@
"Blog",
10
]
- ]
+ ],
+ "name" : "030"
},
{
"data" : [
@@ -587,10 +570,11 @@
9
]
],
- "id" : "031",
- "name" : "031"
+ "name" : "031",
+ "id" : "031"
},
{
+ "name" : "032",
"data" : [
[
"Perl",
@@ -605,10 +589,10 @@
10
]
],
- "name" : "032",
"id" : "032"
},
{
+ "id" : "033",
"data" : [
[
"Perl",
@@ -623,10 +607,10 @@
10
]
],
- "name" : "033",
- "id" : "033"
+ "name" : "033"
},
{
+ "id" : "034",
"data" : [
[
"Perl",
@@ -641,10 +625,11 @@
11
]
],
- "id" : "034",
"name" : "034"
},
{
+ "id" : "035",
+ "name" : "035",
"data" : [
[
"Perl",
@@ -658,12 +643,9 @@
"Blog",
9
]
- ],
- "name" : "035",
- "id" : "035"
+ ]
},
{
- "id" : "036",
"name" : "036",
"data" : [
[
@@ -678,11 +660,10 @@
"Blog",
11
]
- ]
+ ],
+ "id" : "036"
},
{
- "name" : "037",
- "id" : "037",
"data" : [
[
"Perl",
@@ -696,9 +677,12 @@
"Blog",
9
]
- ]
+ ],
+ "name" : "037",
+ "id" : "037"
},
{
+ "id" : "038",
"data" : [
[
"Perl",
@@ -713,10 +697,10 @@
12
]
],
- "id" : "038",
"name" : "038"
},
{
+ "id" : "039",
"data" : [
[
"Perl",
@@ -731,8 +715,7 @@
12
]
],
- "name" : "039",
- "id" : "039"
+ "name" : "039"
},
{
"data" : [
@@ -753,6 +736,8 @@
"id" : "040"
},
{
+ "id" : "041",
+ "name" : "041",
"data" : [
[
"Perl",
@@ -766,11 +751,10 @@
"Blog",
9
]
- ],
- "name" : "041",
- "id" : "041"
+ ]
},
{
+ "id" : "042",
"data" : [
[
"Perl",
@@ -785,7 +769,6 @@
11
]
],
- "id" : "042",
"name" : "042"
},
{
@@ -803,10 +786,11 @@
11
]
],
- "id" : "043",
- "name" : "043"
+ "name" : "043",
+ "id" : "043"
},
{
+ "id" : "044",
"data" : [
[
"Perl",
@@ -821,12 +805,11 @@
11
]
],
- "id" : "044",
"name" : "044"
},
{
- "name" : "045",
"id" : "045",
+ "name" : "045",
"data" : [
[
"Perl",
@@ -861,6 +844,7 @@
"id" : "046"
},
{
+ "name" : "047",
"data" : [
[
"Perl",
@@ -875,12 +859,10 @@
10
]
],
- "id" : "047",
- "name" : "047"
+ "id" : "047"
},
{
"id" : "048",
- "name" : "048",
"data" : [
[
"Perl",
@@ -894,11 +876,10 @@
"Blog",
12
]
- ]
+ ],
+ "name" : "048"
},
{
- "name" : "049",
- "id" : "049",
"data" : [
[
"Perl",
@@ -912,11 +893,11 @@
"Blog",
12
]
- ]
+ ],
+ "name" : "049",
+ "id" : "049"
},
{
- "id" : "050",
- "name" : "050",
"data" : [
[
"Perl",
@@ -930,10 +911,11 @@
"Blog",
12
]
- ]
+ ],
+ "name" : "050",
+ "id" : "050"
},
{
- "name" : "051",
"id" : "051",
"data" : [
[
@@ -948,11 +930,10 @@
"Blog",
11
]
- ]
+ ],
+ "name" : "051"
},
{
- "id" : "052",
- "name" : "052",
"data" : [
[
"Perl",
@@ -966,10 +947,11 @@
"Blog",
14
]
- ]
+ ],
+ "name" : "052",
+ "id" : "052"
},
{
- "name" : "053",
"id" : "053",
"data" : [
[
@@ -984,9 +966,11 @@
"Blog",
15
]
- ]
+ ],
+ "name" : "053"
},
{
+ "name" : "054",
"data" : [
[
"Perl",
@@ -1001,10 +985,10 @@
18
]
],
- "name" : "054",
"id" : "054"
},
{
+ "id" : "055",
"data" : [
[
"Perl",
@@ -1019,12 +1003,9 @@
14
]
],
- "name" : "055",
- "id" : "055"
+ "name" : "055"
},
{
- "id" : "056",
- "name" : "056",
"data" : [
[
"Perl",
@@ -1038,11 +1019,12 @@
"Blog",
16
]
- ]
+ ],
+ "name" : "056",
+ "id" : "056"
},
{
"name" : "057",
- "id" : "057",
"data" : [
[
"Perl",
@@ -1056,9 +1038,11 @@
"Blog",
15
]
- ]
+ ],
+ "id" : "057"
},
{
+ "name" : "058",
"data" : [
[
"Perl",
@@ -1073,7 +1057,6 @@
13
]
],
- "name" : "058",
"id" : "058"
},
{
@@ -1091,10 +1074,12 @@
16
]
],