From bf9afa6a45b86d2759c1fe1185ed927911271cb2 Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Mon, 25 May 2020 02:29:30 +0100 Subject: - Tidied up folder for PerlBoy1967. --- challenge-061/PerlBoy1967/README | 1 - challenge-061/PerlBoy1967/perl/ch-1.pl | 106 -- challenge-061/PerlBoy1967/perl/ch-2.pl | 83 -- challenge-061/perlboy1967/README | 1 + challenge-061/perlboy1967/perl/ch-1.pl | 106 ++ challenge-061/perlboy1967/perl/ch-2.pl | 83 ++ members.json | 2 +- stats/pwc-current.json | 410 +++---- stats/pwc-language-breakdown-summary.json | 32 +- stats/pwc-language-breakdown.json | 1682 ++++++++++++++--------------- stats/pwc-leaders.json | 708 ++++++------ stats/pwc-summary-1-30.json | 48 +- stats/pwc-summary-121-150.json | 38 +- stats/pwc-summary-151-180.json | 70 +- stats/pwc-summary-31-60.json | 36 +- stats/pwc-summary-61-90.json | 104 +- stats/pwc-summary-91-120.json | 40 +- stats/pwc-summary.json | 366 +++---- 18 files changed, 1958 insertions(+), 1958 deletions(-) delete mode 100644 challenge-061/PerlBoy1967/README delete mode 100755 challenge-061/PerlBoy1967/perl/ch-1.pl delete mode 100755 challenge-061/PerlBoy1967/perl/ch-2.pl create mode 100644 challenge-061/perlboy1967/README create mode 100755 challenge-061/perlboy1967/perl/ch-1.pl create mode 100755 challenge-061/perlboy1967/perl/ch-2.pl diff --git a/challenge-061/PerlBoy1967/README b/challenge-061/PerlBoy1967/README deleted file mode 100644 index ae244a43c7..0000000000 --- a/challenge-061/PerlBoy1967/README +++ /dev/null @@ -1 +0,0 @@ -Solution by Niels van Dijke. diff --git a/challenge-061/PerlBoy1967/perl/ch-1.pl b/challenge-061/PerlBoy1967/perl/ch-1.pl deleted file mode 100755 index 18b39ac05d..0000000000 --- a/challenge-061/PerlBoy1967/perl/ch-1.pl +++ /dev/null @@ -1,106 +0,0 @@ -#!/usr/bin/perl - -# Perl Weekly Challenge - 061 - Task 1 -# -# Author: Niels 'PerlBoy' van Dijke -# -# Usage: -# perl ch-1.pl < number_list_file -# -# Challenge: -# Given a list of 4 or more numbers, write a script to find the contiguous sublist -# that has the maximum product. The length of the sublist is irrelevant; -# your job is to maximize the product. -# -# Example -# -# Input: [ 2, 5, -1, 3 ] -# -# Output: [ 2, 5 ] which gives maximum product 10. - -use strict; -use warnings; - -my @listOfLists; - -# Read the number list -while () { - s/#.*//; - s/^\s*(.*?)\s*$/$1/; - - my @l = split(/\s+/); - - push(@listOfLists,\@l) if (scalar(@l)); -} - -foreach my $list (@listOfLists) { - # Deref for easier editing ;-) - my @list = @$list; - - my ($maxLeftIdx, $lIdx) = (0, 0); - my ($maxRightIdx, $rIdx) = (1, 1); - - # Initially the first two factors are the first maximum - my $maxProduct = $list[$lIdx] * $list[$rIdx]; - - my $tmpProduct = $maxProduct; - - # Go for a 'C' like style solution with 'pointers' - while ($rIdx < scalar(@list) - 1) { - while ($rIdx < scalar(@list) - 1 and - $tmpProduct * $list[$rIdx + 1] > $tmpProduct) { - $tmpProduct *= $list[$rIdx + 1]; - $rIdx++; - } - - # New maximum product found? - # If so keep value and indexes - if ($tmpProduct > $maxProduct) { - ($maxProduct, $maxLeftIdx, $maxRightIdx) = ($tmpProduct, $lIdx, $rIdx); - } - - # List exhausted? - last if ($rIdx == scalar(@list) - 1); - - # Last factor must have been 0 or smaller to make the running - # product smaller then its predecessor. - # - # Set 'pointers' to new starting point - if ($list[$rIdx + 1] == 0) { - # If 0 then maximum is (potentially) at the right - $rIdx += 2; - } else { - $rIdx++; - } - - $lIdx = $rIdx - 1; - - # Calculate the new potential maximum - $tmpProduct = $list[$lIdx] * $list[$rIdx]; - } - - # New maximum product found? - # If so keep value and indexes - if ($tmpProduct > $maxProduct) { - ($maxProduct, $maxLeftIdx, $maxRightIdx) = ($tmpProduct, $lIdx, $rIdx); - } - - print "# ------------------------------------------------------------------\n"; - printf "Input: [ %s ]\n", join(', ', @list); - printf "Output: [ %s ] which gives maximum product %d\n", - join(', ', @list[$maxLeftIdx .. $maxRightIdx]), $maxProduct; - print "# ------------------------------------------------------------------\n"; -} - -# The rest of the file is test sets -__DATA__ - 2 5 -1 3 - 3 1 0 6 1 2 - 3 -1 -2 -1 5 1 --2 3 0 5 -1 -2 --3 2 0 0 -5 -3 --4 -1 -8 0 1 7 - 5 -1 0 1 1 - 1 -9 1 -1 1 2 - 1 -5 1 0 -5 1 2 - 1 -4 1 2 diff --git a/challenge-061/PerlBoy1967/perl/ch-2.pl b/challenge-061/PerlBoy1967/perl/ch-2.pl deleted file mode 100755 index 0fc7dc4c36..0000000000 --- a/challenge-061/PerlBoy1967/perl/ch-2.pl +++ /dev/null @@ -1,83 +0,0 @@ -#!/usr/bin/perl - -# Perl Weekly Challenge - 061 - Task 2 -# -# Author: Niels 'PerlBoy' van Dijke -# -# Note: -# The input should be one 'ip number' per line -# -# Challenge: -# -# You are given a string containing only digits (0..9). The string should have between 4 and 12 digits. -# -# Write a script to print every possible valid IPv4 address that can be made by partitioning the input string. -# -# For the purpose of this challenge, a valid IPv4 address consists of four “octets” i.e. A, B, C and D, -# separated by dots (.). -# -# Each octet must be between 0 and 255, and must not have any leading zeroes. (e.g., 0 is OK, but 01 is not.) -# -# Example -# -# Input: 25525511135, -# -# Output: -# -# 255.255.11.135 -# 255.255.111.35 - - -use strict; -use warnings; - -# Define octet regexp options -my %d = ( - 1 => '\d', - 2 => '[1-9]\d', - 3 => '1\d\d|2[0-4][0-9]|25[0-5]', -); - -my %re; - -# Build regexp hash arrays -for my $a (1..3) { - for my $b (1..3) { - my $ab = $a + $b; - for my $c (1..3) { - my $abc = $ab + $c; - for my $d (1..3) { - my $abcd = $abc + $d; - push(@{$re{$abcd}},"($d{$a})($d{$b})($d{$c})($d{$d})"); - } - } - } -} - -while() { - if (my ($ipnum) = $_ =~ m#(\d{4,12})#) { - - my $len = length($ipnum); - - print "$ipnum:\n"; - study($ipnum); - foreach my $re (@{$re{$len}}) { - if ($ipnum =~ m#^$re$#) { - print "\t".join('.', $1, $2, $3, $4)."\n"; - } - } - } -} - -__DATA__ -1234 -12345 -123456 -1234567 -12345678 -1234567190 -1211121191 -12315611110 -127200201110 -227201201110 - diff --git a/challenge-061/perlboy1967/README b/challenge-061/perlboy1967/README new file mode 100644 index 0000000000..ae244a43c7 --- /dev/null +++ b/challenge-061/perlboy1967/README @@ -0,0 +1 @@ +Solution by Niels van Dijke. diff --git a/challenge-061/perlboy1967/perl/ch-1.pl b/challenge-061/perlboy1967/perl/ch-1.pl new file mode 100755 index 0000000000..18b39ac05d --- /dev/null +++ b/challenge-061/perlboy1967/perl/ch-1.pl @@ -0,0 +1,106 @@ +#!/usr/bin/perl + +# Perl Weekly Challenge - 061 - Task 1 +# +# Author: Niels 'PerlBoy' van Dijke +# +# Usage: +# perl ch-1.pl < number_list_file +# +# Challenge: +# Given a list of 4 or more numbers, write a script to find the contiguous sublist +# that has the maximum product. The length of the sublist is irrelevant; +# your job is to maximize the product. +# +# Example +# +# Input: [ 2, 5, -1, 3 ] +# +# Output: [ 2, 5 ] which gives maximum product 10. + +use strict; +use warnings; + +my @listOfLists; + +# Read the number list +while () { + s/#.*//; + s/^\s*(.*?)\s*$/$1/; + + my @l = split(/\s+/); + + push(@listOfLists,\@l) if (scalar(@l)); +} + +foreach my $list (@listOfLists) { + # Deref for easier editing ;-) + my @list = @$list; + + my ($maxLeftIdx, $lIdx) = (0, 0); + my ($maxRightIdx, $rIdx) = (1, 1); + + # Initially the first two factors are the first maximum + my $maxProduct = $list[$lIdx] * $list[$rIdx]; + + my $tmpProduct = $maxProduct; + + # Go for a 'C' like style solution with 'pointers' + while ($rIdx < scalar(@list) - 1) { + while ($rIdx < scalar(@list) - 1 and + $tmpProduct * $list[$rIdx + 1] > $tmpProduct) { + $tmpProduct *= $list[$rIdx + 1]; + $rIdx++; + } + + # New maximum product found? + # If so keep value and indexes + if ($tmpProduct > $maxProduct) { + ($maxProduct, $maxLeftIdx, $maxRightIdx) = ($tmpProduct, $lIdx, $rIdx); + } + + # List exhausted? + last if ($rIdx == scalar(@list) - 1); + + # Last factor must have been 0 or smaller to make the running + # product smaller then its predecessor. + # + # Set 'pointers' to new starting point + if ($list[$rIdx + 1] == 0) { + # If 0 then maximum is (potentially) at the right + $rIdx += 2; + } else { + $rIdx++; + } + + $lIdx = $rIdx - 1; + + # Calculate the new potential maximum + $tmpProduct = $list[$lIdx] * $list[$rIdx]; + } + + # New maximum product found? + # If so keep value and indexes + if ($tmpProduct > $maxProduct) { + ($maxProduct, $maxLeftIdx, $maxRightIdx) = ($tmpProduct, $lIdx, $rIdx); + } + + print "# ------------------------------------------------------------------\n"; + printf "Input: [ %s ]\n", join(', ', @list); + printf "Output: [ %s ] which gives maximum product %d\n", + join(', ', @list[$maxLeftIdx .. $maxRightIdx]), $maxProduct; + print "# ------------------------------------------------------------------\n"; +} + +# The rest of the file is test sets +__DATA__ + 2 5 -1 3 + 3 1 0 6 1 2 + 3 -1 -2 -1 5 1 +-2 3 0 5 -1 -2 +-3 2 0 0 -5 -3 +-4 -1 -8 0 1 7 + 5 -1 0 1 1 + 1 -9 1 -1 1 2 + 1 -5 1 0 -5 1 2 + 1 -4 1 2 diff --git a/challenge-061/perlboy1967/perl/ch-2.pl b/challenge-061/perlboy1967/perl/ch-2.pl new file mode 100755 index 0000000000..0fc7dc4c36 --- /dev/null +++ b/challenge-061/perlboy1967/perl/ch-2.pl @@ -0,0 +1,83 @@ +#!/usr/bin/perl + +# Perl Weekly Challenge - 061 - Task 2 +# +# Author: Niels 'PerlBoy' van Dijke +# +# Note: +# The input should be one 'ip number' per line +# +# Challenge: +# +# You are given a string containing only digits (0..9). The string should have between 4 and 12 digits. +# +# Write a script to print every possible valid IPv4 address that can be made by partitioning the input string. +# +# For the purpose of this challenge, a valid IPv4 address consists of four “octets” i.e. A, B, C and D, +# separated by dots (.). +# +# Each octet must be between 0 and 255, and must not have any leading zeroes. (e.g., 0 is OK, but 01 is not.) +# +# Example +# +# Input: 25525511135, +# +# Output: +# +# 255.255.11.135 +# 255.255.111.35 + + +use strict; +use warnings; + +# Define octet regexp options +my %d = ( + 1 => '\d', + 2 => '[1-9]\d', + 3 => '1\d\d|2[0-4][0-9]|25[0-5]', +); + +my %re; + +# Build regexp hash arrays +for my $a (1..3) { + for my $b (1..3) { + my $ab = $a + $b; + for my $c (1..3) { + my $abc = $ab + $c; + for my $d (1..3) { + my $abcd = $abc + $d; + push(@{$re{$abcd}},"($d{$a})($d{$b})($d{$c})($d{$d})"); + } + } + } +} + +while() { + if (my ($ipnum) = $_ =~ m#(\d{4,12})#) { + + my $len = length($ipnum); + + print "$ipnum:\n"; + study($ipnum); + foreach my $re (@{$re{$len}}) { + if ($ipnum =~ m#^$re$#) { + print "\t".join('.', $1, $2, $3, $4)."\n"; + } + } + } +} + +__DATA__ +1234 +12345 +123456 +1234567 +12345678 +1234567190 +1211121191 +12315611110 +127200201110 +227201201110 + diff --git a/members.json b/members.json index 20191e385e..07e2ba5863 100644 --- a/members.json +++ b/members.json @@ -109,7 +109,7 @@ "ozzy" : "Ozzy", "pavel-jurca" : "Pavel Jurca", "pavel-starikov" : "Pavel Starikov", - "PerlBoy1967" : "Niels van Dijke", + "perlboy1967" : "Niels van Dijke", "pete-houston" : "Pete Houston", "pete-sergeant" : "Pete Sergeant", "peter-meszaros" : "Peter Meszaros", diff --git a/stats/pwc-current.json b/stats/pwc-current.json index 244060dda3..33be6b2338 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,179 +1,26 @@ { - "chart" : { - "type" : "column" - }, - "subtitle" : { - "text" : "[Champions: 27] Last updated at 2020-05-24 22:24:07 GMT" - }, "title" : { "text" : "Perl Weekly Challenge - 061" }, - "xAxis" : { - "type" : "category" + "tooltip" : { + "headerFormat" : "{series.name}
", + "followPointer" : 1, + "pointFormat" : "{point.name}: {point.y:f}
" }, - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - } - } + "legend" : { + "enabled" : 0 }, - "series" : [ - { - "name" : "Perl Weekly Challenge - 061", - "data" : [ - { - "drilldown" : "Alicia Bielsa", - "name" : "Alicia Bielsa", - "y" : 2 - }, - { - "drilldown" : "Arne Sommer", - "name" : "Arne Sommer", - "y" : 3 - }, - { - "y" : 4, - "drilldown" : "Athanasius", - "name" : "Athanasius" - }, - { - "y" : 2, - "name" : "Cheok-Yin Fung", - "drilldown" : "Cheok-Yin Fung" - }, - { - "y" : 5, - "drilldown" : "Colin Crain", - "name" : "Colin Crain" - }, - { - "drilldown" : "Dave Jacoby", - "name" : "Dave Jacoby", - "y" : 3 - }, - { - "y" : 2, - "drilldown" : "Donald Hunter", - "name" : "Donald Hunter" - }, - { - "drilldown" : "Duncan C. White", - "name" : "Duncan C. White", - "y" : 2 - }, - { - "name" : "E. Choroba", - "drilldown" : "E. Choroba", - "y" : 3 - }, - { - "y" : 5, - "name" : "Javier Luque", - "drilldown" : "Javier Luque" - }, - { - "name" : "Jorg Sommrey", - "drilldown" : "Jorg Sommrey", - "y" : 2 - }, - { - "y" : 5, - "name" : "Laurent Rosenfeld", - "drilldown" : "Laurent Rosenfeld" - }, - { - "name" : "Luca Ferrari", - "drilldown" : "Luca Ferrari", - "y" : 4 - }, - { - "y" : 1, - "drilldown" : "Mark Anderson", - "name" : "Mark Anderson" - }, - { - "y" : 1, - "name" : "Markus Holzer", - "drilldown" : "Markus Holzer" - }, - { - "name" : "Mohammad S Anwar", - "drilldown" : "Mohammad S Anwar", - "y" : 5 - }, - { - "drilldown" : "Niels van Dijke", - "name" : "Niels van Dijke", - "y" : 2 - }, - { - "name" : "Noud Aldenhoven", - "drilldown" : "Noud Aldenhoven", - "y" : 2 - }, - { - "y" : 1, - "drilldown" : "Richard Park", - "name" : "Richard Park" - }, - { - "drilldown" : "Roger Bell_West", - "name" : "Roger Bell_West", - "y" : 4 - }, - { - "drilldown" : "Saif Ahmed", - "name" : "Saif Ahmed", - "y" : 2 - }, - { - "y" : 4, - "drilldown" : "Sangeet Kar", - "name" : "Sangeet Kar" - }, - { - "drilldown" : "Shahed Nooshmand", - "name" : "Shahed Nooshmand", - "y" : 3 - }, - { - "y" : 2, - "name" : "Simon Proctor", - "drilldown" : "Simon Proctor" - }, - { - "name" : "Ulrich Rieke", - "drilldown" : "Ulrich Rieke", - "y" : 3 - }, - { - "y" : 2, - "drilldown" : "Wanderdoc", - "name" : "Wanderdoc" - }, - { - "y" : 2, - "name" : "Yet Ebreo", - "drilldown" : "Yet Ebreo" - } - ], - "colorByPoint" : 1 - } - ], "drilldown" : { "series" : [ { - "id" : "Alicia Bielsa", + "name" : "Alicia Bielsa", "data" : [ [ "Perl", 2 ] ], - "name" : "Alicia Bielsa" + "id" : "Alicia Bielsa" }, { "id" : "Arne Sommer", @@ -204,14 +51,14 @@ "name" : "Athanasius" }, { - "name" : "Cheok-Yin Fung", + "id" : "Cheok-Yin Fung", "data" : [ [ "Perl", 2 ] ], - "id" : "Cheok-Yin Fung" + "name" : "Cheok-Yin Fung" }, { "name" : "Colin Crain", @@ -232,7 +79,6 @@ ] }, { - "id" : "Dave Jacoby", "data" : [ [ "Perl", @@ -243,10 +89,10 @@ 1 ] ], + "id" : "Dave Jacoby", "name" : "Dave Jacoby" }, { - "id" : "Donald Hunter", "data" : [ [ "Raku", @@ -257,19 +103,22 @@ 1 ] ], + "id" : "Donald Hunter", "name" : "Donald Hunter" }, { + "name" : "Duncan C. White", + "id" : "Duncan C. White", "data" : [ [ "Perl", 2 ] - ], - "id" : "Duncan C. White", - "name" : "Duncan C. White" + ] }, { + "name" : "E. Choroba", + "id" : "E. Choroba", "data" : [ [ "Perl", @@ -279,9 +128,7 @@ "Blog", 1 ] - ], - "id" : "E. Choroba", - "name" : "E. Choroba" + ] }, { "name" : "Javier Luque", @@ -303,16 +150,16 @@ }, { "name" : "Jorg Sommrey", - "id" : "Jorg Sommrey", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "Jorg Sommrey" }, { - "name" : "Laurent Rosenfeld", + "id" : "Laurent Rosenfeld", "data" : [ [ "Perl", @@ -327,10 +174,10 @@ 1 ] ], - "id" : "Laurent Rosenfeld" + "name" : "Laurent Rosenfeld" }, { - "id" : "Luca Ferrari", + "name" : "Luca Ferrari", "data" : [ [ "Raku", @@ -341,30 +188,30 @@ 2 ] ], - "name" : "Luca Ferrari" + "id" : "Luca Ferrari" }, { + "id" : "Mark Anderson", "data" : [ [ "Raku", 1 ] ], - "id" : "Mark Anderson", "name" : "Mark Anderson" }, { - "id" : "Markus Holzer", + "name" : "Markus Holzer", "data" : [ [ "Raku", 1 ] ], - "name" : "Markus Holzer" + "id" : "Markus Holzer" }, { - "name" : "Mohammad S Anwar", + "id" : "Mohammad S Anwar", "data" : [ [ "Perl", @@ -379,17 +226,17 @@ 1 ] ], - "id" : "Mohammad S Anwar" + "name" : "Mohammad S Anwar" }, { + "name" : "Niels van Dijke", "id" : "Niels van Dijke", "data" : [ [ "Perl", 2 ] - ], - "name" : "Niels van Dijke" + ] }, { "data" : [ @@ -402,16 +249,17 @@ "name" : "Noud Aldenhoven" }, { + "name" : "Richard Park", + "id" : "Richard Park", "data" : [ [ "Blog", 1 ] - ], - "id" : "Richard Park", - "name" : "Richard Park" + ] }, { + "id" : "Roger Bell_West", "data" : [ [ "Perl", @@ -426,22 +274,20 @@ 1 ] ], - "id" : "Roger Bell_West", "name" : "Roger Bell_West" }, { + "id" : "Saif Ahmed", "data" : [ [ "Perl", 2 ] ], - "id" : "Saif Ahmed", "name" : "Saif Ahmed" }, { "name" : "Sangeet Kar", - "id" : "Sangeet Kar", "data" : [ [ "Perl", @@ -451,10 +297,10 @@ "Raku", 2 ] - ] + ], + "id" : "Sangeet Kar" }, { - "name" : "Shahed Nooshmand", "id" : "Shahed Nooshmand", "data" : [ [ @@ -465,7 +311,8 @@ "Blog", 1 ] - ] + ], + "name" : "Shahed Nooshmand" }, { "name" : "Simon Proctor", @@ -478,7 +325,7 @@ "id" : "Simon Proctor" }, { - "name" : "Ulrich Rieke", + "id" : "Ulrich Rieke", "data" : [ [ "Perl", @@ -489,41 +336,194 @@ 2 ] ], - "id" : "Ulrich Rieke" + "name" : "Ulrich Rieke" }, { - "name" : "Wanderdoc", "id" : "Wanderdoc", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "Wanderdoc" }, { - "id" : "Yet Ebreo", + "name" : "Yet Ebreo", "data" : [ [ "Perl", 2 ] ], - "name" : "Yet Ebreo" + "id" : "Yet Ebreo" } ] }, + "subtitle" : { + "text" : "[Champions: 27] Last updated at 2020-05-25 01:29:05 GMT" + }, + "xAxis" : { + "type" : "category" + }, + "series" : [ + { + "colorByPoint" : 1, + "data" : [ + { + "y" : 2, + "drilldown" : "Alicia Bielsa", + "name" : "Alicia Bielsa" + }, + { + "drilldown" : "Arne Sommer", + "name" : "Arne Sommer", + "y" : 3 + }, + { + "y" : 4, + "drilldown" : "Athanasius", + "name" : "Athanasius" + }, + { + "y" : 2, + "name" : "Cheok-Yin Fung", + "drilldown" : "Cheok-Yin Fung" + }, + { + "y" : 5, + "drilldown" : "Colin Crain", + "name" : "Colin Crain" + }, + { + "y" : 3, + "name" : "Dave Jacoby", + "drilldown" : "Dave Jacoby" + }, + { + "name" : "Donald Hunter", + "drilldown" : "Donald Hunter", + "y" : 2 + }, + { + "y" : 2, + "drilldown" : "Duncan C. White", + "name" : "Duncan C. White" + }, + { + "name" : "E. Choroba", + "drilldown" : "E. Choroba", + "y" : 3 + }, + { + "y" : 5, + "drilldown" : "Javier Luque", + "name" : "Javier Luque" + }, + { + "drilldown" : "Jorg Sommrey", + "name" : "Jorg Sommrey", + "y" : 2 + }, + { + "y" : 5, + "name" : "Laurent Rosenfeld", + "drilldown" : "Laurent Rosenfeld" + }, + { + "y" : 4, + "name" : "Luca Ferrari", + "drilldown" : "Luca Ferrari" + }, + { + "name" : "Mark Anderson", + "drilldown" : "Mark Anderson", + "y" : 1 + }, + { + "y" : 1, + "drilldown" : "Markus Holzer", + "name" : "Markus Holzer" + }, + { + "drilldown" : "Mohammad S Anwar", + "name" : "Mohammad S Anwar", + "y" : 5 + }, + { + "drilldown" : "Niels van Dijke", + "name" : "Niels van Dijke", + "y" : 2 + }, + { + "y" : 2, + "name" : "Noud Aldenhoven", + "drilldown" : "Noud Aldenhoven" + }, + { + "y" : 1, + "name" : "Richard Park", + "drilldown" : "Richard Park" + }, + { + "name" : "Roger Bell_West", + "drilldown" : "Roger Bell_West", + "y" : 4 + }, + { + "y" : 2, + "drilldown" : "Saif Ahmed", + "name" : "Saif Ahmed" + }, + { + "y" : 4, + "name" : "Sangeet Kar", + "drilldown" : "Sangeet Kar" + }, + { + "name" : "Shahed Nooshmand", + "drilldown" : "Shahed Nooshmand", + "y" : 3 + }, + { + "drilldown" : "Simon Proctor", + "name" : "Simon Proctor", + "y" : 2 + }, + { + "y" : 3, + "name" : "Ulrich Rieke", + "drilldown" : "Ulrich Rieke" + }, + { + "name" : "Wanderdoc", + "drilldown" : "Wanderdoc", + "y" : 2 + }, + { + "y" : 2, + "name" : "Yet Ebreo", + "drilldown" : "Yet Ebreo" + } + ], + "name" : "Perl Weekly Challenge - 061" + } + ], "yAxis" : { "title" : { "text" : "Total Solutions" } }, - "legend" : { - "enabled" : 0 + "plotOptions" : { + "series" : { + "borderWidth" : 0, + "dataLabels" : { + "enabled" : 1, + "format" : "{point.y}" + } + } }, - "tooltip" : { - "pointFormat" : "{point.name}: {point.y:f}
", - "followPointer" : 1, - "headerFormat" : "{series.name}
" + "chart" : { + "type" : "column" } } diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index a212676198..ea6fcb6609 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -1,4 +1,10 @@ { + "title" : { + "text" : "Perl Weekly Challenge Contributions [2019 - 2020]" + }, + "legend" : { + "enabled" : "false" + }, "tooltip" : { "pointFormat" : "{point.y:.0f}" }, @@ -8,21 +14,18 @@ "text" : null } }, - "legend" : { - "enabled" : "false" - }, "series" : [ { "dataLabels" : { + "format" : "{point.y:.0f}", + "y" : 10, "color" : "#FFFFFF", "style" : { "fontSize" : "13px", "fontFamily" : "Verdana, sans-serif" }, - "rotation" : -90, - "format" : "{point.y:.0f}", - "y" : 10, "align" : "right", + "rotation" : -90, "enabled" : "true" }, "name" : "Contributions", @@ -42,20 +45,17 @@ ] } ], + "subtitle" : { + "text" : "Last updated at 2020-05-25 01:29:05 GMT" + }, "xAxis" : { + "type" : "category", "labels" : { "style" : { - "fontFamily" : "Verdana, sans-serif", - "fontSize" : "13px" + "fontSize" : "13px", + "fontFamily" : "Verdana, sans-serif" } - }, - "type" : "category" - }, - "title" : { - "text" : "Perl Weekly Challenge Contributions [2019 - 2020]" - }, - "subtitle" : { - "text" : "Last updated at 2020-05-24 22:24:07 GMT" + } }, "chart" : { "type" : "column" diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json index d397ded368..ec5f1d5ecb 100644 --- a/stats/pwc-language-breakdown.json +++ b/stats/pwc-language-breakdown.json @@ -1,824 +1,881 @@ { - "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2020-05-24 22:24:07 GMT" - }, "chart" : { "type" : "column" }, - "title" : { - "text" : "Perl Weekly Challenge Language" - }, - "legend" : { - "enabled" : "false" + "plotOptions" : { + "series" : { + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + }, + "borderWidth" : 0 + } }, "yAxis" : { "title" : { "text" : "Total Solutions" } }, - "tooltip" : { - "headerFormat" : "", - "followPointer" : "true", - "pointFormat" : "Challenge {point.name}: {point.y:f}
" - }, - "xAxis" : { - "type" : "category" - }, - "drilldown" : { - "series" : [ - { - "data" : [ - [ - "Perl", - 86 - ], - [ - "Raku", - 45 - ], - [ - "Blog", - 11 - ] - ], - "id" : "001", - "name" : "001" - }, - { - "data" : [ - [ - "Perl", - 65 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 10 - ] - ], - "id" : "002", - "name" : "002" - }, - { - "id" : "003", - "data" : [ - [ - "Perl", - 34 - ], - [ - "Raku", - 28 - ], - [ - "Blog", - 9 - ] - ], - "name" : "003" - }, - { - "data" : [ - [ - "Perl", - 50 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 10 - ] - ], - "id" : "004", - "name" : "004" - }, - { - "name" : "005", - "id" : "005", - "data" : [ - [ - "Perl", - 36 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "id" : "006", - "data" : [ - [ - "Perl", - 29 - ], - [ - "Raku", - 16 - ], - [ - "Blog", - 7 - ] - ], - "name" : "006" - }, - { - "id" : "007", - "data" : [ - [ - "Perl", - 28 - ], - [ - "Raku", - 21 - ], - [ - "Blog", - 10 - ] - ], - "name" : "007" - }, - { - "data" : [ - [ - "Perl", - 40 - ], - [ - "Raku", - 20 - ], - [ - "Blog", - 12 - ] - ], - "id" : "008", - "name" : "008" - }, - { - "id" : "009", - "data" : [ - [ - "Perl", - 37 - ], - [ - "Raku", - 18 - ], - [ - "Blog", - 13 - ] - ], - "name" : "009" - }, - { - "name" : "010", - "data" : [ - [ - "Perl", - 32 - ], - [ - "Raku", - 17 - ], - [ - "Blog", - 11 - ] - ], - "id" : "010" - }, - { - "name" : "011", - "id" : "011", - "data" : [ - [ - "Perl", - 43 - ], - [ - "Raku", - 26 - ], - [ - "Blog", - 10 - ] - ] - }, - { - "id" : "012", - "data" : [ - [ - "Perl", - 44 - ], - [ - "Raku", - 28 - ], - [ - "Blog", - 11 - ] - ], - "name" : "012" - }, - { - "id" : "013", - "data" : [ - [ - "Perl", - 42 - ], - [ - "Raku", - 21 - ], - [ - "Blog", - 13 - ] - ], - "name" : "013" - }, - { - "id" : "014", - "data" : [ - [ - "Perl", - 52 - ], + "series" : [ + { + "data" : [ + { + "y" : 142, + "name" : "#001", + "drilldown" : "001" + }, + { + "y" : 109, + "name" : "#002", + "drilldown" : "002" + }, + { + "drilldown" : "003", + "name" : "#003", + "y" : 71 + }, + { + "drilldown" : "004", + "name" : "#004", + "y" : 91 + }, + { + "name" : "#005", + "drilldown" : "005", + "y" : 72 + }, + { + "y" : 52, + "name" : "#006", + "drilldown" : "006" + }, + { + "drilldown" : "007", + "name" : "#007", + "y" : 59 + }, + { + "name" : "#008", + "drilldown" : "008", + "y" : 72 + }, + { + "name" : "#009", + "drilldown" : "009", + "y" : 68 + }, + { + "y" : 60, + "drilldown" : "010", + "name" : "#010" + }, + { + "drilldown" : "011", + "name" : "#011", + "y" : 79 + }, + { + "y" : 83, + "name" : "#012", + "drilldown" : "012" + }, + { + "y" : 76, + "name" : "#013", + "drilldown" : "013" + }, + { + "y" : 96, + "drilldown" : "014", + "name" : "#014" + }, + { + "drilldown" : "015", + "name" : "#015", + "y" : 93 + }, + { + "y" : 66, + "name" : "#016", + "drilldown" : "016" + }, + { + "y" : 79, + "name" : "#017", + "drilldown" : "017" + }, + { + "name" : "#018", + "drilldown" : "018", + "y" : 76 + }, + { + "drilldown" : "019", + "name" : "#019", + "y" : 97 + }, + { + "drilldown" : "020", + "name" : "#020", + "y" : 95 + }, + { + "drilldown" : "021", + "name" : "#021", + "y" : 67 + }, + { + "name" : "#022", + "drilldown" : "022", + "y" : 63 + }, + { + "y" : 91, + "name" : "#023", + "drilldown" : "023" + }, + { + "name" : "#024", + "drilldown" : "024", + "y" : 70 + }, + { + "y" : 55, + "drilldown" : "025", + "name" : "#025" + }, + { + "name" : "#026", + "drilldown" : "026", + "y" : 70 + }, + { + "y" : 58, + "name" : "#027", + "drilldown" : "027" + }, + { + "y" : 78, + "drilldown" : "028", + "name" : "#028" + }, + { + "name" : "#029", + "drilldown" : "029", + "y" : 77 + }, + { + "y" : 115, + "name" : "#030", + "drilldown" : "030" + }, + { + "name" : "#031", + "drilldown" : "031", + "y" : 87 + }, + { + "name" : "#032", + "drilldown" : "032", + "y" : 92 + }, + { + "name" : "#033", + "drilldown" : "033", + "y" : 108 + }, + { + "name" : "#034", + "drilldown" : "034", + "y" : 62 + }, + { + "name" : "#035", + "drilldown" : "035", + "y" : 62 + }, + { + "name" : "#036", + "drilldown" : "036", + "y" : 66 + }, + { + "y" : 65, + "name" : "#037", + "drilldown" : "037" + }, + { + "name" : "#038", + "drilldown" : "038", + "y" : 65 + }, + { + "drilldown" : "039", + "name" : "#039", + "y" : 60 + }, + { + "y" : 71, + "name" : "#040", + "drilldown" : "040" + }, + { + "y" : 74, + "drilldown" : "041", + "name" : "#041" + }, + { + "name" : "#042", + "drilldown" : "042", + "y" : 88 + }, + { + "y" : 66, + "drilldown" : "043", + "name" : "#043" + }, + { + "y" : 82, + "drilldown" : "044", + "name" : "#044" + }, + { + "y" : 94, + "name" : "#045", + "drilldown" : "045" + }, + { + "drilldown" : "046", + "name" : "#046", + "y" : 85 + }, + { + "y" : 82, + "drilldown" : "047", + "name" : "#047" + }, + { + "y" : 106, + "drilldown" : "048", + "name" : "#048" + }, + { + "y" : 85, + "drilldown" : "049", + "name" : "#049" + }, + { + "drilldown" : "050", + "name" : "#050", + "y" : 96 + }, + { + "drilldown" : "051", + "name" : "#051", + "y" : 87 + }, + { + "name" : "#052", + "drilldown" : "052", + "y" : 89 + }, + { + "drilldown" : "053", + "name" : "#053", + "y" : 99 + }, + { + "y" : 99, + "name" : "#054", + "drilldown" : "054" + }, + { + "y" : 86, + "drilldown" : "055", + "name" : "#055" + }, + { + "y" : 93, + "drilldown" : "056", + "name" : "#056" + }, + { + "name" : "#057", + "drilldown" : "057", + "y" : 78 + }, + { + "name" : "#058", + "drilldown" : "058", + "y" : 61 + }, + { + "y" : 82, + "name" : "#059", + "drilldown" : "059" + }, + { + "name" : "#060", + "drilldown" : "060", + "y" : 78 + }, + { + "y" : 76, + "name" : "#061", + "drilldown" : "061" + } + ], + "name" : "Perl Weekly Challenge Languages", + "colorByPoint" : "true" + } + ], + "xAxis" : { + "type" : "category" + }, + "drilldown" : { + "series" : [ + { + "name" : "001", + "data" : [ [ - "Raku", - 29 + "Perl", + 86 + ], + [ + "Raku", + 45 ], [ "Blog", - 15 + 11 ] ], - "name" : "014" + "id" : "001" }, { - "name" : "015", + "id" : "002", "data" : [ [ "Perl", - 52 + 65 ], [ "Raku", - 26 + 34 ], [ "Blog", - 15 + 10 ] ], - "id" : "015" + "name" : "002" }, { - "name" : "016", "data" : [ [ "Perl", - 33 + 34 ], [ "Raku", - 21 + 28 ], [ "Blog", - 12 + 9 ] ], - "id" : "016" + "id" : "003", + "name" : "003" }, { - "id" : "017", "data" : [ [ "Perl", - 42 + 50 ], [ "Raku", - 25 + 31 ], [ "Blog", - 12 + 10 ] ], - "name" : "017" + "id" : "004", + "name" : "004" }, { - "id" : "018", + "name" : "005", "data" : [ [ "Perl", - 33 + 36 ], [ "Raku", - 29 + 24 ], [ "Blog", - 14 + 12 ] ], - "name" : "018" + "id" : "005" }, { + "id" : "006", "data" : [ [ "Perl", - 52 + 29 ], [ "Raku", - 32 + 16 ], [ "Blog", - 13 + 7 ] ], - "id" : "019", - "name" : "019" + "name" : "006" }, { - "id" : "020", + "name" : "007", + "id" : "007", "data" : [ [ "Perl", - 47 + 28 ], [ "Raku", - 35 + 21 ], [ "Blog", - 13 + 10 ] - ], - "name" : "020" + ] }, { + "name" : "008", "data" : [ [ "Perl", - 35 + 40 ], [ "Raku", - 22 + 20 ], [ "Blog", - 10 + 12 ] ], - "id" : "021", - "name" : "021" + "id" : "008" }, { - "name" : "022", + "name" : "009", + "id" : "009", "data" : [ [ "Perl", - 32 + 37 ], [ "Raku", - 21 + 18 ], [ "Blog", - 10 + 13 ] - ], - "id" : "022" + ] }, { - "name" : "023", + "name" : "010", "data" : [ [ "Perl", - 49 + 32 ], [ "Raku", - 30 + 17 ], [ "Blog", - 12 + 11 ] ], - "id" : "023" + "id" : "010" }, { "data" : [ [ "Perl", - 35 + 43 ], [ "Raku", - 24 + 26 ], [ "Blog", - 11 + 10 ] ], - "id" : "024", - "name" : "024" + "id" : "011", + "name" : "011" }, { + "name" : "012", "data" : [ [ "Perl", - 26 + 44 ], [ "Raku", - 17 + 28 ], [ "Blog", - 12 + 11 ] ], - "id" : "025", - "name" : "025" + "id" : "012" }, { - "name" : "026", "data" : [ [ "Perl", - 33 + 42 ], [ "Raku", - 27 + 21 ], [ "Blog", - 10 + 13 ] ], - "id" : "026" + "id" : "013", + "name" : "013" }, { - "name" : "027", - "id" : "027", + "name" : "014", + "id" : "014", "data" : [ [ "Perl", - 29 + 52 ], [ "Raku", - 20 + 29 ], [ "Blog", - 9 + 15 ] ] }, { - "name" : "028", - "id" : "028", + "name" : "015", "data" : [ [ "Perl", - 45 + 52 ], [ "Raku", - 24 + 26 ], [ "Blog", - 9 + 15 ] - ] + ], + "id" : "015" }, { - "id" : "029", + "id" : "016", "data" : [ [ "Perl", - 40 + 33 ], [ "Raku", - 25 + 21 ], [ "Blog", 12 ] ], - "name" : "029" + "name" : "016" }, { - "name" : "030", - "id" : "030", + "name" : "017", + "id" : "017", "data" : [ [ "Perl", - 74 + 42 ], [ "Raku", - 31 + 25 ], [ "Blog", - 10 + 12 ] ] }, { + "name" : "018", + "id" : "018", "data" : [ [ "Perl", - 50 + 33 ], [ "Raku", - 28 + 29 ], [ "Blog", - 9 + 14 ] - ], - "id" : "031", - "name" : "031" + ] }, { - "name" : "032", - "id" : "032", + "name" : "019", "data" : [ [ "Perl", - 57 + 52 ], [ "Raku", - 25 + 32 ], [ "Blog", - 10 + 13 ] - ] + ], + "id" : "019" }, { - "name" : "033", - "id" : "033", + "id" : "020", "data" : [ [ "Perl", - 62 + 47 ], [ "Raku", - 36 + 35 ], [ "Blog", - 10 + 13 ] - ] + ], + "name" : "020" }, { - "name" : "034", - "id" : "034", + "id" : "021", "data" : [ [ "Perl", - 30 + 35 ], [ "Raku", - 21 + 22 ], [ "Blog", - 11 + 10 ] - ] + ], + "name" : "021" }, { - "name" : "035", + "name" : "022", "data" : [ [ "Perl", - 33 + 32 ], [ "Raku", - 20 + 21 ], [ "Blog", - 9 + 10 ] ], - "id" : "035" + "id" : "022" }, { - "name" : "036", + "id" : "023", "data" : [ [ "Perl", - 35 + 49 ], [ "Raku", - 20 + 30 ], [ "Blog", - 11 + 12 ] ], - "id" : "036" + "name" : "023" }, { - "name" : "037", "data" : [ [ "Perl", - 34 + 35 ], [ "Raku", - 22 + 24 ], [ "Blog", - 9 + 11 ] ], - "id" : "037" + "id" : "024", + "name" : "024" }, { - "id" : "038", + "id" : "025", "data" : [ [ "Perl", - 31 + 26 ], [ "Raku", - 22 + 17 ], [ "Blog", 12 ] ], - "name" : "038" + "name" : "025" }, { - "id" : "039", + "name" : "026", + "id" : "026", "data" : [ [ "Perl", - 29 + 33 ], [ "Raku", - 19 + 27 ], [ "Blog", - 12 + 10 ] - ], - "name" : "039" + ] }, { + "id" : "027", "data" : [ [ "Perl", - 39 + 29 ], [ "Raku", - 22 + 20 ], [ "Blog", - 10 + 9 ] ], - "id" : "040", - "name" : "040" + "name" : "027" }, { - "name" : "041", "data" : [ [ "Perl", - 37 + 45 ], [ "Raku", - 28 + 24 ], [ "Blog", 9 ] ], - "id" : "041" + "id" : "028", + "name" : "028" }, { - "name" : "042", - "id" : "042", + "id" : "029", "data" : [ [ "Perl", - 47 + 40 ], [ "Raku", - 30 + 25 ], [ "Blog", - 11 - ] - ] - }, - { - "name" : "043", - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 11 + 12 ] ], - "id" : "043" + "name" : "029" }, { - "name" : "044", - "id" : "044", + "name" : "030", "data" : [ [ "Perl", - 41 + 74 ], [ "Raku", - 30 + 31 ], [ "Blog", - 11 + 10 ] - ] + ], + "id" : "030" }, { + "id" : "031", "data" : [ [ "Perl", @@ -826,199 +883,197 @@ ], [ "Raku", - 33 + 28 ], [ "Blog", - 11 + 9 ] ], - "id" : "045", - "name" : "045" + "name" : "031" }, { - "id" : "046", + "id" : "032", "data" : [ [ "Perl", - 44 + 57 ], [ "Raku", - 31 + 25 ], [ "Blog", 10 ] ], - "name" : "046" + "name" : "032" }, { - "name" : "047", + "name" : "033", + "id" : "033", "data" : [ [ "Perl", - 43 + 62 ], [ "Raku", - 29 + 36 ], [ "Blog", 10 ] - ], - "id" : "047" + ] }, { - "name" : "048", + "name" : "034", "data" : [ [ "Perl", - 59 + 30 ], [ "Raku", - 35 + 21 ], [ "Blog", - 12 + 11 ] ], - "id" : "048" + "id" : "034" }, { + "name" : "035", + "id" : "035", "data" : [ [ "Perl", - 48 + 33 ], [ "Raku", - 25 + 20 ], [ "Blog", - 12 + 9 ] - ], - "id" : "049", - "name" : "049" + ] }, { - "id" : "050", "data" : [ [ "Perl", - 50 + 35 ], [ "Raku", - 34 + 20 ], [ "Blog", - 12 + 11 ] ], - "name" : "050" + "id" : "036", + "name" : "036" }, { - "name" : "051", - "id" : "051", + "name" : "037", + "id" : "037", "data" : [ [ "Perl", - 46 + 34 ], [ "Raku", - 30 + 22 ], [ "Blog", - 11 + 9 ] ] }, { - "name" : "052", - "id" : "052", + "name" : "038", "data" : [ [ "Perl", - 45 + 31 ], [ "Raku", - 30 + 22 ], [ "Blog", - 14 + 12 ] - ] + ], + "id" : "038" }, { - "name" : "053", "data" : [ [ "Perl", - 45 + 29 ], [ "Raku", - 39 + 19 ], [ "Blog", - 15 + 12 ] ], - "id" : "053" + "id" : "039", + "name" : "039" }, { - "name" : "054", + "name" : "040", + "id" : "040", "data" : [ [ "Perl", - 45 + 39 ], [ "Raku", - 38 + 22 ], [ "Blog", - 16 + 10 ] - ], - "id" : "054" + ] }, { + "name" : "041", "data" : [ [ "Perl", - 41 + 37 ], [ "Raku", - 31 + 28 ],