From 5b5e2c158c109d45f7066aad0f0484acf7de847f Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Mon, 21 Jun 2021 00:06:16 +0100 Subject: - Added solutions by Colin Crain. --- challenge-117/colin-crain/perl/ch-1.pl | 76 + challenge-117/colin-crain/perl/ch-2.pl | 114 + challenge-117/colin-crain/raku/ch-1.raku | 54 + challenge-117/colin-crain/raku/ch-2.raku | 58 + stats/pwc-current.json | 280 +- stats/pwc-language-breakdown-summary.json | 58 +- stats/pwc-language-breakdown.json | 4634 ++++++++++++++--------------- stats/pwc-leaders.json | 746 ++--- stats/pwc-summary-1-30.json | 112 +- stats/pwc-summary-121-150.json | 108 +- stats/pwc-summary-151-180.json | 98 +- stats/pwc-summary-181-210.json | 44 +- stats/pwc-summary-211-240.json | 50 +- stats/pwc-summary-31-60.json | 58 +- stats/pwc-summary-61-90.json | 90 +- stats/pwc-summary-91-120.json | 36 +- stats/pwc-summary.json | 490 +-- 17 files changed, 3708 insertions(+), 3398 deletions(-) create mode 100644 challenge-117/colin-crain/perl/ch-1.pl create mode 100644 challenge-117/colin-crain/perl/ch-2.pl create mode 100644 challenge-117/colin-crain/raku/ch-1.raku create mode 100644 challenge-117/colin-crain/raku/ch-2.raku diff --git a/challenge-117/colin-crain/perl/ch-1.pl b/challenge-117/colin-crain/perl/ch-1.pl new file mode 100644 index 0000000000..c9ac472cdf --- /dev/null +++ b/challenge-117/colin-crain/perl/ch-1.pl @@ -0,0 +1,76 @@ +#!/Users/colincrain/perl5/perlbrew/perls/perl-5.32.0/bin/perl +# +# missing-in-sequence.pl +# +# Missing Row +# Submitted by: Mohammad S Anwar +# You are given text file with rows numbered 1-15 in random order but +# there is a catch one row in missing in the file. +# +# 11, Line Eleven +# 1, Line one +# 9, Line Nine +# 13, Line Thirteen +# 2, Line two +# 6, Line Six +# 8, Line Eight +# 10, Line Ten +# 7, Line Seven +# 4, Line Four +# 14, Line Fourteen +# 3, Line three +# 15, Line Fifteen +# 5, Line Five +# +# +# © 2021 colin crain +## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## + + + +use warnings; +use strict; +use utf8; +use feature ":5.26"; +use feature qw(signatures); +no warnings 'experimental::signatures'; +use List::Util qw( max ); + +my %lookup = map { split /,/, $_, 2 } <>; + +my @missing = grep { say $_; ! exists $lookup{$_} } (1..max(keys %lookup)); + +## output +if (my $count = scalar @missing) { + say $count, ($count == 1 + ? " line is " + : " lines are "), "missing:"; + say "line $_" for @missing; +} +else { + say "all lines accounted for!"; +} + + +=cut +The Data File, 'missing.txt': + +11, Line Eleven +1, Line One +9, Line Nine +13, Line Thirteen +2, Line Two +6, Line Six +8, Line Eight +10, Line Ten +7, Line Seven +14, Line Fourteen +3, Line Three +15, Line Fifteen +5, Line Five + +The Result: + +2 lines are missing: +line 4 +line 12 diff --git a/challenge-117/colin-crain/perl/ch-2.pl b/challenge-117/colin-crain/perl/ch-2.pl new file mode 100644 index 0000000000..8de28bcc8b --- /dev/null +++ b/challenge-117/colin-crain/perl/ch-2.pl @@ -0,0 +1,114 @@ +#!/Users/colincrain/perl5/perlbrew/perls/perl-5.32.0/bin/perl +# +# triangular-tour.pl +# +# +# Find Possible Paths +# Submitted by: E. Choroba +# You are given size of a triangle. +# +# Write a script to find all possible paths from top to the bottom right +# corner. +# +# In each step, we can either move horizontally to the right (H), or +# move downwards to the left (L) or right (R). +# +# BONUS: Try if it can handle triangle of size 10 or 20. +# +# Example 1: +# Input: $N = 2 +# +# S +# / \ +# / _ \ +# /\ /\ +# /__\ /__\ E +# +# Output: RR, LHR, LHLH, LLHH, RLH, LRH +# Example 2: +# Input: $N = 1 +# +# S +# / \ +# / _ \ E +# +# Output: R, LH +# +# method: +# +# verified to n=13: +# +# A006318 Large Schröder numbers (or large Schroeder numbers, or big +# Schroeder numbers). +# 1, 2, 6, 22, 90, 394, 1806, 8558, 41586, 206098, 1037718, 5293446, +# 27297738, 142078746, 745387038, 3937603038, 20927156706, 111818026018, +# 600318853926, 3236724317174, 17518619320890, 95149655201962, +# 518431875418926, 2832923350929742, 15521467648875090 +# +# tp(n) = S(n+1) +# +# tp(10) = 1_037_718 +# tp(20) = 17_518_619_320_890 +# + +# +# © 2021 colin crain +## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## + + + +use warnings; +use strict; +use utf8; +use feature ":5.26"; +use feature qw(signatures); +no warnings 'experimental::signatures'; + +my $tri_size = shift // 10; +my $mat = [ map { ['L' x $_] } (0..$tri_size) ]; + +for my $pos (1..$tri_size) { ## horz position in the tri + my @next; + for my $level ($pos..$tri_size) { ## tri level + push $next[$level]->@*, (map { $_ . 'L' } $next[$level-1]->@*) + if defined $next[$level-1]; + push $next[$level]->@*, (map { $_ . 'R' } $mat->[$level-1]->@* ); + push $next[$level]->@*, (map { $_ . 'H' } $mat->[$level]->@*) + } + $mat = \@next; +} + +say "results: ", scalar $mat->[-1]->@*;; +say $_ for $mat->[-1]->@*; + + + +=cut +[colincrain@boris:~/Code/PWC]$ time perl triangular-tour-3.pl 10 +result: +1037718 + +real 0m0.916s +user 0m0.842s +sys 0m0.070s +[colincrain@boris:~/Code/PWC]$ time perl triangular-tour-3.pl 11 +result: +5293446 + +real 0m4.694s +user 0m4.311s +sys 0m0.377s +[colincrain@boris:~/Code/PWC]$ time perl triangular-tour-3.pl 12 +result: +27297738 + +real 0m24.150s +user 0m22.166s +sys 0m1.974s +[colincrain@boris:~/Code/PWC]$ time perl triangular-tour-2.pl 13 +result: +142078746 + +real 6m52.523s +user 2m42.176s +sys 2m48.754s <-- grinding diff --git a/challenge-117/colin-crain/raku/ch-1.raku b/challenge-117/colin-crain/raku/ch-1.raku new file mode 100644 index 0000000000..c3b0614a1c --- /dev/null +++ b/challenge-117/colin-crain/raku/ch-1.raku @@ -0,0 +1,54 @@ +#!/usr/bin/env perl6 +# +# +# missing-in-sequence.raku +# +# Missing Row +# Submitted by: Mohammad S Anwar +# You are given text file with rows numbered 1-15 in random order but +# there is a catch one row in missing in the file. +# +# 11, Line Eleven +# 1, Line one +# 9, Line Nine +# 13, Line Thirteen +# 2, Line two +# 6, Line Six +# 8, Line Eight +# 10, Line Ten +# 7, Line Seven +# 4, Line Four +# 14, Line Fourteen +# 3, Line three +# 15, Line Fifteen +# 5, Line Five +# +# +# +# © 2021 colin crain +## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## + + + +unit sub MAIN ( $file = './missing.txt' ) ; + +my %set = $file.IO + .lines + .map( *.comb: /\d+/, 1 ) + .Set; + +my @missing = (1..%set.keys.max({$_.Int})).grep: { $_.Str ∉ %set } ; + +if @missing.elems -> $count { + say $count, ($count == 1 + ?? " line is " + !! " lines are "), "missing:"; + "line $_".say for @missing; +} +else { + say "all lines accounted for!"; +} + + + + diff --git a/challenge-117/colin-crain/raku/ch-2.raku b/challenge-117/colin-crain/raku/ch-2.raku new file mode 100644 index 0000000000..fc68e36c46 --- /dev/null +++ b/challenge-117/colin-crain/raku/ch-2.raku @@ -0,0 +1,58 @@ +#!/usr/bin/env perl6 +# +# +# triangular-tour.raku +# +# Find Possible Paths +# Submitted by: E. Choroba +# You are given size of a triangle. +# +# Write a script to find all possible paths from top to the bottom right +# corner. +# +# In each step, we can either move horizontally to the right (H), or +# move downwards to the left (L) or right (R). +# +# BONUS: Try if it can handle triangle of size 10 or 20. +# +# Example 1: +# Input: $N = 2 +# +# S +# / \ +# / _ \ +# /\ /\ +# /__\ /__\ E +# +# Output: RR, LHR, LHLH, LLHH, RLH, LRH +# Example 2: +# Input: $N = 1 +# +# S +# / \ +# / _ \ E +# +# Output: R, LH +# +# © 2021 colin crain +## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## + + +unit sub MAIN (Int $tri-size = 5) ; + +my @mat = (0..$tri-size).map({ ('L' x $_ ).Array }); + +for 1..$tri-size -> $pos { + my @next; + for $pos..$tri-size -> $level { + @next[$level-1].defined && + @next[$level].push: |@next[$level-1].map({ $_ ~ 'L' }); + @next[$level].push: |@mat[$level-1].map({ $_ ~ 'R' }); + @next[$level].push: |@mat[$level].map({ $_ ~ 'H' }); + } + @mat = @next; +} + +say "results: ", @mat[*-1].elems;; +.say for |@mat[*-1]; + diff --git a/stats/pwc-current.json b/stats/pwc-current.json index 29505c5423..7ab8346a60 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,9 +1,17 @@ { - "xAxis" : { - "type" : "category" + "tooltip" : { + "headerFormat" : "{series.name}
", + "followPointer" : 1, + "pointFormat" : "{point.name}: {point.y:f}
" }, - "chart" : { - "type" : "column" + "plotOptions" : { + "series" : { + "borderWidth" : 0, + "dataLabels" : { + "enabled" : 1, + "format" : "{point.y}" + } + } }, "series" : [ { @@ -11,13 +19,13 @@ "name" : "Perl Weekly Challenge - 117", "data" : [ { - "name" : "Aaron Smith", "drilldown" : "Aaron Smith", + "name" : "Aaron Smith", "y" : 1 }, { - "name" : "Abigail", "drilldown" : "Abigail", + "name" : "Abigail", "y" : 2 }, { @@ -36,59 +44,59 @@ "name" : "Arne Sommer" }, { - "name" : "Athanasius", + "drilldown" : "Athanasius", "y" : 4, - "drilldown" : "Athanasius" + "name" : "Athanasius" }, { "name" : "Cheok-Yin Fung", - "drilldown" : "Cheok-Yin Fung", - "y" : 2 + "y" : 2, + "drilldown" : "Cheok-Yin Fung" }, { - "drilldown" : "Colin Crain", - "y" : 1, - "name" : "Colin Crain" + "name" : "Colin Crain", + "y" : 5, + "drilldown" : "Colin Crain" }, { - "y" : 1, "drilldown" : "Cristina Heredia", - "name" : "Cristina Heredia" + "name" : "Cristina Heredia", + "y" : 1 }, { "y" : 4, - "drilldown" : "Dave Jacoby", - "name" : "Dave Jacoby" + "name" : "Dave Jacoby", + "drilldown" : "Dave Jacoby" }, { - "drilldown" : "E. Choroba", + "name" : "E. Choroba", "y" : 2, - "name" : "E. Choroba" + "drilldown" : "E. Choroba" }, { - "name" : "Feng Chang", "y" : 2, + "name" : "Feng Chang", "drilldown" : "Feng Chang" }, { - "y" : 6, "drilldown" : "Flavio Poletti", + "y" : 6, "name" : "Flavio Poletti" }, { + "name" : "James Smith", "y" : 3, - "drilldown" : "James Smith", - "name" : "James Smith" + "drilldown" : "James Smith" }, { - "name" : "Jan Krnavek", "drilldown" : "Jan Krnavek", + "name" : "Jan Krnavek", "y" : 2 }, { + "name" : "Jorg Sommrey", "y" : 2, - "drilldown" : "Jorg Sommrey", - "name" : "Jorg Sommrey" + "drilldown" : "Jorg Sommrey" }, { "name" : "Laurent Rosenfeld", @@ -96,48 +104,48 @@ "drilldown" : "Laurent Rosenfeld" }, { - "name" : "Luca Ferrari", "drilldown" : "Luca Ferrari", + "name" : "Luca Ferrari", "y" : 4 }, { + "name" : "Lucas Ransan", "y" : 2, - "drilldown" : "Lucas Ransan", - "name" : "Lucas Ransan" + "drilldown" : "Lucas Ransan" }, { - "y" : 2, "drilldown" : "Mark Anderson", - "name" : "Mark Anderson" + "name" : "Mark Anderson", + "y" : 2 }, { + "drilldown" : "Mohammad S Anwar", "name" : "Mohammad S Anwar", - "y" : 1, - "drilldown" : "Mohammad S Anwar" + "y" : 1 }, { - "name" : "Niels van Dijke", "drilldown" : "Niels van Dijke", - "y" : 2 + "y" : 2, + "name" : "Niels van Dijke" }, { - "name" : "Paulo Custodio", + "drilldown" : "Paulo Custodio", "y" : 2, - "drilldown" : "Paulo Custodio" + "name" : "Paulo Custodio" }, { + "drilldown" : "Pete Houston", "name" : "Pete Houston", - "y" : 2, - "drilldown" : "Pete Houston" + "y" : 2 }, { - "name" : "Roger Bell_West", + "drilldown" : "Roger Bell_West", "y" : 5, - "drilldown" : "Roger Bell_West" + "name" : "Roger Bell_West" }, { - "name" : "Simon Green", "drilldown" : "Simon Green", + "name" : "Simon Green", "y" : 3 }, { @@ -146,9 +154,9 @@ "drilldown" : "Simon Proctor" }, { - "y" : 1, "drilldown" : "Steven Wilson", - "name" : "Steven Wilson" + "name" : "Steven Wilson", + "y" : 1 }, { "drilldown" : "Stuart Little", @@ -157,13 +165,13 @@ }, { "name" : "Ulrich Rieke", - "drilldown" : "Ulrich Rieke", - "y" : 2 + "y" : 2, + "drilldown" : "Ulrich Rieke" }, { "drilldown" : "Vinod Kumar K", - "y" : 1, - "name" : "Vinod Kumar K" + "name" : "Vinod Kumar K", + "y" : 1 }, { "drilldown" : "W. Luis Mochan", @@ -171,38 +179,13 @@ "name" : "W. Luis Mochan" }, { - "name" : "Wanderdoc", + "drilldown" : "Wanderdoc", "y" : 2, - "drilldown" : "Wanderdoc" + "name" : "Wanderdoc" } ] } ], - "plotOptions" : { - "series" : { - "dataLabels" : { - "format" : "{point.y}", - "enabled" : 1 - }, - "borderWidth" : 0 - } - }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } - }, - "title" : { - "text" : "Perl Weekly Challenge - 117" - }, - "tooltip" : { - "pointFormat" : "{point.name}: {point.y:f}
", - "headerFormat" : "{series.name}
", - "followPointer" : 1 - }, - "subtitle" : { - "text" : "[Champions: 33] Last updated at 2021-06-20 22:57:03 GMT" - }, "drilldown" : { "series" : [ { @@ -216,27 +199,28 @@ "name" : "Aaron Smith" }, { + "id" : "Abigail", "name" : "Abigail", "data" : [ [ "Perl", 2 ] - ], - "id" : "Abigail" + ] }, { "id" : "Adam Herzog", + "name" : "Adam Herzog", "data" : [ [ "Perl", 1 ] - ], - "name" : "Adam Herzog" + ] }, { "id" : "Adam Russell", + "name" : "Adam Russell", "data" : [ [ "Perl", @@ -246,11 +230,9 @@ "Blog", 2 ] - ], - "name" : "Adam Russell" + ] }, { - "name" : "Arne Sommer", "id" : "Arne Sommer", "data" : [ [ @@ -265,11 +247,11 @@ "Blog", 1 ] - ] + ], + "name" : "Arne Sommer" }, { "name" : "Athanasius", - "id" : "Athanasius", "data" : [ [ "Perl", @@ -279,7 +261,8 @@ "Raku", 2 ] - ] + ], + "id" : "Athanasius" }, { "id" : "Cheok-Yin Fung", @@ -292,27 +275,36 @@ "name" : "Cheok-Yin Fung" }, { + "id" : "Colin Crain", + "name" : "Colin Crain", "data" : [ + [ + "Perl", + 2 + ], + [ + "Raku", + 2 + ], [ "Blog", 1 ] - ], - "id" : "Colin Crain", - "name" : "Colin Crain" + ] }, { - "name" : "Cristina Heredia", "id" : "Cristina Heredia", "data" : [ [ "Perl", 1 ] - ] + ], + "name" : "Cristina Heredia" }, { "id" : "Dave Jacoby", + "name" : "Dave Jacoby", "data" : [ [ "Perl", @@ -322,31 +314,30 @@ "Blog", 2 ] - ], - "name" : "Dave Jacoby" + ] }, { + "id" : "E. Choroba", + "name" : "E. Choroba", "data" : [ [ "Perl", 2 ] - ], - "id" : "E. Choroba", - "name" : "E. Choroba" + ] }, { - "name" : "Feng Chang", - "id" : "Feng Chang", "data" : [ [ "Raku", 2 ] - ] + ], + "name" : "Feng Chang", + "id" : "Feng Chang" }, { - "name" : "Flavio Poletti", + "id" : "Flavio Poletti", "data" : [ [ "Perl", @@ -361,9 +352,10 @@ 2 ] ], - "id" : "Flavio Poletti" + "name" : "Flavio Poletti" }, { + "name" : "James Smith", "data" : [ [ "Perl", @@ -374,31 +366,29 @@ 1 ] ], - "id" : "James Smith", - "name" : "James Smith" + "id" : "James Smith" }, { "id" : "Jan Krnavek", + "name" : "Jan Krnavek", "data" : [ [ "Raku", 2 ] - ], - "name" : "Jan Krnavek" + ] }, { + "id" : "Jorg Sommrey", + "name" : "Jorg Sommrey", "data" : [ [ "Perl", 2 ] - ], - "id" : "Jorg Sommrey", - "name" : "Jorg Sommrey" + ] }, { - "name" : "Laurent Rosenfeld", "id" : "Laurent Rosenfeld", "data" : [ [ @@ -413,7 +403,8 @@ "Blog", 1 ] - ] + ], + "name" : "Laurent Rosenfeld" }, { "data" : [ @@ -426,8 +417,8 @@ 2 ] ], - "id" : "Luca Ferrari", - "name" : "Luca Ferrari" + "name" : "Luca Ferrari", + "id" : "Luca Ferrari" }, { "data" : [ @@ -436,8 +427,8 @@ 2 ] ], - "id" : "Lucas Ransan", - "name" : "Lucas Ransan" + "name" : "Lucas Ransan", + "id" : "Lucas Ransan" }, { "id" : "Mark Anderson", @@ -450,47 +441,48 @@ "name" : "Mark Anderson" }, { - "id" : "Mohammad S Anwar", + "name" : "Mohammad S Anwar", "data" : [ [ "Perl", 1 ] ], - "name" : "Mohammad S Anwar" + "id" : "Mohammad S Anwar" }, { + "id" : "Niels van Dijke", + "name" : "Niels van Dijke", "data" : [ [ "Perl", 2 ] - ], - "id" : "Niels van Dijke", - "name" : "Niels van Dijke" + ] }, { - "name" : "Paulo Custodio", - "id" : "Paulo Custodio", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "Paulo Custodio", + "id" : "Paulo Custodio" }, { + "id" : "Pete Houston", "data" : [ [ "Perl", 2 ] ], - "id" : "Pete Houston", "name" : "Pete Houston" }, { "id" : "Roger Bell_West", + "name" : "Roger Bell_West", "data" : [ [ "Perl", @@ -504,10 +496,11 @@ "Blog", 1 ] - ], - "name" : "Roger Bell_West" + ] }, { + "id" : "Simon Green", + "name" : "Simon Green", "data" : [ [ "Perl", @@ -517,19 +510,17 @@ "Blog", 1 ] - ], - "id" : "Simon Green", - "name" : "Simon Green" + ] }, { "id" : "Simon Proctor", + "name" : "Simon Proctor", "data" : [ [ "Raku", 2 ] - ], - "name" : "Simon Proctor" + ] }, { "name" : "Steven Wilson", @@ -542,8 +533,8 @@ "id" : "Steven Wilson" }, { - "name" : "Stuart Little", "id" : "Stuart Little", + "name" : "Stuart Little", "data" : [ [ "Perl", @@ -556,24 +547,24 @@ ] }, { - "name" : "Ulrich Rieke", "id" : "Ulrich Rieke", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "Ulrich Rieke" }, { "id" : "Vinod Kumar K", + "name" : "Vinod Kumar K", "data" : [ [ "Perl", 1 ] - ], - "name" : "Vinod Kumar K" + ] }, { "name" : "W. Luis Mochan", @@ -596,12 +587,29 @@ 2 ] ], - "id" : "Wanderdoc", - "name" : "Wanderdoc" + "name" : "Wanderdoc", + "id" : "Wanderdoc" } ] }, + "subtitle" : { + "text" : "[Champions: 33] Last updated at 2021-06-20 23:05:46 GMT" + }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, "legend" : { "enabled" : 0 + }, + "title" : { + "text" : "Perl Weekly Challenge - 117" + }, + "xAxis" : { + "type" : "category" + }, + "chart" : { + "type" : "column" } } diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index 80acc21112..24c9f4fbe5 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -1,12 +1,30 @@ { + "subtitle" : { + "text" : "Last updated at 2021-06-20 23:05:46 GMT" + }, "yAxis" : { + "min" : 0, "title" : { "text" : null - }, - "min" : 0 + } + }, + "tooltip" : { + "pointFormat" : "{point.y:.0f}" }, "series" : [ { + "dataLabels" : { + "enabled" : "true", + "format" : "{point.y:.0f}", + "style" : { + "fontSize" : "13px", + "fontFamily" : "Verdana, sans-serif" + }, + "rotation" : -90, + "align" : "right", + "color" : "#FFFFFF", + "y" : 10 + }, "data" : [ [ "Blog", @@ -14,50 +32,32 @@ ], [ "Perl", - 5565 + 5567 ], [ "Raku", - 3518 + 3520 ] ], - "dataLabels" : { - "style" : { - "fontFamily" : "Verdana, sans-serif", - "fontSize" : "13px" - }, - "rotation" : -90, - "y" : 10, - "enabled" : "true", - "color" : "#FFFFFF", - "align" : "right", - "format" : "{point.y:.0f}" - }, "name" : "Contributions" } ], - "chart" : { - "type" : "column" + "title" : { + "text" : "Perl Weekly Challenge Contributions [2019 - 2020]" }, "xAxis" : { - "type" : "category", "labels" : { "style" : { "fontSize" : "13px", "fontFamily" : "Verdana, sans-serif" } - } + }, + "type" : "category" + }, + "chart" : { + "type" : "column" }, "legend" : { "enabled" : "false" - }, - "subtitle" : { - "text" : "Last updated at 2021-06-20 22:57:03 GMT" - }, - "tooltip" : { - "pointFormat" : "{point.y:.0f}" - }, - "title" : { - "text" : "Perl Weekly Challenge Contributions [2019 - 2020]" } } diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json index a294e6d0c2..46dae9bf45 100644 --- a/stats/pwc-language-breakdown.json +++ b/stats/pwc-language-breakdown.json @@ -1,2133 +1,24 @@ { + "legend" : { + "enabled" : "false" + }, "title" : { "text" : "Perl Weekly Challenge Language" }, - "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2021-06-20 22:57:03 GMT" + "chart" : { + "type" : "column" }, - "tooltip" : { - "headerFormat" : "", - "followPointer" : "true", - "pointFormat" : "Challenge {point.name}: {point.y:f}
" + "xAxis" : { + "type" : "category" }, - "drilldown" : { - "series" : [ - { - "data" : [ - [ - "Perl", - 103 - ], - [ - "Raku", - 47 - ], - [ - "Blog", - 11 - ] - ], - "id" : "001", - "name" : "001" - }, - { - "id" : "002", - "data" : [ - [ - "Perl", - 79 - ], - [ - "Raku", - 36 - ], - [ - "Blog", - 10 - ] - ], - "name" : "002" - }, - { - "name" : "003", - "id" : "003", - "data" : [ - [ - "Perl", - 42 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 9 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 56 - ], - [ - "Raku", - 33 - ], - [ - "Blog", - 10 - ] - ], - "id" : "004", - "name" : "004" - }, - { - "name" : "005", - "id" : "005", - "data" : [ - [ - "Perl", - 40 - ], - [ - "Raku", - 26 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "name" : "006", - "id" : "006", - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 18 - ], - [ - "Blog", - 7 - ] - ] - }, - { - "name" : "007", - "id" : "007", - "data" : [ - [ - "Perl", - 31 - ], - [ - "Raku", - 23 - ], - [ - "Blog", - 10 - ] - ] - }, - { - "name" : "008", - "id" : "008", - "data" : [ - [ - "Perl", - 44 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "name" : "009", - "id" : "009", - "data" : [ - [ - "Perl", - 42 - ], - [ - "Raku", - 21 - ], - [ - "Blog", - 13 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 35 - ], - [ - "Raku", - 19 - ], - [ - "Blog", - 11 - ] - ], - "id" : "010", - "name" : "010" - }, - { - "name" : "011", - "data" : [ - [ - "Perl", - 47 - ], - [ - "Raku", - 28 - ], - [ - "Blog", - 10 - ] - ], - "id" : "011" - }, - { - "name" : "012", - "id" : "012", - "data" : [ - [ - "Perl", - 48 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 11 - ] - ] - }, - { - "name" : "013", - "data" : [ - [ - "Perl", - 47 - ], - [ - "Raku", - 25 - ], - [ - "Blog", - 13 - ] - ], - "id" : "013" - }, - { - "name" : "014", - "data" : [ - [ - "Perl", - 55 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 15 - ] - ], - "id" : "014" + "plotOptions" : { + "series" : { + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 }, - { - "id" : "015", - "data" : [ - [ - "Perl", - 56 - ], - [ - "Raku", - 28 - ], - [ - "Blog", - 15 - ] - ], - "name" : "015" - }, - { - "name" : "016", - "data" : [ - [ - "Perl", - 36 - ], - [ - "Raku", - 23 - ], - [ - "Blog", - 12 - ] - ], - "id" : "016" - }, - { - "name" : "017", - "data" : [ - [ - "Perl", - 45 - ], - [ - "Raku", - 27 - ], - [ - "Blog", - 12 - ] - ], - "id" : "017" - }, - { - "id" : "018", - "data" : [ - [ - "Perl", - 36 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 14 - ] - ], - "name" : "018" - }, - { - "name" : "019", - "id" : "019", - "data" : [ - [ - "Perl", - 56 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 13 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 51 - ], - [ - "Raku", - 37 - ], - [ - "Blog", - 13 - ] - ], - "id" : "020", - "name" : "020" - }, - { - "name" : "021", - "id" : "021", - "data" : [ - [ - "Perl", - 38 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 10 - ] - ] - }, - { - "name" : "022", - "data" : [ - [ - "Perl", - 35 - ], - [ - "Raku", - 23 - ], - [ - "Blog", - 10 - ] - ], - "id" : "022" - }, - { - "name" : "023", - "data" : [ - [ - "Perl", - 53 - ], - [ - "Raku", - 32 - ], - [ - "Blog", - 12 - ] - ], - "id" : "023" - }, - { - "data" : [ - [ - "Perl", - 37 - ], - [ - "Raku", - 26 - ], - [ - "Blog", - 11 - ] - ], - "id" : "024", - "name" : "024" - }, - { - "data" : [ - [ - "Perl", - 28 - ], - [ - "Raku", - 19 - ], - [ - "Blog", - 12 - ] - ], - "id" : "025", - "name" : "025" - }, - { - "name" : "026", - "data" : [ - [ - "Perl", - 35 - ], - [ - "Raku", - 29 - ], - [ - "Blog", - 10 - ] - ], - "id" : "026" - }, - { - "id" : "027", - "data" : [ - [ - "Perl", - 29 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 9 - ] - ], - "name" : "027" - }, - { - "data" : [ - [ - "Perl", - 45 - ], - [ - "Raku", - 26 - ], - [ - "Blog", - 9 - ] - ], - "id" : "028", - "name" : "028" - }, - { - "name" : "029", - "id" : "029", - "data" : [ - [ - "Perl", - 40 - ], - [ - "Raku", - 27 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "id" : "030", - "data" : [ - [ - "Perl", - 74 - ], - [ - "Raku", - 33 - ], - [ - "Blog", - 10 - ] - ], - "name" : "030" - }, - { - "name" : "031", - "data" : [ - [ - "Perl", - 50 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 9 - ] - ], - "id" : "031" - }, - { - "name" : "032", - "id" : "032", - "data" : [ - [ - "Perl", - 57 - ], - [ - "Raku", - 27 - ], - [ - "Blog", - 10 - ] - ] - }, - { - "id" : "033", - "data" : [ - [ - "Perl", - 62 - ], - [ - "Raku", - 38 - ], - [ - "Blog", - 10 - ] - ], - "name" : "033" - }, - { - "id" : "034", - "data" : [ - [ - "Perl", - 30 - ], - [ - "Raku", - 23 - ], - [ - "Blog", - 11 - ] - ], - "name" : "034" - }, - { - "id" : "035", - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 9 - ] - ], - "name" : "035" - }, - { - "data" : [ - [ - "Perl", - 35 - ], - [ - "Raku", - 22 - ], - [ - "Blog", - 11 - ] - ], - "id" : "036", - "name" : "036" - }, - { - "data" : [ - [ - "Perl", - 34 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 9 - ] - ], - "id" : "037", - "name" : "037" - }, - { - "name" : "038", - "id" : "038", - "data" : [ - [ - "Perl", - 32 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "name" : "039", - "id" : "039", - "data" : [ - [ - "Perl", - 29 - ], - [ - "Raku", - 21 - ], - [ - "Blog", - 12 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 10 - ] - ], - "id" : "040", - "name" : "040" - }, - { - "data" : [ - [ - "Perl", - 37 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 9 - ] - ], - "id" : "041", - "name" : "041" - }, - { - "id" : "042", - "data" : [ - [ - "Perl", - 47 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 11 - ] - ], - "name" : "042" - }, - { - "id" : "043", - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 24 - ], - [ - "Blog", - 11 - ] - ], - "name" : "043" - }, - { - "id" : "044", - "data" : [ - [ - "Perl", - 41 - ], - [ - "Raku", - 33 - ], - [ - "Blog", - 11 - ] - ], - "name" : "044" - }, - { - "name" : "045", - "data" : [ - [ - "Perl", - 50 - ], - [ - "Raku", - 35 - ], - [ - "Blog", - 11 - ] - ], - "id" : "045" - }, - { - "data" : [ - [ - "Perl", - 44 - ], - [ - "Raku", - 33 - ], - [ - "Blog", - 10 - ] - ], - "id" : "046", - "name" : "046" - }, - { - "id" : "047", - "data" : [ - [ - "Perl", - 43 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 10 - ] - ], - "name" : "047" - }, - { - "data" : [ - [ - "Perl", - 59 - ], - [ - "Raku", - 37 - ], - [ - "Blog", - 12 - ] - ], - "id" : "048", - "name" : "048" - }, - { - "name" : "049", - "data" : [ - [ - "Perl", - 50 - ], - [ - "Raku", - 27 - ], - [ - "Blog", - 12 - ] - ], - "id" : "049" - }, - { - "id" : "050", - "data" : [ - [ - "Perl", - 50 - ], - [ - "Raku", - 36 - ], - [ - "Blog", - 12 - ] - ], - "name" : "050" - }, - { - "data" : [ - [ - "Perl", - 46 - ], - [ - "Raku", - 32 - ], - [ - "Blog", - 11 - ] - ], - "id" : "051", - "name" : "051" - }, - { - "data" : [ - [ - "Perl", - 45 - ], - [ - "Raku", - 32 - ], - [ - "Blog", - 14 - ] - ], - "id" : "052", - "name" : "052" - }, - { - "name" : "053", - "data" : [ - [ - "Perl", - 45 - ], - [ - "Raku", - 41 - ], - [ - "Blog", - 15 - ] - ], - "id" : "053" - }, - { - "name" : "054", - "data" : [ - [ - "Perl", - 45 - ], - [ - "Raku", - 40 - ], - [ - "Blog", - 18 - ] - ], - "id" : "054" - }, - { - "name" : "055", - "id" : "055", - "data" : [ - [ - "Perl", - 41 - ], - [ - "Raku", - 33 - ], - [ - "Blog", - 14 - ] - ] - }, - { - "name" : "056", - "data" : [ - [ - "Perl", - 47 - ], - [ - "Raku", - 32 - ], - [ - "Blog", - 16 - ] - ], - "id" : "056" - }, - { - "id" : "057", - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 26 - ], - [ - "Blog", - 15 - ] - ], - "name" : "057" - }, - { - "name" : "058", - "id" : "058", - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 23 - ], - [ - "Blog", - 13 - ] - ] - }, - { - "name" : "059", - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 16 - ] - ], - "id" : "059" - }, - { - "id" : "060", - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 16 - ] - ], - "name" : "060" - }, - { - "name" : "061", - "id" : "061", - "data" : [ - [ - "Perl", - 37 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 14 - ] - ] - }, - { - "name" : "062", - "id" : "062", - "data" : [ - [ - "Perl", - 28 - ], - [ - "Raku", - 19 - ], - [ - "Blog", - 11 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 42 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 13 - ] - ], - "id" : "063", - "name" : "063" - }, - { - "id" : "064", - "data" : [ - [ - "Perl", - 35 - ], - [ - "Raku", - 29 - ], - [ - "Blog", - 16 - ] - ], - "name" : "064" - }, - { - "name" : "065", - "id" : "065", - "data" : [ - [ - "Perl", - 32 - ], - [ - "Raku", - 26 - ], - [ - "Blog", - 15 - ] - ] - }, - { - "name" : "066", - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 14 - ] - ], - "id" : "066" - }, - { - "id" : "067", - "data" : [ - [ - "Perl", - 38 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 18 - ] - ], - "name" : "067" - }, - { - "name" : "068", - "id" : "068", - "data" : [ - [ - "Perl", - 33 - ], - [ - "Raku", - 29 - ], - [ - "Blog", - 13 - ] - ] - }, - { - "name" : "069", - "id" : "069", - "data" : [ - [ - "Perl", - 39 - ], - [ - "Raku", - 28 - ], - [ - "Blog", - 16 - ] - ] - }, - { - "id" : "070", - "data" : [ - [ - "Perl", - 42 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 17 - ] - ], - "name" : "070" - }, - { - "id" : "071", - "data" : [ - [ - "Perl", - 31 - ], - [ - "Raku", - 32 - ], - [ - "Blog", - 15 - ] - ], - "name" : "071" - }, - { - "id" : "072", - "data" : [ - [ - "Perl", - 51 - ], - [ - "Raku", - 42 - ], - [ - "Blog", - 19 - ] - ], - "name" : "072" - }, - { - "data" : [ - [ - "Perl", - 53 - ], - [ - "Raku", - 40 - ], - [ - "Blog", - 17 - ] - ], - "id" : "073", - "name" : "073" - }, - { - "name" : "074", - "id" : "074", - "data" : [ - [ - "Perl", - 56 - ], - [ - "Raku", - 39 - ], - [ - "Blog", - 20 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 55 - ], - [ - "Raku", - 38 - ], - [ - "Blog", - 20 - ] - ], - "id" : "075", - "name" : "075" - }, - { - "id" : "076", - "data" : [ - [ - "Perl", - 51 - ], - [ - "Raku", - 32 - ], - [ - "Blog", - 16 - ] - ], - "name" : "076" - }, - { - "id" : "077", - "data" : [ - [ - "Perl", - 50 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 14 - ] - ], - "name" : "077" - }, - { - "id" : "078", - "data" : [ - [ - "Perl", - 68 - ], - [ - "Raku", - 41 - ], - [ - "Blog", - 18 - ] - ], - "name" : "078" - }, - { - "name" : "079", - "data" : [ - [ - "Perl", - 68 - ], - [ - "Raku", - 37 - ], - [ - "Blog", - 17 - ] - ], - "id" : "079" - }, - { - "name" : "080", - "id" : "080", - "data" : [ - [ - "Perl", - 75 - ], - [ - "Raku", - 36 - ], - [ - "Blog", - 16 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 65 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 15 - ] - ], - "id" : "081", - "name" : "081" - }, - { - "id" : "082", - "data" : [ - [ - "Perl", - 62 - ], - [ - "Raku", - 35 - ], - [ - "Blog", - 17 - ] - ], - "name" : "082" - }, - { - "name" : "083", - "id" : "083", - "data" : [ - [ - "Perl", - 73 - ], - [ - "Raku", - 38 - ], - [ - "Blog", - 16 - ] - ] - }, - { - "data" : [ - [ - "Perl", - 71 - ], - [ - "Raku", - 36 - ], - [ - "Blog", - 12 - ] - ], - "id" : "084", - "name" : "084" - }, - { - "id" : "085", - "data" : [ - [ - "Perl", - 64 - ], - [ - "Raku", - 32 - ], - [ - "Blog", - 18 - ] - ], - "name" : "085" - }, - { - "name" : "086", - "data" : [ - [ - "Perl", - 58 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 15 - ] - ], - "id" : "086" - }, - { - "name" : "087", - "data" : [ - [ - "Perl", - 56 - ], - [ - "Raku", - 31 - ], - [ - "Blog", - 14 - ] - ], - "id" : "087" - }, - { - "name" : "088", - "data" : [ - [ - "Perl", - 65 - ], - [ - "Raku", - 36 - ], - [ - "Blog", - 20 - ] - ], - "id" : "088" - }, - { - "name" : "089", - "id" : "089", - "data" : [ - [ - "Perl", - 59 - ], - [ - "Raku", - 34 - ], - [ - "Blog", - 20 - ] - ] - }, - { - "name" : "090", - "data" : [ - [ - "Perl", - 57 - ], - [ - "Raku", - 39 - ], - [ - "Blog", - 17 - ] - ], - "id" : "090" - }, - { - "data" : [ - [ - "Perl", - 56 - ], - [ - "Raku", - 36 - ], - [ - "Blog", - 16 - ] - ], - "id" : "091", - "name" : "091" - }, - { - "data" : [ - [ - "Perl", - 52 - ], - [ - "Raku", - 30 - ], - [ - "Blog", - 16 - ] - ], - "id" : "092", - "name" : "092" - }, - { - "name" : "093", - "data" : [ - [ - "Perl", - 46 - ], - [ - "Raku", - 25 - ], - [ - "Blog", - 16 - ] - ], - "id" : "093" - }, - { - "id" : "094", - "data" : [ - [ - "Perl", - 44 - ], - [ - "Raku", - 26 - ], -