diff options
| author | Mohammad S Anwar <mohammad.anwar@yahoo.com> | 2022-09-29 16:44:25 +0100 |
|---|---|---|
| committer | Mohammad S Anwar <mohammad.anwar@yahoo.com> | 2022-09-29 16:44:25 +0100 |
| commit | 6b649fa7eff484eb466e3acd9482918e9f361968 (patch) | |
| tree | a32b6b6e7b21aab5d0414b23132d9f3b022da49a | |
| parent | 1a881a201ede3ebed4a159acbf2959c3a6976507 (diff) | |
| download | perlweeklychallenge-club-6b649fa7eff484eb466e3acd9482918e9f361968.tar.gz perlweeklychallenge-club-6b649fa7eff484eb466e3acd9482918e9f361968.tar.bz2 perlweeklychallenge-club-6b649fa7eff484eb466e3acd9482918e9f361968.zip | |
- Added solution by Dario Mazzeo.
| -rwxr-xr-x | challenge-184/dario-mazzeo/perl/ch-1.pl | 14 | ||||
| -rw-r--r-- | stats/pwc-current.json | 169 | ||||
| -rw-r--r-- | stats/pwc-language-breakdown-summary.json | 58 | ||||
| -rw-r--r-- | stats/pwc-language-breakdown.json | 1274 | ||||
| -rw-r--r-- | stats/pwc-leaders.json | 764 | ||||
| -rw-r--r-- | stats/pwc-summary-1-30.json | 102 | ||||
| -rw-r--r-- | stats/pwc-summary-121-150.json | 90 | ||||
| -rw-r--r-- | stats/pwc-summary-151-180.json | 122 | ||||
| -rw-r--r-- | stats/pwc-summary-181-210.json | 34 | ||||
| -rw-r--r-- | stats/pwc-summary-211-240.json | 92 | ||||
| -rw-r--r-- | stats/pwc-summary-241-270.json | 112 | ||||
| -rw-r--r-- | stats/pwc-summary-31-60.json | 42 | ||||
| -rw-r--r-- | stats/pwc-summary-61-90.json | 114 | ||||
| -rw-r--r-- | stats/pwc-summary-91-120.json | 44 | ||||
| -rw-r--r-- | stats/pwc-summary.json | 42 |
15 files changed, 1551 insertions, 1522 deletions
diff --git a/challenge-184/dario-mazzeo/perl/ch-1.pl b/challenge-184/dario-mazzeo/perl/ch-1.pl new file mode 100755 index 0000000000..ccd4d736e9 --- /dev/null +++ b/challenge-184/dario-mazzeo/perl/ch-1.pl @@ -0,0 +1,14 @@ +# THE WEEKLY CHALLENGE - 184
+# Task 1: Sequence Number
+# Autore: Dario Mazzeo
+
+my @list = ( 'ab1234', 'cd5678', 'ef1342');
+
+my $seq=0;
+my @listout=();
+foreach my $i (@list){
+ $i=~/(\w\w)(\d{4})/;
+ push (@listout, sprintf("%02d%d", $seq++, $2));
+}
+
+print "@listout\n";
\ No newline at end of file diff --git a/stats/pwc-current.json b/stats/pwc-current.json index a14da789d9..4b4facc647 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,48 +1,67 @@ { - "title" : { - "text" : "The Weekly Challenge - 184" + "plotOptions" : { + "series" : { + "borderWidth" : 0, + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + } + } + }, + "chart" : { + "type" : "column" }, "drilldown" : { "series" : [ { - "id" : "Branislav Zahradnik", "data" : [ [ "Perl", 2 ] ], - "name" : "Branislav Zahradnik" + "name" : "Branislav Zahradnik", + "id" : "Branislav Zahradnik" }, { + "name" : "Cheok-Yin Fung", + "id" : "Cheok-Yin Fung", "data" : [ [ "Perl", 2 ] + ] + }, + { + "data" : [ + [ + "Perl", + 1 + ] ], - "name" : "Cheok-Yin Fung", - "id" : "Cheok-Yin Fung" + "id" : "Dario Mazzeo", + "name" : "Dario Mazzeo" }, { - "id" : "Dave Cross", "data" : [ [ "Perl", 2 ] ], + "id" : "Dave Cross", "name" : "Dave Cross" }, { + "id" : "E. Choroba", + "name" : "E. Choroba", "data" : [ [ "Perl", 2 ] - ], - "name" : "E. Choroba", - "id" : "E. Choroba" + ] }, { "data" : [ @@ -69,16 +88,18 @@ "name" : "James Smith" }, { - "name" : "Kjetil Skotheim", "data" : [ [ "Perl", 2 ] ], - "id" : "Kjetil Skotheim" + "id" : "Kjetil Skotheim", + "name" : "Kjetil Skotheim" }, { + "name" : "Luca Ferrari", + "id" : "Luca Ferrari", "data" : [ [ "Raku", @@ -88,51 +109,51 @@ "Blog", 6 ] - ], - "id" : "Luca Ferrari", - "name" : "Luca Ferrari" + ] }, { - "id" : "Mark Anderson", "data" : [ [ "Raku", 2 ] ], - "name" : "Mark Anderson" + "name" : "Mark Anderson", + "id" : "Mark Anderson" }, { + "name" : "Matthew Neleigh", "id" : "Matthew Neleigh", "data" : [ [ "Perl", 2 ] - ], - "name" : "Matthew Neleigh" + ] }, { "id" : "Mohammad S Anwar", + "name" : "Mohammad S Anwar", "data" : [ [ "Perl", 2 ] - ], - "name" : "Mohammad S Anwar" + ] }, { - "name" : "Niels van Dijke", "data" : [ [ "Perl", 2 ] ], + "name" : "Niels van Dijke", "id" : "Niels van Dijke" }, { + "id" : "Peter Campbell Smith", + "name" : "Peter Campbell Smith", "data" : [ [ "Perl", @@ -142,11 +163,11 @@ "Blog", 1 ] - ], - "name" : "Peter Campbell Smith", - "id" : "Peter Campbell Smith" + ] }, { + "name" : "Robert DiCicco", + "id" : "Robert DiCicco", "data" : [ [ "Perl", @@ -156,12 +177,9 @@ "Raku", 1 ] - ], - "id" : "Robert DiCicco", - "name" : "Robert DiCicco" + ] }, { - "name" : "Roger Bell_West", "data" : [ [ "Perl", @@ -176,10 +194,12 @@ 1 ] ], - "id" : "Roger Bell_West" + "id" : "Roger Bell_West", + "name" : "Roger Bell_West" }, { "name" : "Stephen G. Lynn", + "id" : "Stephen G. Lynn", "data" : [ [ "Perl", @@ -193,10 +213,11 @@ "Blog", 1 ] - ], - "id" : "Stephen G. Lynn" + ] }, { + "name" : "Ulrich Rieke", + "id" : "Ulrich Rieke", "data" : [ [ "Perl", @@ -206,11 +227,11 @@ "Raku", 2 ] - ], - "id" : "Ulrich Rieke", - "name" : "Ulrich Rieke" + ] }, { + "id" : "W. Luis Mochan", + "name" : "W. Luis Mochan", "data" : [ [ "Perl", @@ -220,30 +241,17 @@ "Blog", 1 ] - ], - "id" : "W. Luis Mochan", - "name" : "W. Luis Mochan" + ] } ] }, - "chart" : { - "type" : "column" - }, - "xAxis" : { - "type" : "category" - }, - "plotOptions" : { - "series" : { - "dataLabels" : { - "format" : "{point.y}", - "enabled" : 1 - }, - "borderWidth" : 0 - } + "tooltip" : { + "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/>", + "followPointer" : 1 }, "series" : [ { - "name" : "The Weekly Challenge - 184", "data" : [ { "drilldown" : "Branislav Zahradnik", @@ -256,9 +264,14 @@ "drilldown" : "Cheok-Yin Fung" }, { - "drilldown" : "Dave Cross", + "drilldown" : "Dario Mazzeo", + "name" : "Dario Mazzeo", + "y" : 1 + }, + { + "name" : "Dave Cross", "y" : 2, - "name" : "Dave Cross" + "drilldown" : "Dave Cross" }, { "y" : 2, @@ -277,8 +290,8 @@ }, { "drilldown" : "Kjetil Skotheim", - "y" : 2, - "name" : "Kjetil Skotheim" + "name" : "Kjetil Skotheim", + "y" : 2 }, { "y" : 8, @@ -292,8 +305,8 @@ }, { "drilldown" : "Matthew Neleigh", - "name" : "Matthew Neleigh", - "y" : 2 + "y" : 2, + "name" : "Matthew Neleigh" }, { "name" : "Mohammad S Anwar", @@ -302,13 +315,13 @@ }, { "drilldown" : "Niels van Dijke", - "name" : "Niels van Dijke", - "y" : 2 + "y" : 2, + "name" : "Niels van Dijke" }, { "drilldown" : "Peter Campbell Smith", - "name" : "Peter Campbell Smith", - "y" : 3 + "y" : 3, + "name" : "Peter Campbell Smith" }, { "drilldown" : "Robert DiCicco", @@ -316,9 +329,9 @@ "y" : 2 }, { - "drilldown" : "Roger Bell_West", + "y" : 5, "name" : "Roger Bell_West", - "y" : 5 + "drilldown" : "Roger Bell_West" }, { "drilldown" : "Stephen G. Lynn", @@ -327,32 +340,34 @@ }, { "drilldown" : "Ulrich Rieke", - "y" : 4, - "name" : "Ulrich Rieke" + "name" : "Ulrich Rieke", + "y" : 4 }, { - "drilldown" : "W. Luis Mochan", "y" : 3, - "name" : "W. Luis Mochan" + "name" : "W. Luis Mochan", + "drilldown" : "W. Luis Mochan" } ], - "colorByPoint" : 1 + "colorByPoint" : 1, + "name" : "The Weekly Challenge - 184" } ], + "subtitle" : { + "text" : "[Champions: 19] Last updated at 2022-09-29 15:41:33 GMT" + }, "yAxis" : { "title" : { "text" : "Total Solutions" } }, - "subtitle" : { - "text" : "[Champions: 18] Last updated at 2022-09-29 09:27:55 GMT" + "title" : { + "text" : "The Weekly Challenge - 184" + }, + "xAxis" : { + "type" : "category" }, "legend" : { "enabled" : 0 - }, - "tooltip" : { - "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>", - "followPointer" : 1, - "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>" } } diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index b734028f96..a49bfad072 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -1,31 +1,46 @@ { - "tooltip" : { - "pointFormat" : "<b>{point.y:.0f}</b>" - }, "legend" : { "enabled" : "false" }, + "xAxis" : { + "labels" : { + "style" : { + "fontSize" : "13px", + "fontFamily" : "Verdana, sans-serif" + } + }, + "type" : "category" + }, "yAxis" : { - "min" : 0, "title" : { "text" : null - } + }, + "min" : 0 + }, + "subtitle" : { + "text" : "Last updated at 2022-09-29 15:41:33 GMT" + }, + "title" : { + "text" : "The Weekly Challenge Contributions [2019 - 2022]" + }, + "tooltip" : { + "pointFormat" : "<b>{point.y:.0f}</b>" }, "series" : [ { + "name" : "Contributions", "dataLabels" : { - "format" : "{point.y:.0f}", - "y" : 10, - "enabled" : "true", + "color" : "#FFFFFF", + "align" : "right", "style" : { - "fontFamily" : "Verdana, sans-serif", - "fontSize" : "13px" + "fontSize" : "13px", + "fontFamily" : "Verdana, sans-serif" }, - "align" : "right", - "color" : "#FFFFFF", + "y" : 10, + "format" : "{point.y:.0f}", + "enabled" : "true", "rotation" : -90 }, - "name" : "Contributions", "data" : [ [ "Blog", @@ -33,7 +48,7 @@ ], [ "Perl", - 8943 + 8944 ], [ "Raku", @@ -42,21 +57,6 @@ ] } ], - "subtitle" : { - "text" : "Last updated at 2022-09-29 09:27:55 GMT" - }, - "xAxis" : { - "type" : "category", - "labels" : { - "style" : { - "fontFamily" : "Verdana, sans-serif", - "fontSize" : "13px" - } - } - }, - "title" : { - "text" : "The Weekly Challenge Contributions [2019 - 2022]" - }, "chart" : { "type" : "column" } diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json index a3a9a5d45d..e6817c50c9 100644 --- a/stats/pwc-language-breakdown.json +++ b/stats/pwc-language-breakdown.json @@ -1,22 +1,21 @@ { - "xAxis" : { - "type" : "category" - }, "plotOptions" : { "series" : { + "borderWidth" : 0, "dataLabels" : { "enabled" : 1, "format" : "{point.y}" - }, - "borderWidth" : 0 + } } }, - "title" : { - "text" : "The Weekly Challenge Language" + "chart" : { + "type" : "column" }, "drilldown" : { "series" : [ { + "name" : "001", + "id" : "001", "data" : [ [ "Perl", @@ -30,11 +29,11 @@ "Blog", 11 ] - ], - "id" : "001", - "name" : "001" + ] }, { + "id" : "002", + "name" : "002", "data" : [ [ "Perl", @@ -48,11 +47,11 @@ "Blog", 10 ] - ], - "id" : "002", - "name" : "002" + ] }, { + "id" : "003", + "name" : "003", "data" : [ [ "Perl", @@ -66,11 +65,11 @@ "Blog", 9 ] - ], - "id" : "003", - "name" : "003" + ] }, { + "id" : "004", + "name" : "004", "data" : [ [ "Perl", @@ -84,12 +83,11 @@ "Blog", 10 ] - ], - "id" : "004", - "name" : "004" + ] }, { "id" : "005", + "name" : "005", "data" : [ [ "Perl", @@ -103,8 +101,7 @@ "Blog", 12 ] - ], - "name" : "005" + ] }, { "data" : [ @@ -125,7 +122,6 @@ "name" : "006" }, { - "name" : "007", "data" : [ [ "Perl", @@ -140,6 +136,7 @@ 10 ] ], + "name" : "007", "id" : "007" }, { @@ -161,7 +158,6 @@ "name" : "008" }, { - "name" : "009", "data" : [ [ "Perl", @@ -176,10 +172,10 @@ 13 ] ], + "name" : "009", "id" : "009" }, { - "id" : "010", "data" : [ [ "Perl", @@ -194,10 +190,12 @@ 11 ] ], + "id" : "010", "name" : "010" }, { "name" : "011", + "id" : "011", "data" : [ [ "Perl", @@ -211,10 +209,10 @@ "Blog", 10 ] - ], - "id" : "011" + ] }, { + "id" : "012", "name" : "012", "data" : [ [ @@ -229,11 +227,11 @@ "Blog", 11 ] - ], - "id" : "012" + ] }, { "id" : "013", + "name" : "013", "data" : [ [ "Perl", @@ -247,8 +245,7 @@ "Blog", 13 ] - ], - "name" : "013" + ] }, { "data" : [ @@ -283,11 +280,10 @@ 15 ] ], - "id" : "015", - "name" : "015" + "name" : "015", + "id" : "015" }, { - "name" : "016", "data" : [ [ "Perl", @@ -302,9 +298,11 @@ 12 ] ], + "name" : "016", "id" : "016" }, { + "id" : "017", "name" : "017", "data" : [ [ @@ -319,8 +317,7 @@ "Blog", 12 ] - ], - "id" : "017" + ] }, { "data" : [ @@ -337,10 +334,11 @@ 14 ] ], - "id" : "018", - "name" : "018" + "name" : "018", + "id" : "018" }, { + "id" : "019", "name" : "019", "data" : [ [ @@ -355,8 +353,7 @@ "Blog", 13 ] - ], - "id" : "019" + ] }, { "data" : [ @@ -373,10 +370,12 @@ 13 ] ], - "id" : "020", - "name" : "020" + "name" : "020", + "id" : "020" }, { + "name" : "021", + "id" : "021", "data" : [ [ "Perl", @@ -390,9 +389,7 @@ "Blog", 10 ] - ], - "id" : "021", - "name" : "021" + ] }, { "data" : [ @@ -409,8 +406,8 @@ 10 ] ], - "id" : "022", - "name" : "022" + "name" : "022", + "id" : "022" }, { "data" : [ @@ -427,10 +424,12 @@ 12 ] ], - "name" : "023", - "id" : "023" + "id" : "023", + "name" : "023" }, { + "id" : "024", + "name" : "024", "data" : [ [ "Perl", @@ -444,12 +443,9 @@ "Blog", 11 ] - ], - "name" : "024", - "id" : "024" + ] }, { - "id" : "025", "data" : [ [ "Perl", @@ -464,9 +460,12 @@ 12 ] ], - "name" : "025" + "name" : "025", + "id" : "025" }, { + "id" : "026", + "name" : "026", "data" : [ [ "Perl", @@ -480,9 +479,7 @@ "Blog", 10 ] - ], - "name" : "026", - "id" : "026" + ] }, { "data" : [ @@ -499,11 +496,10 @@ 9 ] ], - "name" : "027", - "id" : "027" + "id" : "027", + "name" : "027" }, { - "id" : "028", "data" : [ [ "Perl", @@ -518,10 +514,10 @@ 9 ] ], - "name" : "028" + "name" : "028", + "id" : "028" }, { - "id" : "029", "data" : [ [ "Perl", @@ -536,9 +532,11 @@ 12 ] ], + "id" : "029", "name" : "029" }, { + "id" : "030", "name" : "030", "data" : [ [ @@ -553,10 +551,11 @@ "Blog", 10 ] - ], - "id" : "030" + ] }, { + "id" : "031", + "name" : "031", "data" : [ [ "Perl", @@ -570,11 +569,11 @@ "Blog", 9 ] - ], - "name" : "031", - "id" : "031" + ] }, { + "name" : "032", + "id" : "032", "data" : [ [ "Perl", @@ -588,9 +587,7 @@ "Blog", 10 ] - ], - "id" : "032", - "name" : "032" + ] }, { "data" : [ @@ -607,10 +604,12 @@ 10 ] ], - "id" : "033", - "name" : "033" + "name" : "033", + "id" : "033" }, { + "id" : "034", + "name" : "034", "data" : [ [ "Perl", @@ -624,9 +623,7 @@ "Blog", 11 ] - ], - "id" : "034", - "name" : "034" + ] }, { "data" : [ @@ -643,8 +640,8 @@ 9 ] ], - "id" : "035", - "name" : "035" + "name" : "035", + "id" : "035" }, { "data" : [ @@ -666,6 +663,7 @@ }, { "id" : "037", + "name" : "037", "data" : [ [ "Perl", @@ -679,10 +677,11 @@ "Blog", 9 ] - ], - "name" : "037" + ] }, { + "id" : "038", + "name" : "038", "data" : [ [ "Perl", @@ -696,12 +695,9 @@ "Blog", 12 ] - ], - "id" : "038", - "name" : "038" + ] }, { - "name" : "039", "data" : [ [ "Perl", @@ -716,9 +712,12 @@ 12 ] ], - "id" : "039" + "id" : "039", + "name" : "039" }, { + "id" : "040", + "name" : "040", "data" : [ [ "Perl", @@ -732,12 +731,9 @@ "Blog", 10 ] - ], - "id" : "040", - "name" : "040" + ] }, { - "name" : "041", "data" : [ [ "Perl", @@ -752,10 +748,12 @@ 9 ] ], + "name" : "041", "id" : "041" }, { "id" : "042", + "name" : "042", "data" : [ [ "Perl", @@ -769,11 +767,11 @@ "Blog", 11 ] - ], - "name" : "042" + ] }, { "name" : "043", + "id" : "043", "data" : [ [ "Perl", @@ -787,11 +785,9 @@ "Blog", 11 ] - ], - "id" : "043" + ] }, { - "name" : "044", "data" : [ [ "Perl", @@ -806,9 +802,11 @@ 11 ] ], + "name" : "044", "id" : "044" }, { + "name" : "045", "id" : "045", "data" : [ [ @@ -823,8 +821,7 @@ "Blog", 11 ] - ], - "name" : "045" + ] }, { "data" : [ @@ -863,6 +860,7 @@ "name" : "047" }, { + "id" : "048", "name" : "048", "data" : [ [ @@ -877,10 +875,10 @@ "Blog", 12 ] - ], - "id" : "048" + ] }, { + "id" : "049", "name" : "049", "data" : [ [ @@ -895,10 +893,11 @@ "Blog", 12 ] - ], - "id" : "049" + ] }, { + "id" : "050", + "name" : "050", "data" : [ [ "Perl", @@ -912,12 +911,9 @@ "Blog", 12 ] - ], - "id" : "050", - "name" : "050" + ] }, { - "name" : "051", "data" : [ [ "Perl", @@ -932,7 +928,8 @@ 11 ] ], - "id" : "051" + "id" : "051", + "name" : "05 |
