diff options
| author | Mohammad S Anwar <mohammad.anwar@yahoo.com> | 2020-11-08 01:26:52 +0000 |
|---|---|---|
| committer | Mohammad S Anwar <mohammad.anwar@yahoo.com> | 2020-11-08 01:26:52 +0000 |
| commit | e79e878400bd45c53c310e0e08d6233a472f90d0 (patch) | |
| tree | ad88771c87e834bbe956ac767a73a24bbcb0bb04 | |
| parent | 850b36dc466f9249938e1ef6fefef477d1d4b672 (diff) | |
| download | perlweeklychallenge-club-e79e878400bd45c53c310e0e08d6233a472f90d0.tar.gz perlweeklychallenge-club-e79e878400bd45c53c310e0e08d6233a472f90d0.tar.bz2 perlweeklychallenge-club-e79e878400bd45c53c310e0e08d6233a472f90d0.zip | |
- Added solutions by Ulrich Rieke.
| -rw-r--r-- | challenge-085/ulrich-rieke/cpp/ch-2.cpp | 26 | ||||
| -rw-r--r-- | challenge-085/ulrich-rieke/haskell/ch-1.hs | 16 | ||||
| -rw-r--r-- | challenge-085/ulrich-rieke/haskell/ch-2.hs | 13 | ||||
| -rw-r--r-- | challenge-085/ulrich-rieke/perl/ch-1.pl | 31 | ||||
| -rw-r--r-- | challenge-085/ulrich-rieke/perl/ch-2.pl | 23 | ||||
| -rw-r--r-- | challenge-085/ulrich-rieke/raku/ch-1.raku | 25 | ||||
| -rw-r--r-- | challenge-085/ulrich-rieke/raku/ch-2.raku | 20 | ||||
| -rw-r--r-- | stats/pwc-current.json | 421 | ||||
| -rw-r--r-- | stats/pwc-language-breakdown-summary.json | 52 | ||||
| -rw-r--r-- | stats/pwc-language-breakdown.json | 574 | ||||
| -rw-r--r-- | stats/pwc-leaders.json | 388 | ||||
| -rw-r--r-- | stats/pwc-summary-1-30.json | 38 | ||||
| -rw-r--r-- | stats/pwc-summary-121-150.json | 52 | ||||
| -rw-r--r-- | stats/pwc-summary-151-180.json | 42 | ||||
| -rw-r--r-- | stats/pwc-summary-181-210.json | 108 | ||||
| -rw-r--r-- | stats/pwc-summary-31-60.json | 110 | ||||
| -rw-r--r-- | stats/pwc-summary-61-90.json | 48 | ||||
| -rw-r--r-- | stats/pwc-summary-91-120.json | 30 | ||||
| -rw-r--r-- | stats/pwc-summary.json | 444 |
19 files changed, 1317 insertions, 1144 deletions
diff --git a/challenge-085/ulrich-rieke/cpp/ch-2.cpp b/challenge-085/ulrich-rieke/cpp/ch-2.cpp new file mode 100644 index 0000000000..ed72f314bb --- /dev/null +++ b/challenge-085/ulrich-rieke/cpp/ch-2.cpp @@ -0,0 +1,26 @@ +#include <iostream> +#include <cmath> +#include <cstdlib> + +int main( int argc, char * argv[] ) { + int n = std::atoi( argv[ 1 ] ) ; + int powerlimit = 0 ; + //the limit is the square root of n. We cycle through all numbers from 2 to + //the square root and finish cycling as soon as we find 2 integers that + //form n ; the functions from cmath require some type juggling + int lowerlimit = static_cast<int>( sqrt( static_cast<double>( n ) ) ) ; + for ( int i = 2 ; i < lowerlimit + 1 ; i++ ) { + double expo = 2.0 ; + int power = static_cast<int>(std::pow( static_cast<double>( i ) , expo )) ; + while ( power < n ) { + expo += 1.0 ; + power = static_cast<int>(std::pow( static_cast<double>( i ) , expo )) ; + } + if ( power == n ) { + powerlimit = 1 ; + break ; + } + } + std::cout << powerlimit << std::endl ; + return 0 ; +} diff --git a/challenge-085/ulrich-rieke/haskell/ch-1.hs b/challenge-085/ulrich-rieke/haskell/ch-1.hs new file mode 100644 index 0000000000..14db074eca --- /dev/null +++ b/challenge-085/ulrich-rieke/haskell/ch-1.hs @@ -0,0 +1,16 @@ +module Challenge085 + where +import Data.List ( subsequences ) + +--the basic idea : find all combinations of three, sum up each of them and +--check whether the sum is in the desired interval +solution :: [Double] -> Int +solution list = if null speciallist then 0 else 1 +where + myCondition :: Double -> Bool + myCondition d + |d > 1.0 && d < 2.0 = True + |otherwise = False + speciallist :: [Double] + speciallist = filter myCondition $ map sum $ filter ( (3 == ) . length) + $ subsequences list diff --git a/challenge-085/ulrich-rieke/haskell/ch-2.hs b/challenge-085/ulrich-rieke/haskell/ch-2.hs new file mode 100644 index 0000000000..230585ac28 --- /dev/null +++ b/challenge-085/ulrich-rieke/haskell/ch-2.hs @@ -0,0 +1,13 @@ +module Challenge085_2 + where +import Control.Applicative + +solution :: Integer -> Integer +solution n = if elem n powerlist then 1 else 0 + where + lowerlimit :: Integer + lowerlimit = toInteger $ floor $ sqrt $ fromIntegral n + upperlimit :: Integer + upperlimit = lowerlimit + 1 + powerlist :: [Integer] + powerlist = (^) <$> [2..lowerlimit] <*> [2..upperlimit] diff --git a/challenge-085/ulrich-rieke/perl/ch-1.pl b/challenge-085/ulrich-rieke/perl/ch-1.pl new file mode 100644 index 0000000000..c43fa7b9c8 --- /dev/null +++ b/challenge-085/ulrich-rieke/perl/ch-1.pl @@ -0,0 +1,31 @@ +#!/usr/bin/perl ; +use strict ; +use warnings ; +use feature 'say' ; +use Algorithm::Combinatorics qw( combinations ) ; +use List::Util qw( sum ) ; + +sub enterArray { + my @numbers ; + say "Enter at least 3 non-negative real numbers ( -1 to end )!" ; + my $num = <STDIN> ; + chomp $num ; + while ( $num != -1 ) { + push @numbers , $num ; + $num = <STDIN> ; + chomp $num ; + } + return @numbers ; +} + +my @array = enterArray( ) ; +my $triplets = 0 ; +my $iter = combinations( \@array , 3 ) ; +while ( my $p = $iter->next ) { + my $sum = sum @$p ; + if ( $sum > 1 and $sum < 2 ) { + $triplets = 1 ; + last ; + } +} +say $triplets ; diff --git a/challenge-085/ulrich-rieke/perl/ch-2.pl b/challenge-085/ulrich-rieke/perl/ch-2.pl new file mode 100644 index 0000000000..0b93dedfec --- /dev/null +++ b/challenge-085/ulrich-rieke/perl/ch-2.pl @@ -0,0 +1,23 @@ +#!/usr/bin/perl ; +use strict ; +use warnings ; +use feature 'say' ; + +#the basic idea is : the integers must be between 2 and the square root of n +#so we cycle through that range +my $N = $ARGV[0] ; +my $powerlimit = 0 ; +my $upperlimit = int( sqrt( $N ) ) ; +for my $i (2..$upperlimit) { + my $exponent = 2 ; + my $power = $i ** $exponent ; + while ( $power < $N ) { + $exponent++ ; + $power = $i ** $exponent ; + } + if ( $power == $N ) { #yes , $N can be expressed as the power of 2 integers + $powerlimit = 1 ; + last ; + } +} +say $powerlimit ; diff --git a/challenge-085/ulrich-rieke/raku/ch-1.raku b/challenge-085/ulrich-rieke/raku/ch-1.raku new file mode 100644 index 0000000000..a07004e3c0 --- /dev/null +++ b/challenge-085/ulrich-rieke/raku/ch-1.raku @@ -0,0 +1,25 @@ +use v6 ; + +#for the sake of this task I do not do a particular amount of data entry +#checking + +sub enterArray( ) { + my @numbers ; + say "enter a minimum of 3 positive real numbers ( -1 to end )!" ; + my $num = $*IN.get ; + while ( $num != -1 ) { + @numbers.push( $num ) ; + $num = $*IN.get ; + } + return @numbers ; +} + +my @array = enterArray( ) ; +my @combis = @array.combinations( 3 ) ; +my @sums = @combis.map( {[+] $_ } ) ; +if ( @sums.grep( { 1 < $_ < 2 }).elems > 0 ) { + say 1 ; +} +else { + say 0 ; +} diff --git a/challenge-085/ulrich-rieke/raku/ch-2.raku b/challenge-085/ulrich-rieke/raku/ch-2.raku new file mode 100644 index 0000000000..014cd02d20 --- /dev/null +++ b/challenge-085/ulrich-rieke/raku/ch-2.raku @@ -0,0 +1,20 @@ +use v6 ; +sub MAIN( Int $N ) { +#the integer can't be greater than the square root + my $upperLimit = floor( sqrt( $N ) ) ; + my $powerCombis = 0 ; + for (2 .. $upperLimit) -> $i { + my $exponent = 2 ; + my $power = $i ** $exponent ; + while ( $power < $N ) { + $exponent++ ; + $power = $i ** $exponent ; + } +#if the power is equal $N we have a solution, otherwise not + if ( $power == $N ) { + $powerCombis = 1 ; + last ; + } + } + say $powerCombis ; +} diff --git a/stats/pwc-current.json b/stats/pwc-current.json index d1c1794034..7fa64a2556 100644 --- a/stats/pwc-current.json +++ b/stats/pwc-current.json @@ -1,158 +1,29 @@ { + "xAxis" : { + "type" : "category" + }, "chart" : { "type" : "column" }, - "series" : [ - { - "data" : [ - { - "name" : "Abigail", - "y" : 2, - "drilldown" : "Abigail" - }, - { - "y" : 3, - "drilldown" : "Andrew Shitov", - "name" : "Andrew Shitov" - }, - { - "y" : 5, - "drilldown" : "Arne Sommer", - "name" : "Arne Sommer" - }, - { - "name" : "Cheok-Yin Fung", - "y" : 1, - "drilldown" : "Cheok-Yin Fung" - }, - { - "name" : "E. Choroba", - "drilldown" : "E. Choroba", - "y" : 2 - }, - { - "y" : 2, - "drilldown" : "Feng Chang", - "name" : "Feng Chang" - }, - { - "y" : 4, - "drilldown" : "Flavio Poletti", - "name" : "Flavio Poletti" - }, - { - "y" : 2, - "drilldown" : "James Smith", - "name" : "James Smith" - }, - { - "name" : "Jan Krnavek", - "drilldown" : "Jan Krnavek", - "y" : 2 - }, - { - "y" : 2, - "drilldown" : "Jorg Sommrey", - "name" : "Jorg Sommrey" - }, - { - "name" : "Julio de Castro", - "drilldown" : "Julio de Castro", - "y" : 4 - }, - { - "drilldown" : "Kang-min Liu", - "y" : 2, - "name" : "Kang-min Liu" - }, - { - "y" : 2, - "drilldown" : "Lars Thegler", - "name" : "Lars Thegler" - }, - { - "name" : "Lubos Kolouch", - "y" : 2, - "drilldown" : "Lubos Kolouch" - }, - { - "drilldown" : "Mark Anderson", - "y" : 2, - "name" : "Mark Anderson" - }, - { - "drilldown" : "Myoungjin Jeon", - "y" : 6, - "name" : "Myoungjin Jeon" - }, - { - "name" : "Niels van Dijke", - "y" : 2, - "drilldown" : "Niels van Dijke" - }, - { - "y" : 2, - "drilldown" : "Nuno Vieira", - "name" : "Nuno Vieira" - }, - { - "drilldown" : "Roger Bell_West", - "y" : 5, - "name" : "Roger Bell_West" - }, - { - "drilldown" : "Samir Parikh", - "y" : 3, - "name" : "Samir Parikh" - }, - { - "drilldown" : "Shawn Wagner", - "y" : 2, - "name" : "Shawn Wagner" - }, - { - "name" : "Simon Green", - "drilldown" : "Simon Green", - "y" : 3 - }, - { - "y" : 2, - "drilldown" : "Simon Proctor", - "name" : "Simon Proctor" - }, - { - "y" : 2, - "drilldown" : "Steve Rogerson", - "name" : "Steve Rogerson" - }, - { - "name" : "Stuart Little", - "drilldown" : "Stuart Little", - "y" : 2 - }, - { - "drilldown" : "Walt Mankowski", - "y" : 2, - "name" : "Walt Mankowski" - } - ], - "name" : "Perl Weekly Challenge - 085", - "colorByPoint" : 1 + "yAxis" : { + "title" : { + "text" : "Total Solutions" } - ], + }, "drilldown" : { "series" : [ { "id" : "Abigail", - "name" : "Abigail", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "Abigail" }, { + "id" : "Andrew Shitov", "data" : [ [ "Raku", @@ -163,10 +34,10 @@ 1 ] ], - "name" : "Andrew Shitov", - "id" : "Andrew Shitov" + "name" : "Andrew Shitov" }, { + "name" : "Arne Sommer", "data" : [ [ "Perl", @@ -181,12 +52,11 @@ 1 ] ], - "name" : "Arne Sommer", "id" : "Arne Sommer" }, { - "id" : "Cheok-Yin Fung", "name" : "Cheok-Yin Fung", + "id" : "Cheok-Yin Fung", "data" : [ [ "Perl", @@ -195,8 +65,8 @@ ] }, { - "id" : "E. Choroba", "name" : "E. Choroba", + "id" : "E. Choroba", "data" : [ [ "Perl", @@ -225,40 +95,41 @@ 2 ] ], - "name" : "Flavio Poletti", - "id" : "Flavio Poletti" + "id" : "Flavio Poletti", + "name" : "Flavio Poletti" }, { - "name" : "James Smith", "data" : [ [ "Perl", 2 ] ], - "id" : "James Smith" + "id" : "James Smith", + "name" : "James Smith" }, { "name" : "Jan Krnavek", + "id" : "Jan Krnavek", "data" : [ [ "Raku", 2 ] - ], - "id" : "Jan Krnavek" + ] }, { - "id" : "Jorg Sommrey", "name" : "Jorg Sommrey", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "Jorg Sommrey" }, { + "name" : "Julio de Castro", "id" : "Julio de Castro", "data" : [ [ @@ -269,50 +140,51 @@ "Raku", 2 ] - ], - "name" : "Julio de Castro" + ] }, { - "id" : "Kang-min Liu", "name" : "Kang-min Liu", "data" : [ [ "Raku", 2 ] - ] + ], + "id" : "Kang-min Liu" }, { - "id" : "Lars Thegler", "name" : "Lars Thegler", "data" : [ [ "Perl", 2 ] - ] + ], + "id" : "Lars Thegler" }, { + "name" : "Lubos Kolouch", + "id" : "Lubos Kolouch", "data" : [ [ "Perl", 2 ] - ], - "name" : "Lubos Kolouch", - "id" : "Lubos Kolouch" + ] }, { - "id" : "Mark Anderson", + "name" : "Mark Anderson", "data" : [ [ "Raku", 2 ] ], - "name" : "Mark Anderson" + "id" : "Mark Anderson" }, { + "name" : "Myoungjin Jeon", + "id" : "Myoungjin Jeon", "data" : [ [ "Perl", @@ -326,33 +198,30 @@ "Blog", 2 ] - ], - "name" : "Myoungjin Jeon", - "id" : "Myoungjin Jeon" + ] }, { - "name" : "Niels van Dijke", + "id" : "Niels van Dijke", "data" : [ [ "Perl", 2 ] ], - "id" : "Niels van Dijke" + "name" : "Niels van Dijke" }, { "id" : "Nuno Vieira", - "name" : "Nuno Vieira", "data" : [ [ "Perl", 2 ] - ] + ], + "name" : "Nuno Vieira" }, { "id" : "Roger Bell_West", - "name" : "Roger Bell_West", "data" : [ [ "Perl", @@ -366,11 +235,11 @@ "Blog", 1 ] - ] + ], + "name" : "Roger Bell_West" }, { "id" : "Samir Parikh", - "name" : "Samir Parikh", "data" : [ [ "Perl", @@ -380,11 +249,12 @@ "Blog", 1 ] - ] + ], + "name" : "Samir Parikh" }, { - "id" : "Shawn Wagner", "name" : "Shawn Wagner", + "id" : "Shawn Wagner", "data" : [ [ "Perl", @@ -393,7 +263,7 @@ ] }, { - "name" : "Simon Green", + "id" : "Simon Green", "data" : [ [ "Perl", @@ -404,79 +274,228 @@ 1 ] ], - "id" : "Simon Green" + "name" : "Simon Green" }, { - "id" : "Simon Proctor", "name" : "Simon Proctor", "data" : [ [ "Raku", 2 ] - ] + ], + "id" : "Simon Proctor" }, { "name" : "Steve Rogerson", + "id" : "Steve Rogerson", "data" : [ [ "Perl", 2 ] - ], - "id" : "Steve Rogerson" + ] }, { - "id" : "Stuart Little", "data" : [ [ "Raku", 2 ] ], + "id" : "Stuart Little", "name" : "Stuart Little" }, { - "name" : "Walt Mankowski", + "id" : "Ulrich Rieke", "data" : [ [ "Perl", 2 + ], + [ + "Raku", + 2 ] ], - "id" : "Walt Mankowski" + "name" : "Ulrich Rieke" + }, + { + "data" : [ + [ + "Perl", + 2 + ] + ], + "id" : "Walt Mankowski", + "name" : "Walt Mankowski" } ] }, - "legend" : { - "enabled" : 0 - }, + "series" : [ + { + "data" : [ + { + "y" : 2, + "drilldown" : "Abigail", + "name" : "Abigail" + }, + { + "drilldown" : "Andrew Shitov", + "y" : 3, + "name" : "Andrew Shitov" + }, + { + "name" : "Arne Sommer", + "y" : 5, + "drilldown" : "Arne Sommer" + }, + { + "name" : "Cheok-Yin Fung", + "y" : 1, + "drilldown" : "Cheok-Yin Fung" + }, + { + "y" : 2, + "drilldown" : "E. Choroba", + "name" : "E. Choroba" + }, + { + "name" : "Feng Chang", + "y" : 2, + "drilldown" : "Feng Chang" + }, + { + "drilldown" : "Flavio Poletti", + "y" : 4, + "name" : "Flavio Poletti" + }, + { + "name" : "James Smith", + "y" : 2, + "drilldown" : "James Smith" + }, + { + "drilldown" : "Jan Krnavek", + "y" : 2, + "name" : "Jan Krnavek" + }, + { + "drilldown" : "Jorg Sommrey", + "y" : 2, + "name" : "Jorg Sommrey" + }, + { + "name" : "Julio de Castro", + "drilldown" : "Julio de Castro", + "y" : 4 + }, + { + "name" : "Kang-min Liu", + "y" : 2, + "drilldown" : "Kang-min Liu" + }, + { + "y" : 2, + "drilldown" : "Lars Thegler", + "name" : "Lars Thegler" + }, + { + "y" : 2, + "drilldown" : "Lubos Kolouch", + "name" : "Lubos Kolouch" + }, + { + "name" : "Mark Anderson", + "drilldown" : "Mark Anderson", + "y" : 2 + }, + { + "name" : "Myoungjin Jeon", + "drilldown" : "Myoungjin Jeon", + "y" : 6 + }, + { + "y" : 2, + "drilldown" : "Niels van Dijke", + "name" : "Niels van Dijke" + }, + { + "y" : 2, + "drilldown" : "Nuno Vieira", + "name" : "Nuno Vieira" + }, + { + "drilldown" : "Roger Bell_West", + "y" : 5, + "name" : "Roger Bell_West" + }, + { + "name" : "Samir Parikh", + "y" : 3, + "drilldown" : "Samir Parikh" + }, + { + "name" : "Shawn Wagner", + "drilldown" : "Shawn Wagner", + "y" : 2 + }, + { + "y" : 3, + "drilldown" : "Simon Green", + "name" : "Simon Green" + }, + { + "name" : "Simon Proctor", + "drilldown" : "Simon Proctor", + "y" : 2 + }, + { + "name" : "Steve Rogerson", + "drilldown" : "Steve Rogerson", + "y" : 2 + }, + { + "name" : "Stuart Little", + "drilldown" : "Stuart Little", + "y" : 2 + }, + { + "drilldown" : "Ulrich Rieke", + "y" : 4, + "name" : "Ulrich Rieke" + }, + { + "drilldown" : "Walt Mankowski", + "y" : 2, + "name" : "Walt Mankowski" + } + ], + "colorByPoint" : 1, + "name" : "Perl Weekly Challenge - 085" + } + ], "subtitle" : { - "text" : "[Champions: 26] Last updated at 2020-11-08 01:08:18 GMT" + "text" : "[Champions: 27] Last updated at 2020-11-08 01:26:17 GMT" }, "title" : { "text" : "Perl Weekly Challenge - 085" }, - "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/>" + "legend" : { + "enabled" : 0 }, "plotOptions" : { "series" : { "borderWidth" : 0, "dataLabels" : { - "enabled" : 1, - "format" : "{point.y}" + "format" : "{point.y}", + "enabled" : 1 } } }, - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } - }, - "xAxis" : { - "type" : "category" + "tooltip" : { + "headerFormat" : "<span style='font-size:11px'>{series.name}</span><br/>", + "followPointer" : 1, + "pointFormat" : "<span style='color:{point.color}'>{point.name}</span>: <b>{point.y:f}</b><br/>" } } diff --git a/stats/pwc-language-breakdown-summary.json b/stats/pwc-language-breakdown-summary.json index 827d9b1f2a..03c92188ed 100644 --- a/stats/pwc-language-breakdown-summary.json +++ b/stats/pwc-language-breakdown-summary.json @@ -2,30 +2,35 @@ "title" : { "text" : "Perl Weekly Challenge Contributions [2019 - 2020]" }, - "chart" : { - "type" : "column" - }, - "subtitle" : { - "text" : "Last updated at 2020-11-08 01:08:18 GMT" + "tooltip" : { + "pointFormat" : "<b>{point.y:.0f}</b>" }, "legend" : { "enabled" : "false" }, + "xAxis" : { + "type" : "category", + "labels" : { + "style" : { + "fontFamily" : "Verdana, sans-serif", + "fontSize" : "13px" + } + } + }, "series" : [ { "dataLabels" : { - "y" : 10, - "enabled" : "true", + "color" : "#FFFFFF", "style" : { - "fontSize" : "13px", - "fontFamily" : "Verdana, sans-serif" + "fontFamily" : "Verdana, sans-serif", + "fontSize" : "13px" }, "align" : "right", - "color" : "#FFFFFF", + "enabled" : "true", + "y" : 10, "format" : "{point.y:.0f}", "rotation" : -90 }, - "name" : "Contributions", "data" : [ [ "Blog", @@ -33,31 +38,26 @@ ], [ "Perl", - 3764 + 3766 ], [ "Raku", - 2416 + 2418 ] - ] + ], + "name" : "Contributions" } ], + "subtitle" : { + "text" : "Last updated at 2020-11-08 01:26:17 GMT" + }, + "chart" : { + "type" : "column" + }, "yAxis" : { "min" : 0, "title" : { "text" : null } - }, - "xAxis" : { - "labels" : { - "style" : { - "fontFamily" : "Verdana, sans-serif", - "fontSize" : "13px" - } - }, - "type" : "category" - }, - "tooltip" : { - "pointFormat" : "<b>{point.y:.0f}</b>" } } diff --git a/stats/pwc-language-breakdown.json b/stats/pwc-language-breakdown.json index f4a0bacf71..1f16fe8dfa 100644 --- a/stats/pwc-language-breakdown.json +++ b/stats/pwc-language-breakdown.json @@ -1,17 +1,4 @@ { - "yAxis" : { - "title" : { - "text" : "Total Solutions" - } - }, - "xAxis" : { - "type" : "category" - }, - "tooltip" : { - "followPointer" : "true", - "pointFormat" : "<span style=\"color:{point.color}\">Challenge {point.name}</span>: <b>{point.y:f}</b><br/>", - "headerFormat" : "<span style=\"font-size:11px\"></span>" - }, "plotOptions" : { "series" : { "borderWidth" : 0, @@ -21,15 +8,29 @@ } } }, + "tooltip" : { + "headerFormat" : "<span style=\"font-size:11px\"></span>", + "followPointer" : "true", + "pointFormat" : "<span style=\"color:{point.color}\">Challenge {point.name}</span>: <b>{point.y:f}</b><br/>" + }, + "legend" : { + "enabled" : "false" + }, "title" : { "text" : "Perl Weekly Challenge Language" }, + "yAxis" : { + "title" : { + "text" : "Total Solutions" + } + }, "chart" : { "type" : "column" }, "drilldown" : { "series" : [ { + "name" : "001", "data" : [ [ "Perl", @@ -44,12 +45,10 @@ 11 ] ], - "name" : "001", "id" : "001" }, { "id" : "002", - "name" : "002", "data" : [ [ "Perl", @@ -63,10 +62,11 @@ "Blog", 10 ] - ] + ], + "name" : "002" }, { - "id" : "003", |
