From 21b2a6bfabc1d2f853c4bd4867c50594aede4464 Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Sat, 25 Jul 2020 12:31:09 +0100 Subject: - Added solutions by E. Choroba. --- challenge-070/e-choroba/perl/ch-1.pl | 77 + challenge-070/e-choroba/perl/ch-2.pl | 39 + challenge-070/e-choroba/perl5/ch-1.pl | 77 - challenge-070/e-choroba/perl5/ch-2.pl | 39 - stats/pwc-current.json | 213 ++- stats/pwc-language-breakdown-summary.json | 60 +- stats/pwc-language-breakdown.json | 2814 ++++++++++++++--------------- stats/pwc-leaders.json | 394 ++-- stats/pwc-summary-1-30.json | 26 +- stats/pwc-summary-121-150.json | 100 +- stats/pwc-summary-151-180.json | 94 +- stats/pwc-summary-31-60.json | 18 +- stats/pwc-summary-61-90.json | 40 +- stats/pwc-summary-91-120.json | 100 +- stats/pwc-summary.json | 390 ++-- 15 files changed, 2248 insertions(+), 2233 deletions(-) create mode 100755 challenge-070/e-choroba/perl/ch-1.pl create mode 100755 challenge-070/e-choroba/perl/ch-2.pl delete mode 100755 challenge-070/e-choroba/perl5/ch-1.pl delete mode 100755 challenge-070/e-choroba/perl5/ch-2.pl diff --git a/challenge-070/e-choroba/perl/ch-1.pl b/challenge-070/e-choroba/perl/ch-1.pl new file mode 100755 index 0000000000..a44a103fdc --- /dev/null +++ b/challenge-070/e-choroba/perl/ch-1.pl @@ -0,0 +1,77 @@ +#!/usr/bin/perl +use warnings; +use strict; + +# Without Pete's additional constraint. +sub swap { + my ($string, $count, $offset) = @_; + my $length = length $string; + for my $i (1 .. $count) { + substr $string, $i % $length, 1, + substr $string, ($i + $offset) % $length, 1, + substr $string, $i % $length, 1; + } + return $string +} + +# We add Pete's additional constraint, but we also need +# $count + $offset < $length. +# Then we can do all the swaps in one step. +sub swap_constrained { + my ($string, $count, $offset) = @_; + my $length = length $string; + + # die unless $count >= 1 + # && $offset >= 1 + # && $count <= $offset + # && $count + $offset < $length; + + my $r = substr($string, 0, 1) + . substr($string, $offset + 1, $count) + . substr($string, $count + 1, $offset - $count) + . substr($string, 1, $count) + . substr($string, $offset + $count + 1); + + return substr $r, 0, $length +} + + +use Test::More tests => 218; +is swap('perlandraku', 1, 4), 'pnrlaedraku'; +is swap('perlandraku', 2, 4), 'pndlaerraku'; +is swap('perlandraku', 3, 4), 'pndraerlaku'; + +is swap('abcd', 1, 1), 'acbd'; +is swap('abcd', 2, 1), 'acdb'; # What's wrong with that, Pete? +is swap('abcd', 3, 1), 'bcda'; +is swap('abcd', 4, 1), 'cbda'; +is swap('abcd', 5, 1), 'cdba'; +is swap('abcd', 6, 1), 'cdab'; +is swap('abcd', 7, 1), 'bdac'; +is swap('abcd', 8, 1), 'dbac'; +is swap('abcd', 9, 1), 'dabc'; +is swap('abcd', 10, 1), 'dacb'; +is swap('abcd', 11, 1), 'bacd'; +is swap('abcd', 12, 1), 'abcd'; + +for my $in (qw( abc abcd abcde abcdef abcdefg abcdefgh perlandraku + abcdefghijklmopqrstuvwxyz +)) { + for my $count (1 .. + length($in) - 2) { + for my $offset ($count .. length($in) - $count - 1) { + is swap_constrained($in, $count, $offset), + swap($in, $count, $offset), + "$in-$count-$offset"; + } + } +} + +use Benchmark qw{ cmpthese }; +cmpthese(-2, { + slow => sub { swap('perlweeklychallenge', 5, 10) }, + fast => sub { swap_constrained('perlweeklychallenge', 5, 10) }, +}); + +# Rate slow fast +# slow 504119/s -- -54% +# fast 1102688/s 119% -- diff --git a/challenge-070/e-choroba/perl/ch-2.pl b/challenge-070/e-choroba/perl/ch-2.pl new file mode 100755 index 0000000000..081b1d1a59 --- /dev/null +++ b/challenge-070/e-choroba/perl/ch-2.pl @@ -0,0 +1,39 @@ +#! /usr/bin/perl +use warnings; +use strict; + +sub greycode_recursive { + my ($size) = @_; + return [0, 1] if 1 == $size; + + my $seq = greycode_recursive($size - 1); + my $highbit = 1 << $size - 1; + my @revhi = map { $highbit | $_ } reverse @$seq; + return [ @$seq, @revhi ] +} + +sub greycode_iterative { + my ($size) = @_; + my @seq = map $_ ^ ($_ >> 1), 0 .. (1 << $size) - 1; + return \@seq +} + +use Test::More; +is_deeply greycode_recursive(3), + [0, 1, 3, 2, 6, 7, 5, 4]; +is_deeply greycode_recursive(4), + [0, 1, 3, 2, 6, 7, 5, 4, 12, 13, 15, 14, 10, 11, 9, 8]; + +is_deeply greycode_recursive($_), greycode_iterative($_) + for 1 .. 10; + +done_testing(); + +use Benchmark qw{ cmpthese }; +cmpthese(-3, { + recursive => 'greycode_recursive(10)', + iterative => 'greycode_iterative(10)', +}); +# Rate recursive iterative +# recursive 3536/s -- -10% +# iterative 3913/s 11% -- diff --git a/challenge-070/e-choroba/perl5/ch-1.pl b/challenge-070/e-choroba/perl5/ch-1.pl deleted file mode 100755 index a44a103fdc..0000000000 --- a/challenge-070/e-choroba/perl5/ch-1.pl +++ /dev/null @@ -1,77 +0,0 @@ -#!/usr/bin/perl -use warnings; -use strict; - -# Without Pete's additional constraint. -sub swap { - my ($string, $count, $offset) = @_; - my $length = length $string; - for my $i (1 .. $count) { - substr $string, $i % $length, 1, - substr $string, ($i + $offset) % $length, 1, - substr $string, $i % $length, 1; - } - return $string -} - -# We add Pete's additional constraint, but we also need -# $count + $offset < $length. -# Then we can do all the swaps in one step. -sub swap_constrained { - my ($string, $count, $offset) = @_; - my $length = length $string; - - # die unless $count >= 1 - # && $offset >= 1 - # && $count <= $offset - # && $count + $offset < $length; - - my $r = substr($string, 0, 1) - . substr($string, $offset + 1, $count) - . substr($string, $count + 1, $offset - $count) - . substr($string, 1, $count) - . substr($string, $offset + $count + 1); - - return substr $r, 0, $length -} - - -use Test::More tests => 218; -is swap('perlandraku', 1, 4), 'pnrlaedraku'; -is swap('perlandraku', 2, 4), 'pndlaerraku'; -is swap('perlandraku', 3, 4), 'pndraerlaku'; - -is swap('abcd', 1, 1), 'acbd'; -is swap('abcd', 2, 1), 'acdb'; # What's wrong with that, Pete? -is swap('abcd', 3, 1), 'bcda'; -is swap('abcd', 4, 1), 'cbda'; -is swap('abcd', 5, 1), 'cdba'; -is swap('abcd', 6, 1), 'cdab'; -is swap('abcd', 7, 1), 'bdac'; -is swap('abcd', 8, 1), 'dbac'; -is swap('abcd', 9, 1), 'dabc'; -is swap('abcd', 10, 1), 'dacb'; -is swap('abcd', 11, 1), 'bacd'; -is swap('abcd', 12, 1), 'abcd'; - -for my $in (qw( abc abcd abcde abcdef abcdefg abcdefgh perlandraku - abcdefghijklmopqrstuvwxyz -)) { - for my $count (1 .. + length($in) - 2) { - for my $offset ($count .. length($in) - $count - 1) { - is swap_constrained($in, $count, $offset), - swap($in, $count, $offset), - "$in-$count-$offset"; - } - } -} - -use Benchmark qw{ cmpthese }; -cmpthese(-2, { - slow => sub { swap('perlweeklychallenge', 5, 10) }, - fast => sub { swap_constrained('perlweeklychallenge', 5, 10) }, -}); - -# Rate slow fast -# slow 504119/s -- -54% -# fast 1102688/s 119% -- diff --git a/challenge-070/e-choroba/perl5/ch-2.pl b/challenge-070/e-choroba/perl5/ch-2.pl deleted file mode 100755 index 081b1d1a59..0000000000 --- a/challenge-070/e-choroba/perl5/ch-2.pl +++ /dev/null @@ -1,39 +0,0 @@ -#! /usr/bin/perl -use warnings; -use strict; - -sub greycode_recursive { - my ($size) = @_; - return [0, 1] if 1 == $size; - - my $seq = greycode_recursive($size - 1); - my $highbit = 1 << $size - 1; - my @revhi = map { $highbit | $_ } reverse @$seq; - return [ @$seq, @revhi ] -} - -sub greycode_iterative { - my ($size) = @_; - my @seq = map $_ ^ ($_ >> 1), 0 .. (1 << $size) - 1; - return \@seq -} - -use Test::More; -is_deeply greycode_recursive(3), - [0, 1, 3, 2, 6, 7, 5, 4]; -is_deeply greycode_recursive(4), - [0, 1, 3, 2, 6, 7, 5, 4, 12, 13, 15, 14, 10, 11, 9, 8]; - -is_deeply greycode_recursive($_), greycode_iterative($_) - for 1 .. 10; - -done_testing(); - -use Benchmark qw{ cmpthese }; -cmpthese(-3, { - recursive => 'greycode_recursive(10)', - iterative => 'greycode_iterative(10)', -}); -# Rate recursive iterative -# recursive 3536/s -- -10% -# iterative 3913/s 11% -- diff --git a/stats/pwc-current.json b/stats/pwc-current.json index e19782a668..b6d3aef646 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,144 +1,145 @@ { + "xAxis" : { + "type" : "category" + }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, + "legend" : { + "enabled" : 0 + }, "plotOptions" : { "series" : { + "borderWidth" : 0, "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - }, - "borderWidth" : 0 + "format" : "{point.y}", + "enabled" : 1 + } } }, "series" : [ { - "name" : "Perl Weekly Challenge - 070", + "colorByPoint" : 1, "data" : [ { + "drilldown" : "Andrew Shitov", "y" : 4, - "name" : "Andrew Shitov", - "drilldown" : "Andrew Shitov" + "name" : "Andrew Shitov" }, { - "y" : 5, + "name" : "Arne Sommer", "drilldown" : "Arne Sommer", - "name" : "Arne Sommer" + "y" : 5 }, { "y" : 4, - "name" : "Athanasius", - "drilldown" : "Athanasius" + "drilldown" : "Athanasius", + "name" : "Athanasius" }, { - "drilldown" : "Csaba Simandi", "name" : "Csaba Simandi", - "y" : 1 + "y" : 1, + "drilldown" : "Csaba Simandi" }, { - "name" : "Dave Jacoby", "drilldown" : "Dave Jacoby", - "y" : 2 + "y" : 2, + "name" : "Dave Jacoby" + }, + { + "drilldown" : "E. Choroba", + "y" : 2, + "name" : "E. Choroba" }, { "name" : "Javier Luque", - "drilldown" : "Javier Luque", - "y" : 5 + "y" : 5, + "drilldown" : "Javier Luque" }, { - "name" : "Jorg Sommrey", "drilldown" : "Jorg Sommrey", - "y" : 2 + "y" : 2, + "name" : "Jorg Sommrey" }, { + "y" : 4, "drilldown" : "Luca Ferrari", - "name" : "Luca Ferrari", - "y" : 4 + "name" : "Luca Ferrari" }, { - "y" : 2, "name" : "Mark Anderson", + "y" : 2, "drilldown" : "Mark Anderson" }, { - "name" : "Mohammad S Anwar", + "y" : 4, "drilldown" : "Mohammad S Anwar", - "y" : 4 + "name" : "Mohammad S Anwar" }, { - "drilldown" : "Niels van Dijke", "name" : "Niels van Dijke", - "y" : 2 + "y" : 2, + "drilldown" : "Niels van Dijke" }, { + "drilldown" : "Pete Houston", "y" : 2, - "name" : "Pete Houston", - "drilldown" : "Pete Houston" + "name" : "Pete Houston" }, { "drilldown" : "Roger Bell_West", - "name" : "Roger Bell_West", - "y" : 5 + "y" : 5, + "name" : "Roger Bell_West" }, { + "drilldown" : "Shahed Nooshmand", "y" : 3, - "name" : "Shahed Nooshmand", - "drilldown" : "Shahed Nooshmand" + "name" : "Shahed Nooshmand" }, { - "drilldown" : "Simon Green", "name" : "Simon Green", + "drilldown" : "Simon Green", "y" : 3 }, { - "y" : 2, "name" : "Simon Proctor", + "y" : 2, "drilldown" : "Simon Proctor" }, { - "y" : 4, + "name" : "Ulrich Rieke", "drilldown" : "Ulrich Rieke", - "name" : "Ulrich Rieke" + "y" : 4 }, { "drilldown" : "Walt Mankowski", - "name" : "Walt Mankowski", - "y" : 2 + "y" : 2, + "name" : "Walt Mankowski" }, { - "y" : 2, "drilldown" : "Wanderdoc", + "y" : 2, "name" : "Wanderdoc" } ], - "colorByPoint" : 1 + "name" : "Perl Weekly Challenge - 070" } ], - "legend" : { - "enabled" : 0 - }, - "chart" : { - "type" : "column" - }, - "tooltip" : { - "followPointer" : 1, - "headerFormat" : "{series.name}
", - "pointFormat" : "{point.name}: {point.y:f}
" - }, - "xAxis" : { - "type" : "category" - }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } - }, "title" : { "text" : "Perl Weekly Challenge - 070" }, "subtitle" : { - "text" : "[Champions: 19] Last updated at 2020-07-25 11:23:34 GMT" + "text" : "[Champions: 20] Last updated at 2020-07-25 11:30:49 GMT" + }, + "chart" : { + "type" : "column" }, "drilldown" : { "series" : [ { + "name" : "Andrew Shitov", "data" : [ [ "Raku", @@ -149,10 +150,10 @@ 2 ] ], - "id" : "Andrew Shitov", - "name" : "Andrew Shitov" + "id" : "Andrew Shitov" }, { + "name" : "Arne Sommer", "data" : [ [ "Perl", @@ -167,8 +168,7 @@ 1 ] ], - "id" : "Arne Sommer", - "name" : "Arne Sommer" + "id" : "Arne Sommer" }, { "data" : [ @@ -181,30 +181,41 @@ 2 ] ], - "id" : "Athanasius", - "name" : "Athanasius" + "name" : "Athanasius", + "id" : "Athanasius" }, { + "id" : "Csaba Simandi", + "name" : "Csaba Simandi", "data" : [ [ "Perl", 1 ] - ], - "name" : "Csaba Simandi", - "id" : "Csaba Simandi" + ] }, { + "id" : "Dave Jacoby", "data" : [ [ "Perl", 2 ] ], - "id" : "Dave Jacoby", "name" : "Dave Jacoby" }, { + "id" : "E. Choroba", + "name" : "E. Choroba", + "data" : [ + [ + "Perl", + 2 + ] + ] + }, + { + "name" : "Javier Luque", "data" : [ [ "Perl", @@ -219,22 +230,19 @@ 1 ] ], - "id" : "Javier Luque", - "name" : "Javier Luque" + "id" : "Javier Luque" }, { + "id" : "Jorg Sommrey", "data" : [ [ "Perl", 2 ] ], - "id" : "Jorg Sommrey", "name" : "Jorg Sommrey" }, { - "id" : "Luca Ferrari", - "name" : "Luca Ferrari", "data" : [ [ "Raku", @@ -244,7 +252,9 @@ "Blog", 2 ] - ] + ], + "name" : "Luca Ferrari", + "id" : "Luca Ferrari" }, { "id" : "Mark Anderson", @@ -257,7 +267,6 @@ ] }, { - "name" : "Mohammad S Anwar", "id" : "Mohammad S Anwar", "data" : [ [ @@ -268,29 +277,31 @@ "Raku", 2 ] - ] + ], + "name" : "Mohammad S Anwar" }, { - "name" : "Niels van Dijke", "id" : "Niels van Dijke", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "Niels van Dijke" }, { - "id" : "Pete Houston", - "name" : "Pete Houston", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "Pete Houston", + "id" : "Pete Houston" }, { + "id" : "Roger Bell_West", "data" : [ [ "Perl", @@ -305,10 +316,11 @@ 1 ] ], - "name" : "Roger Bell_West", - "id" : "Roger Bell_West" + "name" : "Roger Bell_West" }, { + "id" : "Shahed Nooshmand", + "name" : "Shahed Nooshmand", "data" : [ [ "Raku", @@ -318,9 +330,7 @@ "Blog", 1 ] - ], - "id" : "Shahed Nooshmand", - "name" : "Shahed Nooshmand" + ] }, { "id" : "Simon Green", @@ -337,18 +347,16 @@ ] }, { - "name" : "Simon Proctor", - "id" : "Simon Proctor", "data" : [ [ "Raku", 2 ] - ] + ], + "name" : "Simon Proctor", + "id" : "Simon Proctor" }, { - "id" : "Ulrich Rieke", - "name" : "Ulrich Rieke", "data" : [ [ "Perl", @@ -358,28 +366,35 @@ "Raku", 2 ] - ] + ], + "name" : "Ulrich Rieke", + "id" : "Ulrich Rieke" }, { "id" : "Walt Mankowski", - "name" : "Walt Mankowski", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "Walt Mankowski" }, { + "id" : "Wanderdoc", + "name" : "Wanderdoc", "data" : [ [ "Perl", 2 ] - ], - "id" : "Wanderdoc", - "name" : "Wanderdoc" + ] } ] + }, + "tooltip" : { + "pointFormat" : "{point.name}: {point.y:f}
", + "followPointer" : 1, + "headerFormat" : "{series.name}
" } } diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index bc0284ab70..7caa0ba78b 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -1,9 +1,30 @@ { + "chart" : { + "type" : "column" + }, "tooltip" : { "pointFormat" : "{point.y:.0f}" }, - "chart" : { - "type" : "column" + "yAxis" : { + "title" : { + "text" : null + }, + "min" : 0 + }, + "xAxis" : { + "labels" : { + "style" : { + "fontFamily" : "Verdana, sans-serif", + "fontSize" : "13px" + } + }, + "type" : "category" + }, + "subtitle" : { + "text" : "Last updated at 2020-07-25 11:30:49 GMT" + }, + "title" : { + "text" : "Perl Weekly Challenge Contributions [2019 - 2020]" }, "series" : [ { @@ -14,50 +35,29 @@ ], [ "Perl", - 2886 + 2888 ], [ "Raku", 1856 ] ], + "name" : "Contributions", "dataLabels" : { "align" : "right", - "format" : "{point.y:.0f}", - "rotation" : -90, - "y" : 10, + "color" : "#FFFFFF", "style" : { "fontSize" : "13px", "fontFamily" : "Verdana, sans-serif" }, "enabled" : "true", - "color" : "#FFFFFF" - }, - "name" : "Contributions" + "y" : 10, + "format" : "{point.y:.0f}", + "rotation" : -90 + } } ], "legend" : { "enabled" : "false" - }, - "subtitle" : { - "text" : "Last updated at 2020-07-25 11:23:34 GMT" - }, - "xAxis" : { - "type" : "category", - "labels" : { - "style" : { - "fontFamily" : "Verdana, sans-serif", - "fontSize" : "13px" - } - } - }, - "title" : { - "text" : "Perl Weekly Challenge Contributions [2019 - 2020]" - }, - "yAxis" : { - "title" : { - "text" : null - }, - "min" : 0 } } diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json index ede6755fc3..3d284bd2fc 100644 --- a/stats/pwc-language-breakdown.json +++ b/stats/pwc-language-breakdown.json @@ -1,1322 +1,35 @@ { - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } - }, - "title" : { - "text" : "Perl Weekly Challenge Language" - }, - "xAxis" : { - "type" : "category" - }, - "drilldown" : { - "series" : [ - { - "id" : "001", - "name" : "001", - "data" : [ - [ - "Perl", - 86 - ], - [ - "Raku", - 45 - ], - [ - "Blog", - 11 - ] - ] - }, - { - "id" : "002", - "name" : "002", - "data" : [ - [ - "Perl", - 65 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 10 - ] - ] - }, - { - "id" : "003", - "name" : "003", - "data" : [ - [ - "Perl", - 34 - ], - [ - "Raku", - 28 - ], - [ - "Blog", - 9 - ] - ] - }, - { - "name" : "004", - "id" : "004", - "data" : [ - [ - "Perl", - 50 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 10 - ] - ] - }, - { - "name" : "005", - "id" : "005", - "data" : [ - [ - "Perl", - 36 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "name" : "006", - "id" : "006", - "data" : [ - [ - "Perl", - 29 - ], - [ - "Raku", - 16 - ], - [ - "Blog", - 7 - ] - ] - }, - { - "id" : "007", - "name" : "007", - "data" : [ - [ - "Perl", - 28 - ], - [ - "Raku", - 21 - ], - [ - "Blog", - 10 - ] - ] - }, - { - "name" : "008", - "id" : "008", - "data" : [ - [ - "Perl", - 40 - ], - [ - "Raku", - 20 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "id" : "009", - "name" : "009", - "data" : [ - [ - "Perl", - 37 - ], - [ - "Raku", - 18 - ], - [ - "Blog", - 13 - ] - ] - }, - { - "id" : "010", - "name" : "010", - "data" : [ - [ - "Perl", - 32 - ], - [ - "Raku", - 17 - ], - [ - "Blog", - 11 - ] - ] - }, - { - "id" : "011", - "name" : "011", - "data" : [ - [ - "Perl", - 43 - ], - [ - "Raku", - 26 - ], - [ - "Blog", - 10 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 44 - ], - [ - "Raku", - 28 - ], - [ - "Blog", - 11 - ] - ], - "id" : "012", - "name" : "012" - }, - { - "data" : [ - [ - "Perl", - 42 - ], - [ - "Raku", - 21 - ], - [ - "Blog", - 13 - ] - ], - "id" : "013", - "name" : "013" - }, - { - "name" : "014", - "id" : "014", - "data" : [ - [ - "Perl", - 52 - ], - [ - "Raku", - 29 - ], - [ - "Blog", - 15 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 52 - ], - [ - "Raku", - 26 - ], - [ - "Blog", - 15 - ] - ], - "id" : "015", - "name" : "015" - }, - { - "id" : "016", - "name" : "016", - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 21 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 42 - ], - [ - "Raku", - 25 - ], - [ - "Blog", - 12 - ] - ], - "id" : "017", - "name" : "017" - }, - { - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 29 - ], - [ - "Blog", - 14 - ] - ], - "name" : "018", - "id" : "018" - }, - { - "data" : [ - [ - "Perl", - 52 - ], - [ - "Raku", - 32 - ], - [ - "Blog", - 13 - ] - ], - "name" : "019", - "id" : "019" - }, - { - "data" : [ - [ - "Perl", - 47 - ], - [ - "Raku", - 35 - ], - [ - "Blog", - 13 - ] - ], - "name" : "020", - "id" : "020" - }, - { - "data" : [ - [ - "Perl", - 35 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 10 - ] - ], - "id" : "021", - "name" : "021" - }, - { - "id" : "022", - "name" : "022", - "data" : [ - [ - "Perl", - 32 - ], - [ - "Raku", - 21 - ], - [ - "Blog", - 10 - ] - ] - }, - { - "name" : "023", - "id" : "023", - "data" : [ - [ - "Perl", - 49 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "id" : "024", - "name" : "024", - "data" : [ - [ - "Perl", - 35 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 11 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 26 - ], - [ - "Raku", - 17 - ], - [ - "Blog", - 12 - ] - ], - "id" : "025", - "name" : "025" - }, - { - "name" : "026", - "id" : "026", - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 27 - ], - [ - "Blog", - 10 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 29 - ], - [ - "Raku", - 20 - ], - [ - "Blog", - 9 - ] - ], - "name" : "027", - "id" : "027" - }, - { - "data" : [ - [ - "Perl", - 45 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 9 - ] - ], - "name" : "028", - "id" : "028" - }, - { - "data" : [ - [ - "Perl", - 40 - ], - [ - "Raku", - 25 - ], - [ - "Blog", - 12 - ] - ], - "id" : "029", - "name" : "029" - }, - { - "data" : [ - [ - "Perl", - 74 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 10 - ] - ], - "id" : "030", - "name" : "030" - }, - { - "data" : [ - [ - "Perl", - 50 - ], - [ - "Raku", - 28 - ], - [ - "Blog", - 9 - ] - ], - "name" : "031", - "id" : "031" - }, - { - "name" : "032", - "id" : "032", - "data" : [ - [ - "Perl", - 57 - ], - [ - "Raku", - 25 - ], - [ - "Blog", - 10 - ] - ] - }, - { - "id" : "033", - "name" : "033", - "data" : [ - [ - "Perl", - 62 - ], - [ - "Raku", - 36 - ], - [ - "Blog", - 10 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 30 - ], - [ - "Raku", - 21 - ], - [ - "Blog", - 11 - ] - ], - "name" : "034", - "id" : "034" - }, - { - "name" : "035", - "id" : "035", - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 20 - ], - [ - "Blog", - 9 - ] - ] - }, - { - "name" : "036", - "id" : "036", - "data" : [ - [ - "Perl", - 35 - ], - [ - "Raku", - 20 - ], - [ - "Blog", - 11 - ] - ] - }, - { - "name" : "037", - "id" : "037", - "data" : [ - [ - "Perl", - 34 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 9 - ] - ] - }, - { - "name" : "038", - "id" : "038", - "data" : [ - [ - "Perl", - 31 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 29 - ], - [ - "Raku", - 19 - ], - [ - "Blog", - 12 - ] - ], - "name" : "039", - "id" : "039" - }, - { - "id" : "040", - "name" : "040", - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 10 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 37 - ], - [ - "Raku", - 28 - ], - [ - "Blog", - 9 - ] - ], - "name" : "041", - "id" : "041" - }, - { - "name" : "042", - "id" : "042", - "data" : [ - [ - "Perl", - 47 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 11 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 11 - ] - ], - "name" : "043", - "id" : "043" - }, - { - "data" : [ - [ - "Perl", - 41 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 11 - ] - ], - "id" : "044", - "name" : "044" - }, - { - "id" : "045", - "name" : "045", - "data" : [ - [ - "Perl", - 50 - ], - [ - "Raku", - 33 - ], - [ - "Blog", - 11 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 44 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 10 - ] - ], - "name" : "046", - "id" : "046" - }, - { - "data" : [ - [ - "Perl", - 43 - ], - [ - "Raku", - 29 - ], - [ - "Blog", - 10 - ] - ], - "id" : "047", - "name" : "047" - }, - { - "name" : "048", - "id" : "048", - "data" : [ - [ - "Perl", - 59 - ], - [ - "Raku", - 35 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 48 - ], - [ - "Raku", - 25 - ], - [ - "Blog", - 12 - ] - ], - "id" : "049", - "name" : "049" - }, - { - "data" : [ - [ - "Perl", - 50 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 12 - ] - ], - "name" : "050", - "id" : "050" - }, - { - "name" : "051", - "id" : "051", - "data" : [ - [ - "Perl", - 46 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 11 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 45 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 14 - ] - ], - "name" : "052", - "id" : "052" - }, - { - "data" : [ - [ - "Perl", - 45 - ], - [ - "Raku", - 39 - ], - [ - "Blog", - 15 - ] - ], - "name" : "053", - "id" : "053" - }, - { - "data" : [ - [ - "Perl", - 45 - ], - [ - "Raku", - 38 - ], - [ - "Blog", - 18 - ] - ], - "name" : "054", - "id" : "054" - }, - { - "name" : "055", - "id" : "055", - "data" : [ - [ - "Perl", - 41 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 14 - ] - ] - }, - { - "id" : "056", - "name" : "056", - "data" : [ - [ - "Perl", - 47 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 16 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 15 - ] - ], - "name" : "057", - "id" : "057" - }, - { - "id" : "058", - "name" : "058", - "data" : [ - [ - "Perl", - 31 - ], - [ - "Raku", - 19 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 37 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 15 - ] - ], - "id" : "059", - "name" : "059" - }, - { - "name" : "060", - "id" : "060", - "data" : [ - [ - "Perl", - 37 - ], - [ - "Raku", - 26 - ], - [ - "Blog", - 15 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 37 - ], - [ - "Raku", - 28 - ], - [ - "Blog", - 14 - ] - ], - "id" : "061", - "name" : "061" - }, - { - "name" : "062", - "id" : "062", - "data" : [ - [ - "Perl", - 26 - ], - [ - "Raku", - 17 - ], - [ - "Blog", - 11 - ] - ] - }, - { - "name" : "063", - "id" : "063", - "data" : [ - [ - "Perl", - 42 - ], - [ - "Raku", - 32 - ], - [ - "Blog", - 13 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 35 - ], - [ - "Raku", - 25 - ], - [ - "Blog", - 16 - ] - ], - "id" : "064", - "name" : "064" - }, - { - "id" : "065", - "name" : "065", - "data" : [ - [ - "Perl", - 32 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 15 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 29 - ], - [ - "Blog", - 13 - ] - ], - "id" : "066", - "name" : "066" - }, - { - "data" : [ - [ - "Perl", - 38 - ], - [ - "Raku", - 32 - ], - [ - "Blog", - 17 - ] - ], - "id" : "067", - "name" : "067" - }, - { - "name" : "068", - "id" : "068", - "data" : [ - [ - "Perl", - 31 - ], - [ - "Raku", - 25 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 26 - ], - [ - "Blog", - 15 - ] - ], - "name" : "069", - "id" : "069" - }, - { - "data" : [ - [ - "Perl", - 27 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 9 - ] - ], - "name" : "070", - "id" : "070" - } - ] - }, - "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2020-07-25 11:23:34 GMT" - }, - "legend" : { - "enabled" : "false" - }, - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - } - } + "legend" : { + "enabled" : "false" }, "series" : [ { - "colorByPoint" : "true", + "name" : "Perl Weekly Challenge Languages", "data" : [ { + "name" : "#001", "y" : 142, - "drilldown" : "001", - "name" : "#001" + "drilldown" : "001" }, { "name" : "#002", - "drilldown" : "002", - "y" : 109 + "y" : 109, + "drilldown" : "002" }, { - "y" : 71, "name" : "#003", + "y" : 71, "drilldown" : "003" }, { + "y" : 91, "drilldown" : "004", - "name" : "#004", - "y" : 91 + "name" : "#004" }, { - "y" : 72, + "name" : "#005", "drilldown" : "005", - "name" : "#005" + "y" : 72 }, { "y" : 52, @@ -1324,24 +37,24 @@ "name" : "#006" }, { - "name" : "#007", "drilldown" : "007", - "y" : 59 + "y" : 59, + "name" : "#007" }, { - "y" : 72, "name" : "#008", - "drilldown" : "008" + "drilldown" : "008", + "y" : 72 }, { - "name" : "#009", + "y" : 68, "drilldown" : "009", - "y" : 68 + "name" : "#009" }, { "drilldown" : "010", - "name" : "#010", - "y" : 60 + "y" : 60, + "name" : "#010" }, { "name" : "#011", @@ -1349,74 +62,74 @@ "y" : 79 }, { - "y" : 83, "name" : "#012", - "drilldown" : "012" + "drilldown" : "012", + "y" : 83 }, { - "drilldown" : "013", "name" : "#013", + "drilldown" : "013", "y" : 76 }, { - "y" : 96, "name" : "#014", - "drilldown" : "014" + "drilldown" : "014", + "y" : 96 }, { - "y" : 93, + "name" : "#015", "drilldown" : "015", - "name" : "#015" + "y" : 93 }, { "y" : 66, - "name" : "#016", - "drilldown" : "016" + "drilldown" : "016", + "name" : "#016" }, { "y" : 79, - "name" : "#017", - "drilldown" : "017" + "drilldown" : "017", + "name" : "#017" }, { - "drilldown" : "018", "name" : "#018", + "drilldown" : "018", "y" : 76 }, { - "y" : 97, "name" : "#019", - "drilldown" : "019" + "drilldown" : "019", + "y" : 97 }, { + "y" : 95, "drilldown" : "020", - "name" : "#020", - "y" : 95 + "name" : "#020" }, { "drilldown" : "021", - "name" : "#021", - "y" : 67 + "y" : 67, + "name" : "#021" }, { - "y" : 63, "name" : "#022", + "y" : 63, "drilldown" : "022" }, { + "name" : "#023", "y" : 91, - "drilldown" : "023", - "name" : "#023" + "drilldown" : "023" }, { - "drilldown" : "024", "name" : "#024", - "y" : 70 + "y" : 70, + "drilldown" : "024" }, { + "y" : 55, "drilldown" : "025", - "name" : "#025", - "y" : 55 + "name" : "#025" }, { "name" : "#026", @@ -1424,44 +137,44 @@ "y" : 70 }, { + "name" : "#027", "y" : 58, - "drilldown" : "027", - "name" : "#027" + "drilldown" : "027" }, { "y" : 78, - "name" : "#028", - "drilldown" : "028" + "drilldown" : "028", + "name" : "#028" }, { - "y" : 77, "name" : "#029", - "drilldown" : "029" + "drilldown" : "029", + "y" : 77 }, { + "name" : "#030", "y" : 115, - "drilldown" : "030", - "name" : "#030" + "drilldown" : "030" }, { - "y" : 87, "drilldown" : "031", + "y" : 87, "name" : "#031" }, { - "y" : 92, "drilldown" : "032", + "y" : 92, "name" : "#032" }, { "y" : 108, - "name" : "#033", - "drilldown" : "033" + "drilldown" : "033", + "name" : "#033" }, { "name" : "#034", - "drilldown" : "034", - "y" : 62 + "y" : 62, + "drilldown" : "034" }, { "y" : 62, @@ -1469,53 +182,53 @@ "name" : "#035" }, { - "drilldown" : "036", "name" : "#036", - "y" : 66 + "y" : 66, + "drilldown" : "036" }, { - "y" : 65, "name" : "#037", + "y" : 65, "drilldown" : "037" }, { + "drilldown" : "038", "y" : 65, - "name" : "#038", - "drilldown" : "038" + "name" : "#038" }, { + "name" : "#039", "y" : 60, - "drilldown" : "039", - "name" : "#039" + "drilldown" : "039" }, { - "y" : 71, + "name" : "#040", "drilldown" : "040", - "name" : "#040" + "y" : 71 }, { - "drilldown" : "041", "name" : "#041", - "y" : 74 + "y" : 74, + "drilldown" : "041" }, { - "y" : 88, "name" : "#042", + "y" : 88, "drilldown" : "042" }, { + "name" : "#043", "y" : 66, - "drilldown" : "043", - "name" : "#043" + "drilldown" : "043" }, { - "drilldown" : "044", "name" : "#044", - "y" : 82 + "y" : 82, + "drilldown" : "044" }, { - "y" : 94, "drilldown" : "045", + "y" : 94, "name" : "#045" }, { @@ -1529,83 +242,83 @@ "y" : 82 }, { + "drilldown" : "048", "y" : 106, - "name" : "#048", - "drilldown" : "048" + "name" : "#048" }, { - "drilldown" : "049", "name" : "#049", + "drilldown" : "049", "y" : 85 }, { - "y" : 96, "name" : "#050", - "drilldown" : "050" + "drilldown" : "050", + "y" : 96 }, { - "y" : 87, "name" : "#051", - "drilldown" : "051" + "drilldown" : "051", + "y" : 87 }, { - "name" : "#052", + "y" : 89, "drilldown" : "052", - "y" : 89 + "name" : "#052" }, { - "drilldown" : "053", "name" : "#053", + "drilldown" : "053", "y" : 99 }, { "y" : 101, - "name" : "#054", - "drilldown" : "054" + "drilldown" : "054", + "name" : "#054" }, { "y" : 86, - "name" : "#055", - "drilldown" : "055" + "drilldown" : "055", + "name" : "#055" }, { + "y" : 93, "drilldown" : "056", - "name" : "#056", - "y" : 93 + "name" : "#056" }, { - "name" : "#057", + "y" : 78, "drilldown" : "057", - "y" : 78 + "name" : "#057" }, { "drilldown" : "058", - "name" : "#058", - "y" : 62 + "y" : 62, + "name" : "#058" }, { + "y" : 82, "drilldown" : "059", - "name" : "#059", - "y" : 82 + "name" : "#059" }, { - "y" : 78, "name" : "#060", - "drilldown" : "060" + "drilldown" : "060", + "y" : 78 }, { - "drilldown" : "061", "name" : "#061", - "y" : 79 + "y" : 79, + "drilldown" : "061" }, { + "drilldown" : "062", "y" : 54, - "name" : "#062", - "drilldown" : "062" + "name" : "#062" }, { - "drilldown" : "063", "name" : "#063", + "drilldown" : "063", "y" : 87 }, { @@ -1615,44 +328,1331 @@ }, { "drilldown" : "065", - "name" : "#065", - "y" : 71 + "y" : 71, + "name" : "#065" }, { - "y" : 81, "drilldown" : "066", + "y" : 81, "name" : "#066" }, { - "y" : 87, "drilldown" : "067", + "y" : 87, "name" : "#067" }, { - "name" : "#068", + "y" : 68, "drilldown" : "068", - "y" : 68 + "name" : "#068" }, { "y" : 80, - "name" : "#069", - "drilldown" : "069" + "drilldown" : "069", + "name" : "#069" }, { - "drilldown" : "070", "name" : "#070", - "y" : 58 + "drilldown" : "070", + "y" : 60 } ], - "name" : "Perl Weekly Challenge Languages" + "colorByPoint" : "true" } ], - "chart" : { - "type" : "column" + "plotOptions" : { + "series" : { + "borderWidth" : 0, + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + } + } + }, + "title" : { + "text" : "Perl Weekly Challenge Language" + }, + "subtitle" : { + "text" : "Click the columns to drilldown the language breakdown. Last updated at 2020-07-25 11:30:49 GMT" + }, + "xAxis" : { + "type" : "category" + }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } }, "tooltip" : { + "headerFormat" : "", "pointFormat" : "Challenge {point.name}: {point.y:f}
", - "followPointer" : "true", - "headerFormat" : "" + "followPointer" : "true" + }, + "chart" : { + "type" : "column" + }, + "drilldown" : { + "series" : [ + { + "data" : [ + [ + "Perl", + 86 + ], + [ + "Raku", + 45 + ], + [ + "Blog", + 11 + ] + ], + "name" : "001", + "id" : "001" + }, + { + "id" : "002", + "name" : "002", + "data" : [ + [ + "Perl", + 65 + ], + [ + "Raku", + 34 + ], + [ + "Blog", + 10 + ] + ] + }, + { + "id" : "003", + "data" : [ + [ + "Perl", + 34 + ], + [ + "Raku", + 28 + ], + [ + "Blog", + 9 + ] + ], + "name" : "003" + }, + { + "id" : "004", + "name" : "004", + "data" : [ + [ + "Perl", + 50 + ], + [ + "Raku", + 31 + ], + [ + "Blog", + 10 + ] + ] + }, + { + "id" : "005", + "data" : [ + [ + "Perl", + 36 + ], + [ + "Raku", + 24 + ], + [ + "Blog", + 12 + ] + ], + "name" : "005" + }, + { + "id" : "006", + "data" : [ + [ + "Perl", +