diff options
| author | Mohammad S Anwar <mohammad.anwar@yahoo.com> | 2022-01-10 01:37:30 +0000 |
|---|---|---|
| committer | Mohammad S Anwar <mohammad.anwar@yahoo.com> | 2022-01-10 01:37:30 +0000 |
| commit | b5ccb7a05b4b175a9c28e517c868ee0e08a67fca (patch) | |
| tree | 668ce0aab063a00412cddc139087ccb0ccbc498c | |
| parent | 7d11153d2876ce45014ce72f1a879697bf282fdb (diff) | |
| download | perlweeklychallenge-club-b5ccb7a05b4b175a9c28e517c868ee0e08a67fca.tar.gz perlweeklychallenge-club-b5ccb7a05b4b175a9c28e517c868ee0e08a67fca.tar.bz2 perlweeklychallenge-club-b5ccb7a05b4b175a9c28e517c868ee0e08a67fca.zip | |
- Added solutions by Colin Crain.
| -rwxr-xr-x | challenge-146/colin-crain/perl/ch-1.pl | 39 | ||||
| -rwxr-xr-x | challenge-146/colin-crain/perl/ch-2.pl | 163 | ||||
| -rwxr-xr-x | challenge-146/colin-crain/raku/ch-1.raku | 40 | ||||
| -rwxr-xr-x | challenge-146/colin-crain/raku/ch-2.raku | 33 | ||||
| -rw-r--r-- | stats/pwc-current.json | 315 | ||||
| -rw-r--r-- | stats/pwc-language-breakdown-summary.json | 64 | ||||
| -rw-r--r-- | stats/pwc-language-breakdown.json | 1052 | ||||
| -rw-r--r-- | stats/pwc-leaders.json | 428 | ||||
| -rw-r--r-- | stats/pwc-summary-1-30.json | 122 | ||||
| -rw-r--r-- | stats/pwc-summary-121-150.json | 94 | ||||
| -rw-r--r-- | stats/pwc-summary-151-180.json | 100 | ||||
| -rw-r--r-- | stats/pwc-summary-181-210.json | 98 | ||||
| -rw-r--r-- | stats/pwc-summary-211-240.json | 116 | ||||
| -rw-r--r-- | stats/pwc-summary-241-270.json | 46 | ||||
| -rw-r--r-- | stats/pwc-summary-31-60.json | 96 | ||||
| -rw-r--r-- | stats/pwc-summary-61-90.json | 34 | ||||
| -rw-r--r-- | stats/pwc-summary-91-120.json | 40 | ||||
| -rw-r--r-- | stats/pwc-summary.json | 46 |
18 files changed, 1610 insertions, 1316 deletions
diff --git a/challenge-146/colin-crain/perl/ch-1.pl b/challenge-146/colin-crain/perl/ch-1.pl new file mode 100755 index 0000000000..34757b15f0 --- /dev/null +++ b/challenge-146/colin-crain/perl/ch-1.pl @@ -0,0 +1,39 @@ +#!/Users/colincrain/perl5/perlbrew/perls/perl-5.32.0/bin/perl
+#
+# ten-thousand-and-one-nights.pl
+#
+# 10001st Prime Number
+# Submitted by: Mohammad S Anwar
+# Write a script to generate the 10001st prime number
+#
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+use warnings;
+use strict;
+use utf8;
+use feature ":5.26";
+use feature qw(signatures);
+no warnings 'experimental::signatures';
+
+
+say make_primes_quantity( 10001 )->[-1];
+
+
+sub make_primes_quantity ( $quantity ) {
+## creates a list of the first $quantity primes
+ my ($candidate, @primes) = ( 1, 2 );
+
+ CANDIDATE: while ( $candidate += 2 and @primes < $quantity ) {
+ my $sqrt_candidate = sqrt( $candidate );
+ for my $test ( @primes ) {
+ next CANDIDATE if $candidate % $test == 0;
+ last if $test > $sqrt_candidate;
+ }
+ push @primes, $candidate;
+ }
+ return \@primes;
+}
+
diff --git a/challenge-146/colin-crain/perl/ch-2.pl b/challenge-146/colin-crain/perl/ch-2.pl new file mode 100755 index 0000000000..fe74302411 --- /dev/null +++ b/challenge-146/colin-crain/perl/ch-2.pl @@ -0,0 +1,163 @@ +#!/Users/colincrain/perl5/perlbrew/perls/perl-5.32.0/bin/perl
+#
+# curiously-arboreal.pl
+#
+# Curious Fraction Tree
+# Submitted by: Mohammad S Anwar
+# Consider the following Curious Fraction Tree:
+#
+#
+# ┏━━━━━━━━━━━━┫1/1┣━━━━━━━━━━━━┓
+# ┃ ┃
+# ┏━━━━┫1/2┣━━━━┓ ┏━━━━┫2/1┣━━━━┓
+# ┃ ┃ ┃ ┃
+# ┏┫1/3┣┓ ┏┫3/2┣┓ ┏┫2/3┣┓ ┏┫3/1┣┓
+# ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┃
+# ┃1/4┃ ┃4/3┃ ┃3/5┃ ┃5/2┃ ┃2/5┃ ┃5/3┃ ┃3/4┃ ┃4/1┃
+#
+# (A Curious Fraction Tree)
+#
+#
+# You are given a fraction, member of the tree created similar to the above sample.
+#
+# Write a script to find out the parent and grandparent of the given member.
+#
+# Example 1:
+# Input: $member = '3/5';
+# Output: parent = '3/2' and grandparent = '1/2'
+# Example 2:
+# Input: $member = '4/3';
+# Output: parent = '1/3' and grandparent = '1/2'
+
+
+# analysis:
+#
+# Oooh, a proper puzzle! Mystery! Intrigue! Suspense!
+#
+# What's going on here? Welll we notice first the numbers
+# involved are getting larger as we descend, sometimes in the
+# numerator, sometimes the denominator. But going down the left
+# hand side we can plainly see 1,2,3 and the 4. This suggests a
+# progression from top to bottom. Further playing around reveals
+# the larger number in the child node is the sum of the
+# components of the parent: 1 + 1 = 2, 1 + 3 = 4, 3 + 2 = 5.
+#
+# The next deduction is that the left child is, with respect to
+# the parent values, the numerator over the sum, and the right is
+# the sum over the denominator.
+#
+# The next row would thus start:
+#
+# 1/5, 5/4, 4/7, 7/3, 3/8, 8/5, 5/7, 7/2, 2/7, 7/5, 5/8, 8/3 ...
+#
+# Curiouser and curiouser.
+#
+# Now when given one of these values what are we to do? How can
+# we run the machine in reverse?
+#
+# Can we assume we are limited to positive numbers for a moment?
+# The use of the word "similar" in the description suggests we
+# might in a broader sense use differing starting values, but I'm
+# going to understand things as meaning that in a the tree shown,
+# extended using the same rules of construction. In that case is
+# can easily seen that the numbers always increase as more nodes
+# are added. The values are another thing to study, but the
+# numbers used above and below the fraction line are always going
+# to go up, and so will always be positive.
+#
+# The left child is the numerator over that value plus some other
+# positive value, so the numerator will always be less than the
+# denominator. Likewise, the same logic can be reversed and
+# applied to the right side to conclude that for those nodes the
+# numerator will always be greater.
+#
+# So from this, when given a fraction, say 7/5, we can determine
+# that it is a right child, as 7 is greater than 5.
+#
+# So far so good. In fact, 7 isn't just greater than 5, it's 2
+# greater than 5. Now a right side child is the sum of the
+# parents over the denominator, so 5 is the parent denominator,
+# which means 2 must be the numerator. The parent is thus 2/5.
+#
+# Ok let's keep going. Now, of course, 5, the denominator, is
+# greater than 2, indicating this is a left-hand child. This
+# allows us to explore the other case. In a left child, the
+# parent numerator is over the sum. So for the parent of 2/5, the
+# numerator is 2 and the sum is 5, making the denominator 3. So
+# the parent is 2/3.
+#
+# Thus the parent of 7/5 is 2/5, and the grandparent is 2/3.
+# Applying a left rule followed by a right says the next parents
+# up the chain are 2/1 and 1/1, which we can see from the diagram
+# is the case.
+#
+# Neat.
+#
+# method:
+#
+# Based on whether the numerator is greater than the denominator,
+# we will select one of two courses of action, for a left child
+# or a right.
+#
+# * For the left-child parent the numerator will continue to
+# be the numerator, and the new denominator the denominator
+# minus the numerator.
+#
+# * For the right-child parent the numerator will be the
+# numerator minus the denominator, and the denominator will
+# remain unchanged.
+#
+# post-analysis:
+#
+# It appears that most fractions are found somewhere on the tree.
+# Looping and ascending until we find 1/1 usualy finds its way
+# home, but not in every case. 105/1452 (some arbitrary mid-sized
+# numbers) degenerates into 0/3 without passing go. So its
+# unclear what exactly the rules are governing which values are
+# part of the 1/1 root and which are not, and if not, where they
+# end up.
+
+# Curiouser still. What an unusual tree.
+
+# © 2021 colin crain
+## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
+
+
+
+use warnings;
+use strict;
+use utf8;
+use feature ":5.26";
+use feature qw(signatures);
+no warnings 'experimental::signatures';
+
+my $input = shift // '101/1452';
+
+my ($num, $den) = $input =~ /(\d+)\/(\d+)/;
+say "input $num/$den";
+
+my @parent = get_parent( $num, $den);
+say "parent is ", join '/', @parent;
+say "grandparent is ", join '/', get_parent( @parent );
+
+my $count = 0;
+while ( 1 ) {
+ my @prev = @parent;
+ @parent = get_parent( @parent );
+ if ( $parent[0] == $prev[0] and $parent[1] == $prev[1] ) {
+ say "--> repeats";
+ last;
+ }
+ last if $parent[0] == 1 and $parent[1] == 1 ;
+ say "--> next upwards is ", join '/', get_parent( @parent );
+}
+
+
+sub get_parent ( $num, $den ) {
+ return ( $num < $den )
+ ? ( $num, $den - $num ) ## left child
+ : ( $num - $den, $den ) ; ## right child
+}
+
+
+
diff --git a/challenge-146/colin-crain/raku/ch-1.raku b/challenge-146/colin-crain/raku/ch-1.raku new file mode 100755 index 0000000000..d6f6470030 --- /dev/null +++ b/challenge-146/colin-crain/raku/ch-1.raku @@ -0,0 +1,40 @@ +#!/usr/bin/env perl6 +# +# +# ten-thousand-and-one-nights.raku +# +# +# +# © 2021 colin crain +## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## + + + +unit sub MAIN ( $nth = 10001, $slow = Nil ) ; + +## we could do this but it's s-l-o-w +## so we won't. +defined $slow and do { + last unless defined $slow; + my @primes = grep { .is-prime }, 1..* ; + say @primes[ $nth ] ; +} + +## so instead we do this, and +## eliminate large swaths of useless searching + +nth-prime( $nth ).say; + +sub nth-prime ( $nth ) { +## creates a list of the first $quantity primes + my ($candidate, @primes) = 1, 2 ; + CANDIDATE: while ( $candidate += 2 and @primes.elems < $nth ) { + my $sqrt_candidate = sqrt( $candidate ); + for @primes -> $test { + next CANDIDATE if $candidate %% $test ; + last if $test > $sqrt_candidate; + } + @primes.push: $candidate; + } + return @primes[*-1]; +} diff --git a/challenge-146/colin-crain/raku/ch-2.raku b/challenge-146/colin-crain/raku/ch-2.raku new file mode 100755 index 0000000000..3b0570e1ec --- /dev/null +++ b/challenge-146/colin-crain/raku/ch-2.raku @@ -0,0 +1,33 @@ +#!/usr/bin/env perl6 +# +# +# curiously-arboreal.raku +# +# +# +# © 2021 colin crain +## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## + + + +unit sub MAIN ( Str $input = "9/13" ) ; + + + + +$input ~~ m{ (\d+) \/ (\d+) }; +my ($num, $den) = $0, $1; +say "input is $num/$den"; + +my @parent = get_parent( $num, $den); +say "parent is ", @parent.join: '/'; +say "grandparent is ", (get_parent( |@parent )).join: '/',; + + + +sub get_parent ( $num, $den ) { + return ( $num < $den ) + ?? ( $num, $den - $num ) ## left child + !! ( $num - $den, $den ) ; ## right child +} + diff --git a/stats/pwc-current.json b/stats/pwc-current.json index db3f4a7164..54c2972be3 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,40 +1,7 @@ { - "plotOptions" : { - "series" : { - "dataLabels" : { - "format" : "{point.y}", - "enabled" : 1 - }, - "borderWidth" : 0 - } - }, - "xAxis" : { - "type" : "category" - }, - "tooltip" : { - "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>", - "followPointer" : 1, - "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>" - }, - "subtitle" : { - "text" : "[Champions: 32] Last updated at 2022-01-10 01:10:28 GMT" - }, - "legend" : { - "enabled" : 0 - }, - "title" : { - "text" : "The Weekly Challenge - 146" - }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } - }, "drilldown" : { "series" : [ { - "name" : "Abigail", - "id" : "Abigail", "data" : [ [ "Perl", @@ -44,9 +11,12 @@ "Blog", 2 ] - ] + ], + "name" : "Abigail", + "id" : "Abigail" }, { + "id" : "Adam Russell", "name" : "Adam Russell", "data" : [ [ @@ -57,18 +27,17 @@ "Blog", 1 ] - ], - "id" : "Adam Russell" + ] }, { "id" : "Andrew Shitov", + "name" : "Andrew Shitov", "data" : [ [ "Raku", 1 ] - ], - "name" : "Andrew Shitov" + ] }, { "data" : [ @@ -81,6 +50,8 @@ "name" : "Andrezgz" }, { + "name" : "Arne Sommer", + "id" : "Arne Sommer", "data" : [ [ "Perl", @@ -94,11 +65,11 @@ "Blog", 1 ] - ], - "id" : "Arne Sommer", - "name" : "Arne Sommer" + ] }, { + "id" : "Athanasius", + "name" : "Athanasius", "data" : [ [ "Perl", @@ -108,13 +79,9 @@ "Raku", 2 ] - ], - "id" : "Athanasius", - "name" : "Athanasius" + ] }, { - "name" : "Bruce Gray", - "id" : "Bruce Gray", "data" : [ [ "Perl", @@ -128,7 +95,9 @@ "Blog", 1 ] - ] + ], + "name" : "Bruce Gray", + "id" : "Bruce Gray" }, { "data" : [ @@ -137,26 +106,30 @@ 2 ], [ - "Blog", - 1 + "Raku", + 2 ] ], - "id" : "Dave Jacoby", - "name" : "Dave Jacoby" + "name" : "Colin Crain", + "id" : "Colin Crain" }, { "data" : [ [ "Perl", 2 + ], + [ + "Blog", + 1 ] ], - "id" : "Duncan C. White", - "name" : "Duncan C. White" + "name" : "Dave Jacoby", + "id" : "Dave Jacoby" }, { - "name" : "E. Choroba", - "id" : "E. Choroba", + "id" : "Duncan C. White", + "name" : "Duncan C. White", "data" : [ [ "Perl", @@ -165,16 +138,27 @@ ] }, { - "name" : "Feng Chang", + "data" : [ + [ + "Perl", + 2 + ] + ], + "name" : "E. Choroba", + "id" : "E. Choroba" + }, + { "data" : [ [ "Raku", 2 ] ], + "name" : "Feng Chang", "id" : "Feng Chang" }, { + "name" : "Flavio Poletti", "id" : "Flavio Poletti", "data" : [ [ @@ -189,22 +173,19 @@ "Blog", 2 ] - ], - "name" : "Flavio Poletti" + ] }, { - "id" : "Ian Goodnight", "data" : [ [ "Perl", 2 ] ], - "name" : "Ian Goodnight" + "name" : "Ian Goodnight", + "id" : "Ian Goodnight" }, { - "name" : "Jaldhar H. Vyas", - "id" : "Jaldhar H. Vyas", "data" : [ [ "Perl", @@ -218,7 +199,9 @@ "Blog", 1 ] - ] + ], + "id" : "Jaldhar H. Vyas", + "name" : "Jaldhar H. Vyas" }, { "data" : [ @@ -235,27 +218,28 @@ "name" : "James Smith" }, { + "id" : "Jan Krnavek", + "name" : "Jan Krnavek", "data" : [ [ "Raku", 2 ] - ], - "id" : "Jan Krnavek", - "name" : "Jan Krnavek" + ] }, { - "id" : "Jorg Sommrey", "data" : [ [ "Perl", 1 ] ], - "name" : "Jorg Sommrey" + "name" : "Jorg Sommrey", + "id" : "Jorg Sommrey" }, { "id" : "Laurent Rosenfeld", + "name" : "Laurent Rosenfeld", "data" : [ [ "Perl", @@ -269,11 +253,9 @@ "Blog", 1 ] - ], - "name" : "Laurent Rosenfeld" + ] }, { - "id" : "Luca Ferrari", "data" : [ [ "Raku", @@ -284,20 +266,22 @@ 4 ] ], - "name" : "Luca Ferrari" + "name" : "Luca Ferrari", + "id" : "Luca Ferrari" }, { - "name" : "Mark Anderson", - "id" : "Mark Anderson", "data" : [ [ "Raku", 2 ] - ] + ], + "name" : "Mark Anderson", + "id" : "Mark Anderson" }, { "name" : "Mark Senn", + "id" : "Mark Senn", "data" : [ [ "Raku", @@ -307,17 +291,16 @@ "Blog", 2 ] - ], - "id" : "Mark Senn" + ] }, { - "id" : "Matthew Neleigh", "data" : [ [ "Perl", 2 ] ], + "id" : "Matthew Neleigh", "name" : "Matthew Neleigh" }, { @@ -341,18 +324,18 @@ 2 ] ], - "id" : "Niels van Dijke", - "name" : "Niels van Dijke" + "name" : "Niels van Dijke", + "id" : "Niels van Dijke" }, { - "name" : "Pete Houston", "data" : [ [ "Perl", 2 ] ], - "id" : "Pete Houston" + "id" : "Pete Houston", + "name" : "Pete Houston" }, { "name" : "Peter Campbell Smith", @@ -369,18 +352,16 @@ ] }, { + "id" : "Robert DiCicco", "name" : "Robert DiCicco", "data" : [ [ "Perl", 2 ] - ], - "id" : "Robert DiCicco" + ] }, { - "name" : "Roger Bell_West", - "id" : "Roger Bell_West", "data" : [ [ "Perl", @@ -394,9 +375,13 @@ "Blog", 1 ] - ] + ], + "id" : "Roger Bell_West", + "name" : "Roger Bell_West" }, { + "name" : "Simon Green", + "id" : "Simon Green", "data" : [ [ "Perl", @@ -406,9 +391,7 @@ "Blog", 1 ] - ], - "id" : "Simon Green", - "name" : "Simon Green" + ] }, { "name" : "Simon Proctor", @@ -421,8 +404,8 @@ ] }, { - "name" : "Ulrich Rieke", "id" : "Ulrich Rieke", + "name" : "Ulrich Rieke", "data" : [ [ "Perl", @@ -450,18 +433,39 @@ } ] }, + "xAxis" : { + "type" : "category" + }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, + "title" : { + "text" : "The Weekly Challenge - 146" + }, + "chart" : { + "type" : "column" + }, + "tooltip" : { + "followPointer" : 1, + "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>", + "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>" + }, "series" : [ { + "colorByPoint" : 1, + "name" : "The Weekly Challenge - 146", "data" : [ { - "y" : 4, "name" : "Abigail", - "drilldown" : "Abigail" + "drilldown" : "Abigail", + "y" : 4 }, { + "y" : 3, "drilldown" : "Adam Russell", - "name" : "Adam Russell", - "y" : 3 + "name" : "Adam Russell" }, { "name" : "Andrew Shitov", @@ -469,58 +473,63 @@ "y" : 1 }, { - "name" : "Andrezgz", "drilldown" : "Andrezgz", - "y" : 2 + "y" : 2, + "name" : "Andrezgz" }, { "name" : "Arne Sommer", - "drilldown" : "Arne Sommer", - "y" : 5 + "y" : 5, + "drilldown" : "Arne Sommer" }, { - "drilldown" : "Athanasius", "name" : "Athanasius", - "y" : 4 + "y" : 4, + "drilldown" : "Athanasius" }, { - "y" : 5, "drilldown" : "Bruce Gray", + "y" : 5, "name" : "Bruce Gray" }, { - "y" : 3, + "name" : "Colin Crain", + "drilldown" : "Colin Crain", + "y" : 4 + }, + { "drilldown" : "Dave Jacoby", + "y" : 3, "name" : "Dave Jacoby" }, { "name" : "Duncan C. White", - "drilldown" : "Duncan C. White", - "y" : 2 + "y" : 2, + "drilldown" : "Duncan C. White" }, { - "y" : 2, + "name" : "E. Choroba", "drilldown" : "E. Choroba", - "name" : "E. Choroba" + "y" : 2 }, { - "y" : 2, "name" : "Feng Chang", + "y" : 2, "drilldown" : "Feng Chang" }, { "y" : 6, - "name" : "Flavio Poletti", - "drilldown" : "Flavio Poletti" + "drilldown" : "Flavio Poletti", + "name" : "Flavio Poletti" }, { + "name" : "Ian Goodnight", "y" : 2, - "drilldown" : "Ian Goodnight", - "name" : "Ian Goodnight" + "drilldown" : "Ian Goodnight" }, { - "drilldown" : "Jaldhar H. Vyas", "name" : "Jaldhar H. Vyas", + "drilldown" : "Jaldhar H. Vyas", "y" : 5 }, { @@ -529,96 +538,106 @@ "y" : 3 }, { - "y" : 2, "drilldown" : "Jan Krnavek", + "y" : 2, "name" : "Jan Krnavek" }, { "drilldown" : "Jorg Sommrey", - "name" : "Jorg Sommrey", - "y" : 1 + "y" : 1, + "name" : "Jorg Sommrey" }, { - "y" : 5, + "name" : "Laurent Rosenfeld", "drilldown" : "Laurent Rosenfeld", - "name" : "Laurent Rosenfeld" + "y" : 5 }, { "y" : 6, - "name" : "Luca Ferrari", - "drilldown" : "Luca Ferrari" + "drilldown" : "Luca Ferrari", + "name" : "Luca Ferrari" }, { + "drilldown" : "Mark Anderson", "y" : 2, - "name" : "Mark Anderson", - "drilldown" : "Mark Anderson" + "name" : "Mark Anderson" }, { - "name" : "Mark Senn", "drilldown" : "Mark Senn", - "y" : 4 + "y" : 4, + "name" : "Mark Senn" }, { "name" : "Matthew Neleigh", - "drilldown" : "Matthew Neleigh", - "y" : 2 + "y" : 2, + "drilldown" : "Matthew Neleigh" }, { + "name" : "Mohammad S Anwar", "y" : 2, - "drilldown" : "Mohammad S Anwar", - "name" : "Mohammad S Anwar" + "drilldown" : "Mohammad S Anwar" }, { - "drilldown" : "Niels van Dijke", "name" : "Niels van Dijke", + "drilldown" : "Niels van Dijke", "y" : 2 }, { - "y" : 2, "name" : "Pete Houston", - "drilldown" : "Pete Houston" + "drilldown" : "Pete Houston", + "y" : 2 }, { "y" : 3, - "name" : "Peter Campbell Smith", - "drilldown" : "Peter Campbell Smith" + "drilldown" : "Peter Campbell Smith", + "name" : "Peter Campbell Smith" }, { - "y" : 2, "drilldown" : "Robert DiCicco", + "y" : 2, "name" : "Robert DiCicco" }, { - "drilldown" : "Roger Bell_West", "name" : "Roger Bell_West", + "drilldown" : "Roger Bell_West", "y" : 5 }, { + "name" : "Simon Green", "y" : 3, - "drilldown" : "Simon Green", - "name" : "Simon Green" + "drilldown" : "Simon Green" }, { "name" : "Simon Proctor", - "drilldown" : "Simon Proctor", - "y" : 2 + "y" : 2, + "drilldown" : "Simon Proctor" }, { - "y" : 4, + "name" : "Ulrich Rieke", "drilldown" : "Ulrich Rieke", - "name" : "Ulrich Rieke" + "y" : 4 }, { + "name" : "W. Luis Mochan", "y" : 3, - "drilldown" : "W. Luis Mochan", - "name" : "W. Luis Mochan" + "drilldown" : "W. Luis Mochan" } - ], - "colorByPoint" : 1, - "name" : "The Weekly Challenge - 146" + ] } ], - "chart" : { - "type" : "column" + "plotOptions" : { + "series" : { + "borderWidth" : 0, + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + } + } + }, + "subtitle" : { + "text" : "[Champions: 33] Last updated at 2022-01-10 01:33:21 GMT" + }, + "legend" : { + "enabled" : 0 } } diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index baadc9299d..f6b8f298dc 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -1,4 +1,28 @@ { + "yAxis" : { + "title" : { + "text" : null + }, + "min" : 0 + |
