aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad S Anwar <mohammad.anwar@yahoo.com>2024-04-28 19:13:40 +0100
committerMohammad S Anwar <mohammad.anwar@yahoo.com>2024-04-28 19:13:40 +0100
commiteb41dd40b2c2e8205ebba2bd8319d2278972991d (patch)
tree8b245d1188290a99f9185ed7dd019a9b1d19cd29
parent8d5352f2689e2bf4a1e98f0d73b8412590e0584d (diff)
downloadperlweeklychallenge-club-eb41dd40b2c2e8205ebba2bd8319d2278972991d.tar.gz
perlweeklychallenge-club-eb41dd40b2c2e8205ebba2bd8319d2278972991d.tar.bz2
perlweeklychallenge-club-eb41dd40b2c2e8205ebba2bd8319d2278972991d.zip
- Added solutions by Peter Meszaros.
- Added solutions by Bob Lied. - Added solutions by James Smith. - Added solutions by Wanderdoc.
-rw-r--r--challenge-266/james-smith/perl/ch-1.pl8
-rw-r--r--challenge-266/james-smith/perl/ch-2.pl20
-rwxr-xr-xchallenge-266/wanderdoc/perl/ch-1.pl83
-rwxr-xr-xchallenge-266/wanderdoc/perl/ch-2.pl81
-rw-r--r--stats/pwc-current.json451
-rw-r--r--stats/pwc-language-breakdown-summary.json60
-rw-r--r--stats/pwc-language-breakdown.json1758
-rw-r--r--stats/pwc-leaders.json408
-rw-r--r--stats/pwc-summary-1-30.json54
-rw-r--r--stats/pwc-summary-121-150.json42
-rw-r--r--stats/pwc-summary-151-180.json42
-rw-r--r--stats/pwc-summary-181-210.json38
-rw-r--r--stats/pwc-summary-211-240.json96
-rw-r--r--stats/pwc-summary-241-270.json122
-rw-r--r--stats/pwc-summary-271-300.json38
-rw-r--r--stats/pwc-summary-301-330.json56
-rw-r--r--stats/pwc-summary-31-60.json104
-rw-r--r--stats/pwc-summary-61-90.json110
-rw-r--r--stats/pwc-summary-91-120.json38
-rw-r--r--stats/pwc-summary.json674
20 files changed, 2260 insertions, 2023 deletions
diff --git a/challenge-266/james-smith/perl/ch-1.pl b/challenge-266/james-smith/perl/ch-1.pl
new file mode 100644
index 0000000000..5e221b0cb5
--- /dev/null
+++ b/challenge-266/james-smith/perl/ch-1.pl
@@ -0,0 +1,8 @@
+sub uncommon_words {
+ my %counts;
+ for (@_) {
+ $counts{$_}++ for split /\W+/, lc
+ }
+ my @solo = grep { $counts{$_}==1 } keys %counts;
+ @solo ? @solo : '';
+}
diff --git a/challenge-266/james-smith/perl/ch-2.pl b/challenge-266/james-smith/perl/ch-2.pl
new file mode 100644
index 0000000000..a9414f64de
--- /dev/null
+++ b/challenge-266/james-smith/perl/ch-2.pl
@@ -0,0 +1,20 @@
+sub x_matrix {
+ for my $row (0 .. $#_) {
+ ( ($row==$_ || $row==$#_-$_) ? $_[$row][$_]
+ : !$_[$row][$_]
+ ) || (return 0) for 0..$#_;
+ }
+ 1
+}
+
+sub x_matrix_no_equals {
+ my($midpoint,$wor) = ($#_/2,0+@_);
+ for my $row (0..$midpoint) {
+ return 0 unless $_[$row][$row] && $_[--$wor][$row] &&
+ $_[$row][$wor] && $_[ $wor][$wor];
+ ( $_[$row][$_] || $_[$_][$wor] ||
+ $_[$wor][$_] || $_[$_][$row] ) && return 0
+ for $row+1..$wor-1;
+ }
+ 1
+}
diff --git a/challenge-266/wanderdoc/perl/ch-1.pl b/challenge-266/wanderdoc/perl/ch-1.pl
new file mode 100755
index 0000000000..873ca5bfc4
--- /dev/null
+++ b/challenge-266/wanderdoc/perl/ch-1.pl
@@ -0,0 +1,83 @@
+#!perl
+use strict;
+use warnings FATAL => qw(all);
+
+=prompt
+You are given two sentences, $line1 and $line2.
+
+Write a script to find all uncommmon words in any order in the given two sentences. Return ('') if none found.
+
+ A word is uncommon if it appears exactly once in one of the sentences and doesn't appear in other sentence.
+
+Example 1
+
+Input: $line1 = 'Mango is sweet'
+ $line2 = 'Mango is sour'
+Output: ('sweet', 'sour')
+
+Example 2
+
+Input: $line1 = 'Mango Mango'
+ $line2 = 'Orange'
+Output: ('Orange')
+
+Example 3
+
+Input: $line1 = 'Mango is Mango'
+ $line2 = 'Orange is Orange'
+Output: ('')
+=cut
+
+
+# use Data::Dump;
+use Test2::V0;
+
+is([uncommon_words('Mango is sweet', 'Mango is sour')], ['sweet', 'sour'], 'Example 1');
+is([uncommon_words('Mango Mango', 'Orange')], ['Orange'], 'Example 2');
+is([uncommon_words('Mango is Mango', 'Orange is Orange')], [], 'Example 3');
+done_testing();
+
+
+sub uncommon_words
+{
+ my ($str_1, $str_2) = @_;
+ my @wds_1 = split_sentence($str_1);
+ my @wds_2 = split_sentence($str_2);
+ my %h_1 = sentence_hash(@wds_1);
+ my %h_2 = sentence_hash(@wds_2);
+ for my $href ( \%h_1, \%h_2 )
+ {
+ for my $key ( keys %$href )
+ {
+ delete $href->{$key} if $href->{$key} > 1;
+ }
+ }
+ return hash_xor_keys(\%h_1, \%h_2);
+}
+
+sub hash_xor_keys
+{
+ my ($hr_1, $hr_2) = @_;
+ my @keys_1 = keys %$hr_1;
+ my @keys_2 = keys %$hr_2;
+ delete @{$hr_1}{@keys_2};
+ delete @{$hr_2}{@keys_1};
+ return keys %$hr_1, keys %$hr_2;
+}
+
+sub sentence_hash
+{
+ my @arr = @_;
+ my %hash;
+ do { $hash{$_}++ } for @arr;
+ return %hash;
+}
+
+sub split_sentence
+{
+ my $str = $_[0];
+ $str =~ tr/,.;:-/ /ds;
+ $str =~ s/\s+/ /g;
+ my @arr = split(/ /, $str);
+ return @arr;
+} \ No newline at end of file
diff --git a/challenge-266/wanderdoc/perl/ch-2.pl b/challenge-266/wanderdoc/perl/ch-2.pl
new file mode 100755
index 0000000000..1977071493
--- /dev/null
+++ b/challenge-266/wanderdoc/perl/ch-2.pl
@@ -0,0 +1,81 @@
+#!perl
+use strict;
+use warnings FATAL => qw(all);
+
+=prompt
+You are given a square matrix, $matrix.
+
+Write a script to find if the given matrix is X Matrix.
+
+ A square matrix is an X Matrix if all the elements on the main diagonal and antidiagonal are non-zero and everything else are zero.
+
+Example 1
+
+Input: $matrix = [ [1, 0, 0, 2],
+ [0, 3, 4, 0],
+ [0, 5, 6, 0],
+ [7, 0, 0, 1],
+ ]
+Output: true
+
+Example 2
+
+Input: $matrix = [ [1, 2, 3],
+ [4, 5, 6],
+ [7, 8, 9],
+ ]
+Output: false
+
+Example 3
+
+Input: $matrix = [ [1, 0, 2],
+ [0, 3, 0],
+ [4, 0, 5],
+ ]
+Output: true
+=cut
+
+use Test2::V0;
+
+
+my $mtr_1 = [ [1, 0, 0, 2],
+ [0, 3, 4, 0],
+ [0, 5, 6, 0],
+ [7, 0, 0, 1],
+ ];
+
+my $mtr_2 = [ [1, 2, 3],
+ [4, 5, 6],
+ [7, 8, 9],
+ ];
+
+my $mtr_3 = [ [1, 0, 2],
+ [0, 3, 0],
+ [4, 0, 5],
+ ];
+
+
+
+is(is_x_matrix($mtr_1), 1, 'Example 1');
+is(is_x_matrix($mtr_2), 0, 'Example 2');
+is(is_x_matrix($mtr_3), 1, 'Example 3');
+
+done_testing();
+
+sub is_x_matrix
+{
+ my $mtr = $_[0];
+ my $max_idx = $#$mtr;
+ for my $y ( 0 .. $max_idx )
+ {
+ for my $x ( 0 .. $max_idx ) # square matrix
+ {
+ return 0
+ if ($x == $y and $mtr->[$y][$x] == 0)
+ or ($x == ($max_idx - $y) and $mtr->[$y][$x] == 0)
+ or ($x != $y and $x != ($max_idx - $y)
+ and $mtr->[$y][$x] != 0);
+ }
+ }
+ return 1;
+} \ No newline at end of file
diff --git a/stats/pwc-current.json b/stats/pwc-current.json
index 381f7bfb6f..93384c0770 100644
--- a/stats/pwc-current.json
+++ b/stats/pwc-current.json
@@ -1,4 +1,182 @@
{
+ "xAxis" : {
+ "type" : "category"
+ },
+ "legend" : {
+ "enabled" : 0
+ },
+ "chart" : {
+ "type" : "column"
+ },
+ "yAxis" : {
+ "title" : {
+ "text" : "Total Solutions"
+ }
+ },
+ "title" : {
+ "text" : "The Weekly Challenge - 266"
+ },
+ "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" : [
+ {
+ "y" : 5,
+ "drilldown" : "Ali Moradi",
+ "name" : "Ali Moradi"
+ },
+ {
+ "drilldown" : "Arne Sommer",
+ "name" : "Arne Sommer",
+ "y" : 3
+ },
+ {
+ "y" : 4,
+ "name" : "Athanasius",
+ "drilldown" : "Athanasius"
+ },
+ {
+ "y" : 2,
+ "drilldown" : "Bob Lied",
+ "name" : "Bob Lied"
+ },
+ {
+ "y" : 2,
+ "name" : "Dave Jacoby",
+ "drilldown" : "Dave Jacoby"
+ },
+ {
+ "y" : 2,
+ "name" : "David Ferrone",
+ "drilldown" : "David Ferrone"
+ },
+ {
+ "y" : 2,
+ "name" : "E. Choroba",
+ "drilldown" : "E. Choroba"
+ },
+ {
+ "y" : 2,
+ "name" : "Feng Chang",
+ "drilldown" : "Feng Chang"
+ },
+ {
+ "drilldown" : "James Smith",
+ "name" : "James Smith",
+ "y" : 2
+ },
+ {
+ "y" : 2,
+ "name" : "Jan Krnavek",
+ "drilldown" : "Jan Krnavek"
+ },
+ {
+ "drilldown" : "Jorg Sommrey",
+ "name" : "Jorg Sommrey",
+ "y" : 3
+ },
+ {
+ "drilldown" : "Lance Wicks",
+ "name" : "Lance Wicks",
+ "y" : 1
+ },
+ {
+ "name" : "Laurent Rosenfeld",
+ "drilldown" : "Laurent Rosenfeld",
+ "y" : 6
+ },
+ {
+ "drilldown" : "Lubos Kolouch",
+ "name" : "Lubos Kolouch",
+ "y" : 2
+ },
+ {
+ "y" : 11,
+ "drilldown" : "Luca Ferrari",
+ "name" : "Luca Ferrari"
+ },
+ {
+ "name" : "Mark Anderson",
+ "drilldown" : "Mark Anderson",
+ "y" : 2
+ },
+ {
+ "y" : 2,
+ "name" : "Matthew Neleigh",
+ "drilldown" : "Matthew Neleigh"
+ },
+ {
+ "name" : "Nelo Tovar",
+ "drilldown" : "Nelo Tovar",
+ "y" : 2
+ },
+ {
+ "y" : 2,
+ "drilldown" : "Niels van Dijke",
+ "name" : "Niels van Dijke"
+ },
+ {
+ "name" : "Peter Campbell Smith",
+ "drilldown" : "Peter Campbell Smith",
+ "y" : 3
+ },
+ {
+ "drilldown" : "Peter Meszaros",
+ "name" : "Peter Meszaros",
+ "y" : 2
+ },
+ {
+ "drilldown" : "Reinier Maliepaard",
+ "name" : "Reinier Maliepaard",
+ "y" : 3
+ },
+ {
+ "y" : 3,
+ "drilldown" : "Robbie Hatley",
+ "name" : "Robbie Hatley"
+ },
+ {
+ "name" : "Roger Bell_West",
+ "drilldown" : "Roger Bell_West",
+ "y" : 5
+ },
+ {
+ "drilldown" : "Simon Green",
+ "name" : "Simon Green",
+ "y" : 3
+ },
+ {
+ "drilldown" : "Thomas Kohler",
+ "name" : "Thomas Kohler",
+ "y" : 4
+ },
+ {
+ "drilldown" : "Ulrich Rieke",
+ "name" : "Ulrich Rieke",
+ "y" : 3
+ },
+ {
+ "y" : 3,
+ "drilldown" : "W. Luis Mochan",
+ "name" : "W. Luis Mochan"
+ },
+ {
+ "y" : 2,
+ "drilldown" : "Wanderdoc",
+ "name" : "Wanderdoc"
+ }
+ ],
+ "name" : "The Weekly Challenge - 266"
+ }
+ ],
+ "subtitle" : {
+ "text" : "[Champions: 29] Last updated at 2024-04-28 18:09:00 GMT"
+ },
"drilldown" : {
"series" : [
{
@@ -20,6 +198,7 @@
"name" : "Ali Moradi"
},
{
+ "id" : "Arne Sommer",
"data" : [
[
"Raku",
@@ -30,11 +209,11 @@
1
]
],
- "id" : "Arne Sommer",
"name" : "Arne Sommer"
},
{
"id" : "Athanasius",
+ "name" : "Athanasius",
"data" : [
[
"Perl",
@@ -44,8 +223,17 @@
"Raku",
2
]
+ ]
+ },
+ {
+ "id" : "Bob Lied",
+ "data" : [
+ [
+ "Perl",
+ 2
+ ]
],
- "name" : "Athanasius"
+ "name" : "Bob Lied"
},
{
"id" : "Dave Jacoby",
@@ -58,47 +246,58 @@
"name" : "Dave Jacoby"
},
{
- "id" : "David Ferrone",
"data" : [
[
"Perl",
2
]
],
- "name" : "David Ferrone"
+ "name" : "David Ferrone",
+ "id" : "David Ferrone"
},
{
- "id" : "E. Choroba",
"data" : [
[
"Perl",
2
]
],
- "name" : "E. Choroba"
+ "name" : "E. Choroba",
+ "id" : "E. Choroba"
},
{
- "id" : "Feng Chang",
"data" : [
[
"Raku",
2
]
],
- "name" : "Feng Chang"
+ "name" : "Feng Chang",
+ "id" : "Feng Chang"
},
{
+ "id" : "James Smith",
"data" : [
[
- "Raku",
+ "Perl",
2
]
],
+ "name" : "James Smith"
+ },
+ {
"id" : "Jan Krnavek",
+ "data" : [
+ [
+ "Raku",
+ 2
+ ]
+ ],
"name" : "Jan Krnavek"
},
{
"id" : "Jorg Sommrey",
+ "name" : "Jorg Sommrey",
"data" : [
[
"Perl",
@@ -108,18 +307,17 @@
"Blog",
1
]
- ],
- "name" : "Jorg Sommrey"
+ ]
},
{
"id" : "Lance Wicks",
+ "name" : "Lance Wicks",
"data" : [
[
"Perl",
1
]
- ],
- "name" : "Lance Wicks"
+ ]
},
{
"data" : [
@@ -136,12 +334,12 @@
2
]
],
- "id" : "Laurent Rosenfeld",
- "name" : "Laurent Rosenfeld"
+ "name" : "Laurent Rosenfeld",
+ "id" : "Laurent Rosenfeld"
},
{
- "name" : "Lubos Kolouch",
"id" : "Lubos Kolouch",
+ "name" : "Lubos Kolouch",
"data" : [
[
"Perl",
@@ -150,7 +348,6 @@
]
},
{
- "name" : "Luca Ferrari",
"id" : "Luca Ferrari",
"data" : [
[
@@ -161,7 +358,8 @@
"Blog",
9
]
- ]
+ ],
+ "name" : "Luca Ferrari"
},
{
"id" : "Mark Anderson",
@@ -180,32 +378,32 @@
2
]
],
- "id" : "Matthew Neleigh",
- "name" : "Matthew Neleigh"
+ "name" : "Matthew Neleigh",
+ "id" : "Matthew Neleigh"
},
{
"name" : "Nelo Tovar",
- "id" : "Nelo Tovar",
"data" : [
[
"Perl",
2
]
- ]
+ ],
+ "id" : "Nelo Tovar"
},
{
+ "id" : "Niels van Dijke",
"name" : "Niels van Dijke",
"data" : [
[
"Perl",
2
]
- ],
- "id" : "Niels van Dijke"
+ ]
},
{
- "name" : "Peter Campbell Smith",
"id" : "Peter Campbell Smith",
+ "name" : "Peter Campbell Smith",
"data" : [
[
"Perl",
@@ -219,13 +417,13 @@
},
{
"id" : "Peter Meszaros",
+ "name" : "Peter Meszaros",
"data" : [
[
"Perl",
2
]
- ],
- "name" : "Peter Meszaros"
+ ]
},
{
"id" : "Reinier Maliepaard",
@@ -243,6 +441,7 @@
},
{
"id" : "Robbie Hatley",
+ "name" : "Robbie Hatley",
"data" : [
[
"Perl",
@@ -252,12 +451,10 @@
"Blog",
1
]
- ],
- "name" : "Robbie Hatley"
+ ]
},
{
"name" : "Roger Bell_West",
- "id" : "Roger Bell_West",
"data" : [
[
"Perl",
@@ -271,10 +468,11 @@
"Blog",
1
]
- ]
+ ],
+ "id" : "Roger Bell_West"
},
{
- "id" : "Simon Green",
+ "name" : "Simon Green",
"data" : [
[
"Perl",
@@ -285,7 +483,7 @@
1
]
],
- "name" : "Simon Green"
+ "id" : "Simon Green"
},
{
"data" : [
@@ -298,11 +496,10 @@
2
]
],
- "id" : "Thomas Kohler",
- "name" : "Thomas Kohler"
+ "name" : "Thomas Kohler",
+ "id" : "Thomas Kohler"
},
{
- "name" : "Ulrich Rieke",
"id" : "Ulrich Rieke",
"data" : [
[
@@ -313,11 +510,12 @@
"Raku",
1
]
- ]
+ ],
+ "name" : "Ulrich Rieke"
},
{
- "name" : "W. Luis Mochan",
"id" : "W. Luis Mochan",
+ "name" : "W. Luis Mochan",
"data" : [
[
"Perl",
@@ -328,179 +526,26 @@
1
]
]
+ },
+ {
+ "id" : "Wanderdoc",
+ "data" : [
+ [
+ "Perl",
+ 2
+ ]
+ ],
+ "name" : "Wanderdoc"
}
]
},
- "chart" : {
- "type" : "column"
- },
- "series" : [
- {
- "name" : "The Weekly Challenge - 266",
- "data" : [
- {
- "drilldown" : "Ali Moradi",
- "name" : "Ali Moradi",
- "y" : 5
- },
- {
- "name" : "Arne Sommer",
- "y" : 3,
- "drilldown" : "Arne Sommer"
- },
- {
- "y" : 4,
- "name" : "Athanasius",
- "drilldown" : "Athanasius"
- },
- {
- "drilldown" : "Dave Jacoby",
- "name" : "Dave Jacoby",
- "y" : 2
- },
- {
- "drilldown" : "David Ferrone",
- "name" : "David Ferrone",
- "y" : 2
- },
- {
- "y" : 2,
- "name" : "E. Choroba",
- "drilldown" : "E. Choroba"
- },
- {
- "y" : 2,
- "name" : "Feng Chang",
- "drilldown" : "Feng Chang"
- },
- {
- "drilldown" : "Jan Krnavek",
- "y" : 2,
- "name" : "Jan Krnavek"
- },
- {
- "name" : "Jorg Sommrey",
- "y" : 3,
- "drilldown" : "Jorg Sommrey"
- },
- {
- "drilldown" : "Lance Wicks",
- "name" : "Lance Wicks",
- "y" : 1
- },
- {
- "drilldown" : "Laurent Rosenfeld",
- "name" : "Laurent Rosenfeld",
- "y" : 6
- },
- {
- "drilldown" : "Lubos Kolouch",
- "y" : 2,
- "name" : "Lubos Kolouch"
- },
- {
- "y" : 11,
- "name" : "Luca Ferrari",
- "drilldown" : "Luca Ferrari"
- },
- {
- "y" : 2,
- "name" : "Mark Anderson",
- "drilldown" : "Mark Anderson"
- },
- {
- "name" : "Matthew Neleigh",
- "y" : 2,
- "drilldown" : "Matthew Neleigh"
- },
- {
- "drilldown" : "Nelo Tovar",
- "name" : "Nelo Tovar",
- "y" : 2
- },
- {
- "y" : 2,
- "name" : "Niels van Dijke",
- "drilldown" : "Niels van Dijke"
- },
- {
- "drilldown" : "Peter Campbell Smith",
- "y" : 3,
- "name" : "Peter Campbell Smith"
- },
- {
- "drilldown" : "Peter Meszaros",
- "y" : 2,
- "name" : "Peter Meszaros"
- },
- {
- "y" : 3,
- "name" : "Reinier Maliepaard",
- "drilldown" : "Reinier Maliepaard"
- },
- {
- "y" : 3,
- "name" : "Robbie Hatley",
- "drilldown" : "Robbie Hatley"
- },
- {
- "name" : "Roger Bell_West",
- "y" : 5,
- "drilldown" : "Roger Bell_West"
- },
- {
- "drilldown" : "Simon Green",
- "name" : "Simon Green",
- "y" : 3
- },
- {
- "y" : 4,
- "name" : "Thomas Kohler",
- "drilldown" : "Thomas Kohler"
- },
- {
- "drilldown" : "Ulrich Rieke",
- "y" : 3,
- "name" : "Ulrich Rieke"
- },
- {
- "y" : 3,
- "name" : "W. Luis Mochan",
- "drilldown" : "W. Luis Mochan"
- }
- ],
- "colorByPoint" : 1
- }
- ],
- "legend" : {
- "enabled" : 0
- },
- "yAxis" : {
- "title" : {
- "text" : "Total Solutions"
- }
- },
- "subtitle" : {
- "text" : "[Champions: 26] Last updated at 2024-04-28 10:00:24 GMT"
- },
"plotOptions" : {
"series" : {
"dataLabels" : {
- "enabled" : 1,
- "format" : "{point.y}"
+ "format" : "{point.y}",
+ "enabled" : 1
},
"borderWidth" : 0
}
- },
- "xAxis" : {
- "type" : "category"
- },
- "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/>"
- },
- "title" : {
- "text" : "The Weekly Challenge - 266"
}
}
diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json
index 9915b6b1c0..dd6f90ebca 100644
--- a/stats/pwc-language-breakdown-summary.json
+++ b/stats/pwc-language-breakdown-summary.json
@@ -1,39 +1,25 @@
{
- "subtitle" : {
- "text" : "Last updated at 2024-04-28 10:00:24 GMT"
- },
- "xAxis" : {
- "labels" : {
- "style" : {
- "fontFamily" : "Verdana, sans-serif",
- "fontSize" : "13px"
- }
- },
- "type" : "category"
- },
"tooltip" : {
"pointFormat" : "<b>{point.y:.0f}</b>"
},
- "title" : {
- "text" : "The Weekly Challenge Contributions [2019 - 2024]"
- },
- "chart" : {
- "type" : "column"
+ "subtitle" : {
+ "text" : "Last updated at 2024-04-28 18:09:00 GMT"
},
"series" : [
{
"dataLabels" : {
- "enabled" : "true",
- "color" : "#FFFFFF",
"style" : {
- "fontFamily" : "Verdana, sans-serif",
- "fontSize" : "13px"
+ "fontSize" : "13px",
+ "fontFamily" : "Verdana, sans-serif"
},
- "rotation" : -90,
+ "color" : "#FFFFFF",
"y" : 10,
"format" : "{point.y:.0f}",
- "align" : "right"
+ "enabled" : "true",
+ "align" : "right",
+ "rotation" : -90
},
+ "name" : "Contributions",
"data" : [
[
"Blog",
@@ -41,23 +27,37 @@
],
[
"Perl",
- 13791
+ 13799
],
[
"Raku",
8000
]
- ],
- "name" : "Contributions"
+ ]
}
],
- "legend" : {
- "enabled" : "false"
- },
"yAxis" : {
+ "min" : 0,
"title" : {
"text" : null
+ }
+ },
+ "title" : {
+ "text" : "The Weekly Challenge Contributions [2019 - 2024]"
+ },
+ "xAxis" : {
+ "labels" : {
+ "style" : {
+ "fontFamily" : "Verdana, sans-serif",
+ "fontSize" : "13px"
+ }
},
- "min" : 0
+ "type" : "category"
+ },
+ "legend" : {
+ "enabled" : "false"
+ },
+ "chart" : {
+ "type" : "column"
}
}
diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json
index 6b68670a36..09e1841154 100644
--- a/stats/pwc-language-breakdown.json
+++ b/stats/pwc-language-breakdown.json
@@ -1,31 +1,24 @@
{
- "subtitle" : {
- "text" : "Click the columns to drilldown the language breakdown. Last updated at 2024-04-28 10:00:24 GMT"
- },
- "xAxis" : {
- "type" : "category"
+ "title" : {
+ "text" : "The Weekly Challenge Language"
},
- "plotOptions" : {
- "series" : {
- "borderWidth" : 0,
- "dataLabels" : {
- "enabled" : 1,
- "format" : "{point.y}"
- }
+ "yAxis" : {
+ "title" : {
+ "text" : "Total Solutions"
}
},
- "tooltip" : {
- "headerFormat" : "<span style=\"font-size:11px\"></span>",
- "followPointer" : "true",
- "pointFormat" : "<span style=\"color:{point.color}\">Challenge {point.name}</span>: <b>{point.y:f}</b><br/>"
+ "chart" : {
+ "type" : "column"
},
- "title" : {
- "text" : "The Weekly Challenge Language"
+ "xAxis" : {
+ "type" : "category"
+ },
+ "legend" : {
+ "enabled" : "false"
},
"drilldown" : {
"series" : [
{
- "name" : "0