From 968a5b204b0247a6ca34359f271db9dd00c74d72 Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Mon, 20 Jun 2022 01:14:10 +0100 Subject: - Added solutions by Colin Crain. --- challenge-169/colin-crain/perl/ch-1.pl | 113 +++ challenge-169/colin-crain/perl/ch-2.pl | 139 ++++ stats/pwc-current.json | 506 ++++++------- stats/pwc-language-breakdown-summary.json | 60 +- stats/pwc-language-breakdown.json | 1098 ++++++++++++++--------------- stats/pwc-leaders.json | 728 +++++++++---------- stats/pwc-summary-1-30.json | 122 ++-- stats/pwc-summary-121-150.json | 108 +-- stats/pwc-summary-151-180.json | 100 +-- stats/pwc-summary-181-210.json | 110 +-- stats/pwc-summary-211-240.json | 106 +-- stats/pwc-summary-241-270.json | 34 +- stats/pwc-summary-31-60.json | 50 +- stats/pwc-summary-61-90.json | 98 +-- stats/pwc-summary-91-120.json | 98 +-- stats/pwc-summary.json | 58 +- 16 files changed, 1892 insertions(+), 1636 deletions(-) create mode 100755 challenge-169/colin-crain/perl/ch-1.pl create mode 100755 challenge-169/colin-crain/perl/ch-2.pl diff --git a/challenge-169/colin-crain/perl/ch-1.pl b/challenge-169/colin-crain/perl/ch-1.pl new file mode 100755 index 0000000000..0a2e5decf8 --- /dev/null +++ b/challenge-169/colin-crain/perl/ch-1.pl @@ -0,0 +1,113 @@ +#!/Users/colincrain/perl5/perlbrew/perls/perl-5.32.0/bin/perl +# +# twenty-two-brilliant-numbers.pl +# +# Brilliant Numbers +# Submitted by: Mohammad S Anwar +# Write a script to generate first 20 Brilliant Numbers. +# +# Brilliant numbers are numbers with two prime factors of the same length. + +# The number should have exactly two prime factors, i.e. it’s the +# product of two primes of the same length. +# +# For example, +# +# 24287 = 149 x 163 +# 24289 = 107 x 227 +# +# Therefore 24287 and 24289 are 2-brilliant numbers. +# These two brilliant numbers happen to be consecutive as there are +# no even brilliant numbers greater than 14. +# +# Output +# 4, 6, 9, 10, 14, 15, 21, 25, 35, 49, +# 121, 143, 169, 187, 209, 221, 247, 253, 289, 299 +# +# discussion: + +# right off the bat we seem to have a problem, which is brought out by the +# puzzling statement in the example, that "24287 and 24289 are +# 2-brilliant numbers". Wait, what are 2-brilliant numbers? Does +# this refer to the 2 required factors, and if so, does the +# definition allow of 3- or more briliiant numbers as well? +# +# Well, to cut to the chase, yes it does, and so the defintion as +# atated is incomplete and misleading. This is the defintion for a +# set of brilliant numbers, and there are in fact others. +# +# It appears, then, that the request is for the first 20 brilliant +# numbers *as defined*, which would mean 2-factor brilliant numbers +# only. [1] + +# But what even is a brilliant number, and why do they matter? This +# is less clear, and although the rationale is still rooted in +# number theory, the does not appear in the end to be a +# number-theoretical pursuit. Rather, that these numbers are used +# in other number-theoretical processes. +# +# A number with two factors is by definition composite, which of +# course means it is not prime. And a restriction that the two +# factors have the same count of digits means they can only vary +# from another by a factor of nine times the largest largest digit +# place, and the two will hover around square root of the number +# factored. One factor, for instance, cannot be very small and the +# other a low fraction of the product (outside the products of +# small primes, of course). +# +# WHat all this means is that the numbers are not prime, yet of all +# the composite numbers available the brilliant numbers will be +# those most difficult to factor using trial division. +# +# WHich, apparently, is why these numbers are useful, to provide +# difficult targets for factoring algorithms. + +# --- +# +# [1] If, on the other hand, we were to want the first 20 brilliant +# numbers, selected from any order, then the problem becomes much +# trickier. + + +# --- +# +# method: +# +# Since ever prime of a givn number of digits times every prime of +# the same length, inclusive, produces a unique brilliant number, +# the question remains on ordering them to locate the lowest 20 +# values. I propose we calculate an excess, say the first two +# orders, and sort the results, selecting the first twenty values +# from this sorted list. + +# © 2022 colin crain +## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## + + + +use warnings; +use strict; +use utf8; +use feature ":5.26"; +use feature qw(signatures); +no warnings 'experimental::signatures'; + +use ntheory qw( primes ); + +my @orders = (1,2); +my @bns; + +for my $o ( @orders ) { + my @p = primes( 1 * 10**($o-1), 10**$o - 1 )->@*; + + for my $i ( 0..@p-1 ) { + for my $j ( $i..@p-1 ) { + push @bns, $p[$i] * $p[$j]; + } + } +} + +@bns = sort {$a<=>$b} @bns; + +say "@bns[0..19]"; + diff --git a/challenge-169/colin-crain/perl/ch-2.pl b/challenge-169/colin-crain/perl/ch-2.pl new file mode 100755 index 0000000000..3e7461f561 --- /dev/null +++ b/challenge-169/colin-crain/perl/ch-2.pl @@ -0,0 +1,139 @@ +#!/Users/colincrain/perl5/perlbrew/perls/perl-5.32.0/bin/perl +# +# tendon-ous-task.pl +# +# Achilles Numbers +# Submitted by: Mohammad S Anwar +# Write a script to generate first 20 Achilles Numbers. Please +# checkout wikipedia for more information. +# +# An Achilles number is a number that is powerful but imperfect +# (not a perfect power). Named after Achilles, a hero of the Trojan +# war, who was also powerful but imperfect. +# +# A positive integer n is a powerful number if, for every prime +# factor p of n, p^2 is also a divisor. +# +# A number is a perfect power if it has any integer roots (square +# root, cube root, etc.). +# +# For example 36 factors to (2, 2, 3, 3) - every prime factor (2, +# 3) also has its square as a divisor (4, 9). But 36 has an integer +# square root, 6, so the number is a perfect power. +# +# But 72 factors to (2, 2, 2, 3, 3); it similarly has 4 and 9 as +# divisors, but it has no integer roots. This is an Achilles +# number. +# +# +# Output +# 72, 108, 200, 288, 392, 432, 500, 648, 675, 800, +# 864, 968, 972, 1125, 1152, 1323, 1352, 1372, 1568, 1800 +# + +# discussion: +# +# One unexpected delight in the past year's excursions into number +# theory has been the amount of wordplay involved. One probably +# wouldn't expect that from a mathematical crowd, but then again +# play is play, and people who like to play have a tendency to play +# with whatever they have around them — numbers, words, game +# tokens, stories and fictional flights of fancy. +# +# In this case enter Achilleus, Ancient Greek Ἀχιλλεύς, a demigod +# who fought for Athens in the Trojan Wars. Achilleus, known in +# English more often as Achilles, was the progeny of a god and a +# nymph, which, although this union produced a mortal man, he +# retained some of the powers of the gods, and he was Athen's +# greatest warrior in the fight. +# +# Achilleus was a proud man, and himself stated that he was driven +# by his pride. Excessive pride, ὕβρις or hubris, was frowned upon +# by the gods, taken to be a sign of man upsetting his station in +# the world, and improperly venturing into the terrtory of the +# gods. When Achilleus refuses to fight for his side because of an +# percieved slight this pridefullness comes to a head. His friend +# goes to the battlefield in his stead and is killed. Enraged, +# Achilleus rejoins the battle and looks to single-handedly tip the +# scales back to Athens and win the war. +# +# However this was not fated, and the gods took notice. Achilleus +# had fought for his pride, not his city, and when he reacted to a +# slight started actions that produced the death of his friend and +# now were threatening the role of the fates themselves. +# +# THis would not do. Achilleus' hubris became his ἁμαρτία, or +# hamartíā: his fatal flaw, his undoing. The Greek gods were known +# for disproportionate justice against the inconsequence of mere +# mortals. Although his prowness on the battlefield made him seem +# untouchable in a fight, Apollo personally guided an arrow into +# his heart, killing him. +# +# So Achilleus is the most powerful warrior in the Athenian army, +# but for all that power had a fatal flaw, hamartíā, that led to +# his downfall. + +# --- +# +# The wordplay in the labeling this particular sequence as Achilles +# Numbers is layered like an onion. Numbers whose prime factors are +# all raised to at least the power of 2 are known as powerful +# numbers. Because, you know, they are full of powers. Then we have +# numbers that are the product of an exponential term, such as a +# value being squared or cubed, or raised to a higher power. As a +# group, these are known as perfect powers: perfect squares, +# perfect cubes, and so on. +# +# So a powerful number that is also is imperfect, which is to say +# it is powerful but not a perfect power, is like Achilles. +# +# method: +# +# For a number to be powerful, it must have all of its prime +# factors at least doubled. +# +# For a number to be a perfect power, then the count of all of its +# prime factors must be at least 2 and furthermore the count of +# each prime must be equal to that of all the others. The number +# 216, for example, has the factors (2, 2, 2, 3, 3, 3), which +# allows each 2 to be paired up with a 3, and so can be expressed +# as 6 cubed. +# +# So we're going to count primes among the factors. If the count of +# each prime is greater than 1, but the counts are *not* all equal, +# then we have an Achilles Number. + +# © 2022 colin crain +## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## + + + +use warnings; +use strict; +use utf8; +use feature ":5.26"; +use feature qw(signatures); +no warnings 'experimental::signatures'; + +use ntheory qw( factor gcd ); +use constant { QUANTITY => 20 }; + +my @achilles; +my $candidate = 1; + +while ( $candidate++ ) { + my @f = factor( $candidate ); + my %freq; + $freq{$_}++ for @f; + + my @values = sort {$a<=>$b} values %freq; + + next if $values[0] == 1; ## not powerful + next if gcd( @values ) > 1; ## is perfect power + + push @achilles, $candidate; + last if @achilles == QUANTITY; +} + +say "@achilles"; + diff --git a/stats/pwc-current.json b/stats/pwc-current.json index 26cf247035..9c1ac8403c 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,4 +1,180 @@ { + "series" : [ + { + "colorByPoint" : 1, + "name" : "The Weekly Challenge - 169", + "data" : [ + { + "name" : "Adam Russell", + "drilldown" : "Adam Russell", + "y" : 4 + }, + { + "name" : "Arne Sommer", + "drilldown" : "Arne Sommer", + "y" : 5 + }, + { + "drilldown" : "Athanasius", + "y" : 4, + "name" : "Athanasius" + }, + { + "name" : "Bruce Gray", + "drilldown" : "Bruce Gray", + "y" : 2 + }, + { + "name" : "Cheok-Yin Fung", + "drilldown" : "Cheok-Yin Fung", + "y" : 3 + }, + { + "drilldown" : "Colin Crain", + "y" : 4, + "name" : "Colin Crain" + }, + { + "y" : 1, + "drilldown" : "Dario Mazzeo", + "name" : "Dario Mazzeo" + }, + { + "name" : "Dave Jacoby", + "y" : 2, + "drilldown" : "Dave Jacoby" + }, + { + "y" : 2, + "drilldown" : "Duncan C. White", + "name" : "Duncan C. White" + }, + { + "y" : 2, + "drilldown" : "E. Choroba", + "name" : "E. Choroba" + }, + { + "drilldown" : "Flavio Poletti", + "y" : 6, + "name" : "Flavio Poletti" + }, + { + "name" : "habere-et-dispetire", + "y" : 2, + "drilldown" : "habere-et-dispetire" + }, + { + "drilldown" : "James Smith", + "y" : 3, + "name" : "James Smith" + }, + { + "name" : "Jan Krnavek", + "y" : 2, + "drilldown" : "Jan Krnavek" + }, + { + "name" : "Jorg Sommrey", + "drilldown" : "Jorg Sommrey", + "y" : 2 + }, + { + "name" : "Laurent Rosenfeld", + "drilldown" : "Laurent Rosenfeld", + "y" : 5 + }, + { + "name" : "Lubos Kolouch", + "y" : 2, + "drilldown" : "Lubos Kolouch" + }, + { + "drilldown" : "Luca Ferrari", + "y" : 8, + "name" : "Luca Ferrari" + }, + { + "name" : "Mark Anderson", + "drilldown" : "Mark Anderson", + "y" : 2 + }, + { + "y" : 2, + "drilldown" : "Marton Polgar", + "name" : "Marton Polgar" + }, + { + "drilldown" : "Matthew Neleigh", + "y" : 2, + "name" : "Matthew Neleigh" + }, + { + "name" : "Peter Campbell Smith", + "drilldown" : "Peter Campbell Smith", + "y" : 3 + }, + { + "drilldown" : "PokGoPun", + "y" : 2, + "name" : "PokGoPun" + }, + { + "name" : "Rick Bychowski", + "drilldown" : "Rick Bychowski", + "y" : 2 + }, + { + "name" : "Robert DiCicco", + "drilldown" : "Robert DiCicco", + "y" : 1 + }, + { + "y" : 2, + "drilldown" : "Robert Ransbottom", + "name" : "Robert Ransbottom" + }, + { + "drilldown" : "Roger Bell_West", + "y" : 5, + "name" : "Roger Bell_West" + }, + { + "drilldown" : "Ryan Thompson", + "y" : 3, + "name" : "Ryan Thompson" + }, + { + "name" : "Simon Green", + "drilldown" : "Simon Green", + "y" : 3 + }, + { + "name" : "Stephen G Lynn", + "drilldown" : "Stephen G Lynn", + "y" : 4 + }, + { + "drilldown" : "Ulrich Rieke", + "y" : 4, + "name" : "Ulrich Rieke" + }, + { + "drilldown" : "W. Luis Mochan", + "y" : 3, + "name" : "W. Luis Mochan" + }, + { + "name" : "Walt Mankowski", + "drilldown" : "Walt Mankowski", + "y" : 2 + } + ] + } + ], + "xAxis" : { + "type" : "category" + }, "drilldown" : { "series" : [ { @@ -12,10 +188,11 @@ 2 ] ], - "name" : "Adam Russell", - "id" : "Adam Russell" + "id" : "Adam Russell", + "name" : "Adam Russell" }, { + "name" : "Arne Sommer", "data" : [ [ "Perl", @@ -30,10 +207,10 @@ 1 ] ], - "name" : "Arne Sommer", "id" : "Arne Sommer" }, { + "name" : "Athanasius", "data" : [ [ "Perl", @@ -44,7 +221,6 @@ 2 ] ], - "name" : "Athanasius", "id" : "Athanasius" }, { @@ -54,8 +230,8 @@ 2 ] ], - "name" : "Bruce Gray", - "id" : "Bruce Gray" + "id" : "Bruce Gray", + "name" : "Bruce Gray" }, { "data" : [ @@ -68,18 +244,22 @@ 1 ] ], - "name" : "Cheok-Yin Fung", - "id" : "Cheok-Yin Fung" + "id" : "Cheok-Yin Fung", + "name" : "Cheok-Yin Fung" }, { + "name" : "Colin Crain", "id" : "Colin Crain", "data" : [ + [ + "Perl", + 2 + ], [ "Blog", 2 ] - ], - "name" : "Colin Crain" + ] }, { "id" : "Dario Mazzeo", @@ -92,37 +272,38 @@ "name" : "Dario Mazzeo" }, { - "id" : "Dave Jacoby", "data" : [ [ "Perl", 2 ] ], + "id" : "Dave Jacoby", "name" : "Dave Jacoby" }, { + "name" : "Duncan C. White", "id" : "Duncan C. White", "data" : [ [ "Perl", 2 ] - ], - "name" : "Duncan C. White" + ] }, { - "id" : "E. Choroba", - "name" : "E. Choroba", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "E. Choroba", + "name" : "E. Choroba" }, { "name" : "Flavio Poletti", + "id" : "Flavio Poletti", "data" : [ [ "Perl", @@ -136,21 +317,19 @@ "Blog", 2 ] - ], - "id" : "Flavio Poletti" + ] }, { - "id" : "habere-et-dispetire", + "name" : "habere-et-dispetire", "data" : [ [ "Raku", 2 ] ], - "name" : "habere-et-dispetire" + "id" : "habere-et-dispetire" }, { - "id" : "James Smith", "name" : "James Smith", "data" : [ [ @@ -161,30 +340,31 @@ "Blog", 1 ] - ] + ], + "id" : "James Smith" }, { + "name" : "Jan Krnavek", "data" : [ [ "Raku", 2 ] ], - "name" : "Jan Krnavek", "id" : "Jan Krnavek" }, { + "id" : "Jorg Sommrey", "data" : [ [ "Perl", 2 ] ], - "name" : "Jorg Sommrey", - "id" : "Jorg Sommrey" + "name" : "Jorg Sommrey" }, { - "name" : "Laurent Rosenfeld", + "id" : "Laurent Rosenfeld", "data" : [ [ "Perl", @@ -199,19 +379,21 @@ 1 ] ], - "id" : "Laurent Rosenfeld" + "name" : "Laurent Rosenfeld" }, { - "id" : "Lubos Kolouch", + "name" : "Lubos Kolouch", "data" : [ [ "Perl", 2 ] ], - "name" : "Lubos Kolouch" + "id" : "Lubos Kolouch" }, { + "name" : "Luca Ferrari", + "id" : "Luca Ferrari", "data" : [ [ "Raku", @@ -221,41 +403,40 @@ "Blog", 6 ] - ], - "name" : "Luca Ferrari", - "id" : "Luca Ferrari" + ] }, { - "id" : "Mark Anderson", + "name" : "Mark Anderson", "data" : [ [ "Raku", 2 ] ], - "name" : "Mark Anderson" + "id" : "Mark Anderson" }, { - "id" : "Marton Polgar", "name" : "Marton Polgar", "data" : [ [ "Raku", 2 ] - ] + ], + "id" : "Marton Polgar" }, { "id" : "Matthew Neleigh", - "name" : "Matthew Neleigh", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "Matthew Neleigh" }, { + "name" : "Peter Campbell Smith", "data" : [ [ "Perl", @@ -266,22 +447,21 @@ 1 ] ], - "name" : "Peter Campbell Smith", "id" : "Peter Campbell Smith" }, { + "name" : "PokGoPun", "data" : [ [ "Perl", 2 ] ], - "name" : "PokGoPun", "id" : "PokGoPun" }, { - "id" : "Rick Bychowski", "name" : "Rick Bychowski", + "id" : "Rick Bychowski", "data" : [ [ "Blog", @@ -290,24 +470,24 @@ ] }, { - "id" : "Robert DiCicco", - "name" : "Robert DiCicco", "data" : [ [ "Raku", 1 ] - ] + ], + "id" : "Robert DiCicco", + "name" : "Robert DiCicco" }, { - "name" : "Robert Ransbottom", "data" : [ [ "Raku", 2 ] ], - "id" : "Robert Ransbottom" + "id" : "Robert Ransbottom", + "name" : "Robert Ransbottom" }, { "id" : "Roger Bell_West", @@ -328,7 +508,6 @@ "name" : "Roger Bell_West" }, { - "id" : "Ryan Thompson", "name" : "Ryan Thompson", "data" : [ [ @@ -339,10 +518,12 @@ "Blog", 1 ] - ] + ], + "id" : "Ryan Thompson" }, { "name" : "Simon Green", + "id" : "Simon Green", "data" : [ [ "Perl", @@ -352,10 +533,10 @@ "Blog", 1 ] - ], - "id" : "Simon Green" + ] }, { + "name" : "Stephen G Lynn", "id" : "Stephen G Lynn", "data" : [ [ @@ -366,12 +547,10 @@ "Raku", 2 ] - ], - "name" : "Stephen G Lynn" + ] }, { "id" : "Ulrich Rieke", - "name" : "Ulrich Rieke", "data" : [ [ "Perl", @@ -381,9 +560,11 @@ "Raku", 2 ] - ] + ], + "name" : "Ulrich Rieke" }, { + "id" : "W. Luis Mochan", "data" : [ [ "Perl", @@ -394,8 +575,7 @@ 1 ] ], - "name" : "W. Luis Mochan", - "id" : "W. Luis Mochan" + "name" : "W. Luis Mochan" }, { "name" : "Walt Mankowski", @@ -409,211 +589,35 @@ } ] }, + "legend" : { + "enabled" : 0 + }, "tooltip" : { "followPointer" : 1, - "pointFormat" : "{point.name}: {point.y:f}
", - "headerFormat" : "{series.name}
" + "headerFormat" : "{series.name}
", + "pointFormat" : "{point.name}: {point.y:f}
" }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" + "plotOptions" : { + "series" : { + "dataLabels" : { + "format" : "{point.y}", + "enabled" : 1 + }, + "borderWidth" : 0 } }, - "series" : [ - { - "data" : [ - { - "drilldown" : "Adam Russell", - "name" : "Adam Russell", - "y" : 4 - }, - { - "name" : "Arne Sommer", - "drilldown" : "Arne Sommer", - "y" : 5 - }, - { - "name" : "Athanasius", - "drilldown" : "Athanasius", - "y" : 4 - }, - { - "y" : 2, - "drilldown" : "Bruce Gray", - "name" : "Bruce Gray" - }, - { - "drilldown" : "Cheok-Yin Fung", - "name" : "Cheok-Yin Fung", - "y" : 3 - }, - { - "name" : "Colin Crain", - "drilldown" : "Colin Crain", - "y" : 2 - }, - { - "name" : "Dario Mazzeo", - "drilldown" : "Dario Mazzeo", - "y" : 1 - }, - { - "drilldown" : "Dave Jacoby", - "y" : 2, - "name" : "Dave Jacoby" - }, - { - "y" : 2, - "drilldown" : "Duncan C. White", - "name" : "Duncan C. White" - }, - { - "drilldown" : "E. Choroba", - "y" : 2, - "name" : "E. Choroba" - }, - { - "name" : "Flavio Poletti", - "drilldown" : "Flavio Poletti", - "y" : 6 - }, - { - "drilldown" : "habere-et-dispetire", - "y" : 2, - "name" : "habere-et-dispetire" - }, - { - "name" : "James Smith", - "drilldown" : "James Smith", - "y" : 3 - }, - { - "name" : "Jan Krnavek", - "drilldown" : "Jan Krnavek", - "y" : 2 - }, - { - "drilldown" : "Jorg Sommrey", - "name" : "Jorg Sommrey", - "y" : 2 - }, - { - "y" : 5, - "drilldown" : "Laurent Rosenfeld", - "name" : "Laurent Rosenfeld" - }, - { - "y" : 2, - "drilldown" : "Lubos Kolouch", - "name" : "Lubos Kolouch" - }, - { - "y" : 8, - "drilldown" : "Luca Ferrari", - "name" : "Luca Ferrari" - }, - { - "name" : "Mark Anderson", - "drilldown" : "Mark Anderson", - "y" : 2 - }, - { - "y" : 2, - "drilldown" : "Marton Polgar", - "name" : "Marton Polgar" - }, - { - "name" : "Matthew Neleigh", - "drilldown" : "Matthew Neleigh", - "y" : 2 - }, - { - "y" : 3, - "drilldown" : "Peter Campbell Smith", - "name" : "Peter Campbell Smith" - }, - { - "y" : 2, - "drilldown" : "PokGoPun", - "name" : "PokGoPun" - }, - { - "y" : 2, - "drilldown" : "Rick Bychowski", - "name" : "Rick Bychowski" - }, - { - "drilldown" : "Robert DiCicco", - "y" : 1, - "name" : "Robert DiCicco" - }, - { - "y" : 2, - "drilldown" : "Robert Ransbottom", - "name" : "Robert Ransbottom" - }, - { - "y" : 5, - "drilldown" : "Roger Bell_West", - "name" : "Roger Bell_West" - }, - { - "y" : 3, - "drilldown" : "Ryan Thompson", - "name" : "Ryan Thompson" - }, - { - "drilldown" : "Simon Green", - "y" : 3, - "name" : "Simon Green" - }, - { - "drilldown" : "Stephen G Lynn", - "y" : 4, - "name" : "Stephen G Lynn" - }, - { - "drilldown" : "Ulrich Rieke", - "name" : "Ulrich Rieke", - "y" : 4 - }, - { - "name" : "W. Luis Mochan", - "drilldown" : "W. Luis Mochan", - "y" : 3 - }, - { - "drilldown" : "Walt Mankowski", - "y" : 2, - "name" : "Walt Mankowski" - } - ], - "name" : "The Weekly Challenge - 169", - "colorByPoint" : 1 - } - ], "title" : { "text" : "The Weekly Challenge - 169" }, - "chart" : { - "type" : "column" - }, - "xAxis" : { - "type" : "category" - }, - "legend" : { - "enabled" : 0 - }, - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - } + "yAxis" : { + "title" : { + "text" : "Total Solutions" } }, "subtitle" : { - "text" : "[Champions: 33] Last updated at 2022-06-20 00:03:28 GMT" + "text" : "[Champions: 33] Last updated at 2022-06-20 00:11:29 GMT" + }, + "chart" : { + "type" : "column" } } diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index 489f7e3bf7..4483100ddc 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -1,7 +1,27 @@ { + "chart" : { + "type" : "column" + }, + "subtitle" : { + "text" : "Last updated at 2022-06-20 00:11:29 GMT" + }, + "yAxis" : { + "title" : { + "text" : null + }, + "min" : 0 + }, + "title" : { + "text" : "The Weekly Challenge Contributions [2019 - 2022]" + }, + "tooltip" : { + "pointFormat" : "{point.y:.0f}" + }, + "legend" : { + "enabled" : "false" + }, "series" : [ { - "name" : "Contributions", "data" : [ [ "Blog", @@ -9,7 +29,7 @@ ], [ "Perl", - 8241 + 8243 ], [ "Raku", @@ -17,37 +37,20 @@ ] ], "dataLabels" : { - "color" : "#FFFFFF", - "y" : 10, "format" : "{point.y:.0f}", - "rotation" : -90, - "align" : "right", - "enabled" : "true", + "y" : 10, "style" : { "fontFamily" : "Verdana, sans-serif", "fontSize" : "13px" - } - } + }, + "align" : "right", + "color" : "#FFFFFF", + "rotation" : -90, + "enabled" : "true" + }, + "name" : "Contributions" } ], - "title" : { - "text" : "The Weekly Challenge Contributions [2019 - 2022]" - }, - "tooltip" : { - "pointFormat" : "{point.y:.0f}" - }, - "yAxis" : { - "min" : 0, - "title" : { - "text" : null - } - }, - "subtitle" : { - "text" : "Last updated at 2022-06-20 00:03:28 GMT" - }, - "chart" : { - "type" : "column" - }, "xAxis" : { "labels" : { "style" : { @@ -56,8 +59,5 @@ } }, "type" : "category" - }, - "legend" : { - "enabled" : "false" } } diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json index 6149fc9e93..3cb340a8ff 100644 --- a/stats/pwc-language-breakdown.json +++ b/stats/pwc-language-breakdown.json @@ -1,30 +1,21 @@ { - "subtitle" : { - "text" : "Click the columns to drilldown the language breakdown. Last updated at 2022-06-20 00:03:28 GMT" - }, - "plotOptions" : { - "series" : { - "borderWidth" : 0, - "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" - } + "yAxis" : { + "title" : { + "text" : "Total Solutions" } }, - "legend" : { - "enabled" : "false" - }, - "xAxis" : { - "type" : "category" + "title" : { + "text" : "The Weekly Challenge Language" }, "chart" : { "type" : "column" }, - "title" : { - "text" : "The Weekly Challenge Language" + "subtitle" : { + "text" : "Click the columns to drilldown the language breakdown. Last updated at 2022-06-20 00:11:29 GMT" }, "series" : [ { + "colorByPoint" : "true", "name" : "The Weekly Challenge Languages", "data" : [ { @@ -33,29 +24,29 @@ "y" : 161 }, { - "drilldown" : "002", "name" : "#002", + "drilldown" : "002", "y" : 125 }, { + "name" : "#003", "y" : 83, - "drilldown" : "003", - "name" : "#003" + "drilldown" : "003" }, { - "drilldown" : "004", + "name" : "#004", "y" : 99, - "name" : "#004" + "drilldown" : "004" }, { "drilldown" : "005", - "name" : "#005", - "y" : 78 + "y" : 78, + "name" : "#005" }, { + "y" : 58, "drilldown" : "006", - "name" : "#006", - "y" : 58 + "name" : "#006" }, { "drilldown" : "007", @@ -68,9 +59,9 @@ "name" : "#008" }, { + "y" : 76, "drilldown" : "009", - "name" : "#009", - "y" : 76 + "name" : "#009" }, { "name" : "#010", @@ -78,19 +69,19 @@ "y" : 65 }, { + "y" : 85, "drilldown" : "011", - "name" : "#011", - "y" : 85 + "name" : "#011" }, { + "name" : "#012", "y" : 89, - "drilldown" : "012", - "name" : "#012" + "drilldown" : "012" }, { + "name" : "#013", "y" : 85, - "drilldown" : "013", - "name" : "#013" + "drilldown" : "013" }, { "y" : 101, @@ -98,14 +89,14 @@ "name" : "#014" }, { + "name" : "#015", "drilldown" : "015", - "y" : 99, - "name" : "#015" + "y" : 99 }, { - "drilldown" : "016", "name" : "#016", - "y" : 71 + "y" : 71, + "drilldown" : "016" }, { "name" : "#017", @@ -113,29 +104,29 @@ "y" : 84 }, { - "drilldown" : "018", "y" : 81, + "drilldown" : "018", "name" : "#018" }, { - "drilldown" : "019", + "name" : "#019", "y" : 103, - "name" : "#019" + "drilldown" : "019" }, { - "name" : "#020", + "y" : 101, "drilldown" : "020", - "y" : 101 + "name" : "#020" }, { - "drilldown" : "021", "name" : "#021", - "y" : 72 + "y" : 72, + "drilldown" : "021" }, { - "y" : 68, + "name" : "#022", "drilldown" : "022", - "name" : "#022" + "y" : 68 }, { "y" : 97, @@ -143,13 +134,13 @@ "name" : "#023" }, { - "drilldown" : "024", "name" : "#024", + "drilldown" : "024", "y" : 75 }, { - "drilldown" : "025", "name" : "#025", + "drilldown" : "025", "y" : 59 }, { @@ -158,59 +149,59 @@ "name" : "#026" }, { + "name" : "#027", "y" : 62, - "drilldown" : "027", - "name" : "#027" + "drilldown" : "027" }, { - "drilldown" : "028", "name" : "#028", - "y" : 82 + "y" : 82, + "drilldown" : "028" }, { - "drilldown" : "029", "name" : "#029", + "drilldown" : "029", "y" : 81 }, { - "y" : 119, "drilldown" : "030", + "y" : 119, "name" : "#030" }, { - "name" : "#031", "drilldown" : "031", - "y" : 91 + "y" : 91, + "name" : "#031" }, { - "name" : "#032", + "y" : 96, "drilldown" : "032", - "y" : 96 + "name" : "#032" }, { - "drilldown" : "033", + "name" : "#033", "y" : 112, - "name" : "#033" + "drilldown" : "033" }, { + "y" : 66, "drilldown" : "034", - "name" : "#034", - "y" : 66 + "name" : "#034" }, { - "drilldown" : "035", + "name" : "#035", "y" : 66, - "name" : "#035" + "drilldown" : "035" }, { + "name" : "#036", "drilldown" : "036", - "y" : 70, - "name" : "#036" + "y" : 70 }, { - "name" : "#037", + "y" : 69, "drilldown" : "037", - "y" : 69 + "name" : "#037" }, { "name" : "#038", @@ -218,8 +209,8 @@ "y" : 70 }, { - "drilldown" : "039", "y" : 64, + "drilldown" : "039", "name" : "#039" }, { @@ -228,34 +219,34 @@ "name" : "#040" }, { - "name" : "#041", "drilldown" : "041", - "y" : 78 + "y" : 78, + "name" : "#041" }, { - "y" : 94, "drilldown" : "042", + "y" : 94, "name" : "#042" }, { + "y" : 70, "drilldown" : "043", - "name" : "#043", - "y" : 70 + "name" : "#043" }, { "drilldown" : "044", - "name" : "#044", - "y" : 87 + "y" : 87, + "name" : "#044" }, { - "y" : 98, + "name" : "#045", "drilldown" : "045", - "name" : "#045" + "y" : 98 }, { - "name" : "#046", + "y" : 89, "drilldown" : "046", - "y" : 89 + "name" : "#046" }, { "drilldown" : "047", @@ -263,73 +254,73 @@ "name" : "#047" }, { - "drilldown" : "048", + "name" : "#048", "y" : 110, - "name" : "#048" + "drilldown" : "048" }, { + "name" : "#049", "y" : 91, - "drilldown" : "049", - "name" : "#049" + "drilldown" : "049" }, { - "y" : 100, + "name" : "#050", "drilldown" : "050", - "name" : "#050" + "y" : 100 }, { - "drilldown" : "051", + "name" : "#051", "y" : 91, - "name" : "#051" + "drilldown" : "051" }, { - "y" : 93, "drilldown" : "052", + "y" : 93, "name" : "#052" }, { - "name" : "#053", "drilldown" : "053", - "y" : 103 + "y" : 103, + "name" : "#053" }, { - "drilldown" : "054", "y" : 105, + "drilldown" : "054", "name" : "#054" }, { - "name" : "#055", + "y" : 90, "drilldown" : "055", - "y" : 90 + "name" : "#055" }, { "drilldown" : "056", - "name" : "#056", - "y" : 97 + "y" : 97, + "name" : "#056" }, { "drilldown" : "057", - "name" : "#057", - "y" : 82 + "y" : 82, + "name" : "#057" }, { - "y" : 71, "drilldown" : "058", + "y" : 71, "name" : "#058" }, { - "y" : 91, + "name" : "#059", "drilldown" : "059", - "name" : "#059" + "y" : 91 }, { - "drilldown" : "060", "name" : "#060", - "y" : 87 + "y" : 87, + "drilldown" : "060" }, { - "drilldown" : "061", "y" : 83, + "drilldown" : "061", "name" : "#061" }, { @@ -338,13 +329,13 @@ "name" : "#062" }, { - "drilldown" : "063", "name" : "#063", - "y" : 91 + "y" : 91, + "drilldown" : "063" }, { - "y" : 82, "drilldown" : "064", + "y" : 82, "name" : "#064" }, { @@ -354,28 +345,28 @@ }, { "drilldown" : "066", - "name" : "#066", - "y" : 86 + "y" : 86, + "name" : "#066" }, { + "name" : "#067", "y" : 92, - "drilldown" : "067", - "name" : "#067" + "drilldown" : "067" }, { - "drilldown" : "068", "y" : 77, + "drilldown" : "068", "name" : "#068" }, { "drilldown" : "069", - "name" : "#069", - "y" : 85 + "y" : 85, + "name" : "#069" }, { + "y" : 95, "drilldown" : "070", - "name" : "#070", - "y" : 95 + "name" : "#070" }, { "drilldown" : "071", @@ -388,9 +379,9 @@ "name" : "#072" }, { - "drilldown" : "073", "name" : "#073", - "y" : 112 + "y" : 112, + "drilldown" : "073" }, { "name" : "#074", @@ -398,9 +389,9 @@ "y" : 117 }, { - "drilldown" : "075", "name" : "#075", - "y" : 117 + "y" : 117, + "drilldown" : "075" }, { "y" : 101, @@ -408,9 +399,9 @@ "name" : "#076" }, { + "name" : "#077", "y" : 100, - "drilldown" : "077", - "name" : "#077" + "drilldown" : "077" }, { "y" : 127, @@ -418,43 +409,43 @@ "name" : "#078" }, { + "name" : "#079", "drilldown" : "079", - "y" : 122, - "name" : "#079" + "y" : 122 }, { + "y" : 127, "drilldown" : "080", - "name" : "#080", - "y" : 127 + "name" : "#080" }, { - "name" : "#081", "drilldown" : "081", - "y" : 114 + "y" : 114, + "name" : "#081" }, { - "drilldown" : "082", "y" : 114, + "drilldown" : "082", "name" : "#082" }, { - "drilldown" : "083", "y" : 127, + "drilldown" : "083", "name" : "#083" }, { "name" : "#084", - "drilldown" : "084", - "y" : 119 + "y" : 119, + "drilldown" : "084" }, { + "y" : 114, "drilldown" : "085", - "name" : "#085", - "y" : 114 + "name" : "#085" }, { - "y" : 104, "drilldown" : "086", + "y" : 104, "name" : "#086" }, { @@ -463,19 +454,19 @@ "name" : "#087" }, { - "drilldown" : "088", "name" : "#088", + "drilldown" : "088", "y" : 121 }, { "drilldown" : "089", - "name" : "#089", - "y" : 113 + "y" : 113, + "name" : "#089" }, { + "name" : "#090", "y" : 113, - "drilldown" : "090", - "name" : "#090" + "drilldown" : "090" }, { "y" : 108, @@ -483,63 +474,63 @@ "name" : "#091" }, { - "drilldown" : "092", "name" : "#092", - "y" : 98 + "y" : 98, + "drilldown" : "092" }, { "drilldown" : "093", - "name" : "#093", - "y" : 87 + "y" : 87, + "name" : "#093" }, { - "y" : 87, + "name" : "#094", "drilldown" : "094", - "name" : "#094" + "y" : 87 }, { - "name" : "#095", "drilldown" : "095", - "y" : 108 + "y" : 108, + "name" : "#095" }, { - "name" : "#096", + "y" : 108, "drilldown" : "096", - "y" : 108 + "name" : "#096" }, { - "drilldown" : "097", "y" : 111, + "drilldown" : "097", "name" : "#097" }, { + "y" : 108, "drilldown" : "098", - "name" : "#098", - "y" : 108 + "name" : "#098" }, { - "drilldown" : "099", + "name" : "#099", "y" : 97, - "name" : "#099" + "drilldown" : "099" }, { + "name" : "#100", "drilldown" : "100", - "y" : 120, - "name" : "#100" + "y" : 120 }, { "name" : "#101", - "drilldown" : "101", - "y" : 83 + "y" : 83, + "drilldown" : "101" }, { - "name" : "#102", "drilldown" : "102", - "y" : 90 + "y" : 90, + "name" : "#102" }, { - "drilldown" : "103", "y" : 79, + "drilldown" : "103", "name" : "#103" }, { @@ -553,39 +544,39 @@ "y" : 75 }, { - "y" : 97, + "name" : "#106", "drilldown" : "106", - "name" : "#106" + "y" : 97 }, { - "drilldown" : "107", "name" : "#107", - "y" : 90 + "y" : 90, + "drilldown" : "107" }, { "drilldown" : "108", - "name" : "#108", - "y" : 94 + "y" : 94, + "name" : "#108" }, { - "y" : 107, + "name" : "#109", "drilldown" : "109", - "name" : "#109" + "y" : 107 }, { - "name" : "#110", + "y" : 108, "drilldown" : "110", - "y" : 108 + "name" : "#110" }, { + "name" : "#111", "drilldown" : "111", - "y" : 91, - "name" : "#111" + "y" : 91 }, { - "drilldown" : "112", + "name" : "#112", "y" : 92, - "name" : "#112" + "drilldown" : "112" }, { "y" : 92, @@ -593,18 +584,18 @@ "name" : "#113" }, { - "y" : 108, "drilldown" : "114", + "y" : 108, "name" : "#114" }, { - "drilldown" : "115", "y" : 96, + "drilldown" : "115", "name" : "#115" }, { - "y" : 95, "drilldown" : "116", + "y" : 95, "name" : "#116" }, { @@ -613,43 +604,43 @@ "y" : 97 }, { - "drilldown" : "118", + "name" : "#118", "y" : 83, - "name" : "#118" + "drilldown" : "118" }, { "name" : "#119", - "drilldown" : "119", - "y" : 125 + "y" : 125, + "drilldown" : "119" }, { - "drilldown" : "120", "name" : "#120", + "drilldown" : "120", "y" : 116 }, { "drilldown" : "121", - "name" : "#121", - "y" : 92 + "y" : 92, + "name" : "#121" }, { - "y" : 110, "drilldown" : "122", + "y" : 110, "name" : "#122" }, { - "y" : 105, + "name" : "#123", "drilldown" : "123", - "name" : "#123" + "y" : 105 }, { - "drilldown" : "124", "name" : "#124", - "y" : 85 + "y" : 85, + "drilldown" : "124" }, { - "drilldown" : "125", "y" : 63, + "drilldown" : "125", "name" : "#125" }, { @@ -658,59 +649,59 @@ "name" : "#126" }, { - "drilldown" : "127", "name" : "#127", - "y" : 110 + "y" : 110, + "drilldown" : "127" }, { - "y" : 71, + "name" : "#128", "drilldown" : "128", - "name" : "#128" + "y" : 71 }, { - "name" : "#129", "drilldown" : "129", - "y" : 50 + "y" : 50, + "name" : "#129" }, { - "drilldown" : "130", "name" : "#130", + "drilldown" : "130", "y" : 73 }, { + "name" : "#131", "y" : 91, - "drilldown" : "131", - "name" : "#131" + "drilldown" : "131" }, { - "drilldown" : "132", + "name" : "#132", "y" : 78, - "name" : "#132" + "drilldown" : "132" }, { "drilldown" : "133", - "name" : "#133", - "y" : 95 + "y" : 95, + "name" : "#133" }, { + "y" : 94, "drilldown" : "134", - "name" : "#134", - "y" : 94 + "name" : "#134" }, { + "name" : "#135", "drilldown" : "135", - "y" : 104, - "name" : "#135" + "y" : 104 }, { + "name" : "#136", "drilldown" : "136", - "y" : 95, - "name" : "#136" + "y" : 95 }, { + "y" : 100, "drilldown" : "137", - "name" : "#137", - "y" : 100 + "name" : "#137" }, { "name" : "#138", @@ -718,9 +709,9 @@ "y" : 102 }, { - "drilldown" : "139", "name" : "#139", - "y" : 97 + "y" : 97, + "drilldown" : "139" }, { "y" : 103, @@ -743,38 +734,38 @@ "name" : "#143" }, { + "y" : 85, "drilldown" : "144", - "name" : "#144", - "y" : 85 + "name" : "#144" }, { - "name" : "#145", "drilldown" : "145", - "y" : 93 + "y" : 93, + "name" : "#145" }, { - "drilldown" : "146", + "name" : "#146", "y" : 105, - "name" : "#146" + "drilldown" : "146" }, { - "drilldown" : "147", "y" : 106, + "drilldown" : "147", "name" : "#147" }, { "name" : "#148", - "drilldown" : "148", - "y" : 92 + "y" : 92, + "drilldown" : "148" }, { - "drilldown" : "149", "name" : "#149", - "y" : 88 + "y" : 88, + "drilldown" : "149" }, { - "y" : 106, "drilldown" : "150", + "y" : 106, "name" : "#150" }, { @@ -784,12 +775,12 @@ }, { "drilldown" : "152", - "name" : "#152", - "y" : 80 + "y" : 80, + "name" : "#152" }, { - "drilldown" : "153", "name" : "#153", + "drilldown" : "153", "y" : 97 }, { @@ -803,64 +794,64 @@ "name" : "#155" }, { + "y" : 96, "drilldown" : "156", - "name" : "#156", - "y" : 96 + "name" : "#156" }, { - "drilldown" : "157", "name" : "#157", + "drilldown" : "157", "y" : 95 }, { - "y" : 105, "drilldown" : "158", + "y" : 105, "name" : "#158" }, { - "name" : "#159", "drilldown" : "159", - "y" : 92 + "y" : 92, + "name" : "#159" }, { - "name" : "#160", + "y" : 119, "drilldown" : "160", - "y" : 119 + "name" : "#160" }, { - "drilldown" : "161", + "name" : "#161", "y" : 100, - "name" : "#161" + "drilldown" : "161" }, { + "y" : 92, "drilldown" : "162", - "name" : "#162", - "y" : 92 + "name" : "#162" }, { - "drilldown" : "163", "y" : 114, + "drilldown" : "163", "name" : "#163" }, { + "name" : "#164", "drilldown" : "164", - "y" : 118, - "name" : "#164" + "y" : 118 }, { - "name" : "#165", + "y" : 76, "drilldown" : "165", - "y" : 76 + "name" : "#165" }, { - "name" : "#166", "drilldown" : "166", - "y" : 77 + "y" : 77, + "name" : "#166" }, { - "drilldown" : "167", + "name" : "#167", "y" : 73, - "name" : "#167" + "drilldown" : "167" }, { "drilldown" : "168", @@ -870,25 +861,33 @@ { "name" : "#169", "drilldown" : "169", - "y" : 97 + "y" : 99 } - ], - "colorByPoint" : "true" + ] } ], - "yAxis" : { - "title" : { - "text" : "Total Solutions" + "xAxis" : { + "type" : "category" + }, + "plotOptions" : { + "series" : { + "dataLabels" : { + "enabled" : 1, + "format" : "{point.y}" + }, + "borderWidth" : 0 } }, "tooltip" : { - "headerFormat" : "", "pointFormat" : "Challenge {point.name}: {point.y:f}
", + "headerFormat" : "", "followPointer" : "true" }, "drilldown" : { "series" : [ { + "name" : "001", + "id" : "001", "data" : [ [ "Perl", @@ -902,13 +901,10 @@ "Blog", 11 ] - ], - "name" : "001", - "id" : "001" + ] }, { "id" : "002", - "name" : "002", "data" : [ [ "Perl", @@ -922,10 +918,11 @@ "Blog", 10 ] - ] + ], + "name" : "002" }, { - "name" : "003", + "id" : "003", "data" : [ [ "Perl", @@ -940,9 +937,10 @@ 9 ] ], - "id" : "003" + "name" : "003" }, { + "id" : "004", "data" : [ [ "Perl", @@ -957,11 +955,9 @@ 10 ] ], - "name" : "004", - "id" : "004" + "name" : "004" }, { - "id" : "005", "data" : [ [ "Perl", @@ -976,6