From 82d56a626e16b0a7dceeba973b3c69e14031d7f9 Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Mon, 10 Aug 2020 02:54:48 +0100 Subject: - Added template for Challenge #073. --- challenge-073/3ter/README | 1 + challenge-073/aaron-rowe/README | 1 + challenge-073/aaron-sherman/README | 1 + challenge-073/abigail/README | 1 + challenge-073/adam-russell/README | 1 + challenge-073/ailbhe-tweedie/README | 1 + challenge-073/alex-daniel/README | 1 + challenge-073/alexander-karelas/README | 1 + challenge-073/alicia-bielsa/README | 1 + challenge-073/andrezgz/README | 1 + challenge-073/anton-fedotov/README | 1 + challenge-073/antonio-gamiz/README | 1 + challenge-073/arne-sommer/README | 1 + challenge-073/arpad-toth/README | 1 + challenge-073/ash/README | 1 + challenge-073/athanasius/README | 1 + challenge-073/aubrey-quarcoo/README | 1 + challenge-073/ben-davies/README.md | 1 + challenge-073/bill-palmer/README | 1 + challenge-073/bob-kleemann/README | 1 + challenge-073/bob-lied/README | 65 +++++++++++ challenge-073/brtastic/README | 1 + challenge-073/bruno-ramos/README | 1 + challenge-073/burkhard-nickels/README | 1 + challenge-073/bwva/README | 1 + challenge-073/cheok-yin-fung/README | 1 + challenge-073/cliveholloway/README | 1 + challenge-073/colin-crain/README | 1 + challenge-073/craig/README | 1 + challenge-073/creewick/README | 1 + challenge-073/cristian-heredia/README | 1 + challenge-073/daniel-mantovani/README | 1 + challenge-073/daniel-mita/README | 1 + challenge-073/darren-bottin/README | 1 + challenge-073/dave-cross/README | 1 + challenge-073/dave-jacoby/README | 1 + challenge-073/david-kayal/README | 1 + challenge-073/denis-yurashku/README | 1 + challenge-073/donald-hunter/README | 1 + challenge-073/doug-schrag/README | 1 + challenge-073/dracos/README | 1 + challenge-073/duane-powell/README | 1 + challenge-073/duncan-c-white/README | 58 +++++++++ challenge-073/e-choroba/README | 1 + challenge-073/eddy-hs/README | 1 + challenge-073/fabrizio-poggi/README | 1 + challenge-073/feng-chang/README | 1 + challenge-073/finanalyst/README | 1 + challenge-073/finley/README | 1 + challenge-073/fjwhittle/README | 1 + challenge-073/fred-zinn/README | 1 + challenge-073/freddie-b/README | 1 + challenge-073/giuseppe-terlizzi/README | 1 + challenge-073/guillermo-ramos/README | 1 + challenge-073/gustavo-chaves/README | 1 + challenge-073/hauke-d/README | 1 + challenge-073/ianrifkin/README | 1 + challenge-073/izifresh/README | 1 + challenge-073/jacques-guinnebault/README | 1 + challenge-073/jaime/README | 59 ++++++++++ challenge-073/jaldhar-h-vyas/README | 1 + challenge-073/james-smith/README.md | 129 +++++++++++++++++++++ challenge-073/jaredor/README | 1 + challenge-073/jason-messer/README | 3 + challenge-073/javier-luque/README | 1 + challenge-073/jeff/README | 1 + challenge-073/jeongoon/README | 1 + challenge-073/jeremy-carman/README | 1 + challenge-073/jim-bacon/README | 1 + challenge-073/jitu-keshwani/README | 1 + challenge-073/jj-merelo/README | 1 + challenge-073/jo-37/README | 1 + challenge-073/jo-christian-oterhals/README | 1 + challenge-073/joe-tym/README | 1 + challenge-073/joelle-maslak/README | 1 + challenge-073/john-barrett/README | 1 + challenge-073/jokraft/README | 1 + challenge-073/juan-caballero/README | 1 + challenge-073/julien-fiegehenn/README | 1 + challenge-073/kevin-colyer/README | 3 + challenge-073/khalid/README | 1 + challenge-073/kian-meng-ang/README | 1 + challenge-073/kiran-kumar/README | 1 + challenge-073/kivanc-yazan/.gitignore | 2 + challenge-073/kivanc-yazan/README | 1 + challenge-073/lance-wicks/README | 1 + challenge-073/lars-balker/README | 1 + challenge-073/lars-thegler/README | 1 + challenge-073/laurent-rosenfeld/README | 1 + challenge-073/leoltron/README | 1 + challenge-073/lubos-kolouch/README | 1 + challenge-073/luca-ferrari/README | 1 + challenge-073/magnus-woldrich/README | 1 + challenge-073/manfredi/README | 1 + challenge-073/mano-chandar/README | 1 + challenge-073/mark-anderson/README | 1 + challenge-073/mark-senn/README | 1 + challenge-073/markus-holzer/README | 1 + challenge-073/martin-barth/README | 1 + challenge-073/martin-mugeni/README | 1 + challenge-073/matt-latusek/README | 1 + challenge-073/matthew-persico/README | 1 + challenge-073/maxim-kolodyazhny/README | 1 + challenge-073/maxim-nechaev/README | 1 + challenge-073/michael-hamlin/README | 5 + challenge-073/michael-schaap/README | 1 + challenge-073/mike-accardo/README | 1 + challenge-073/mohammad-anwar/README | 1 + challenge-073/ndelucca/README | 1 + challenge-073/neil-bowers/README | 1 + challenge-073/nick-logan/README | 1 + challenge-073/nikhil-prasanna/README | 1 + challenge-073/noud/README | 1 + challenge-073/ohmycloud/README | 1 + challenge-073/oleksii-tsvietnov/README | 1 + challenge-073/olli-antti/README | 1 + challenge-073/orestis-zekai/README | 1 + challenge-073/ozzy/README | 1 + challenge-073/pavel-jurca/README | 1 + challenge-073/pavel-starikov/README | 1 + challenge-073/perlboy1967/README | 1 + challenge-073/pete-houston/README | 1 + challenge-073/pete-sergeant/README | 1 + challenge-073/peter-meszaros/README | 1 + challenge-073/peter-scott/README | 1 + challenge-073/petr-roubicek/README | 1 + challenge-073/philippe-bruhat/README | 1 + challenge-073/phillip-harris/README | 1 + challenge-073/plis-acm/.gitignore | 1 + challenge-073/plis-acm/README | 1 + challenge-073/prajith-p/README | 1 + challenge-073/rage311/README | 1 + challenge-073/randy-lauen/README | 1 + challenge-073/richard-park/README | 1 + challenge-073/rnuttall/README | 1 + challenge-073/rob-van-dam/README | 1 + challenge-073/rob4t/README | 1 + challenge-073/roger-bell-west/README | 1 + challenge-073/ruben-westerberg/README | 9 ++ challenge-073/ryan-thompson/README.md | 19 +++ challenge-073/saiftynet/README | 1 + challenge-073/sangeet-kar/README | 1 + challenge-073/sean-meininger/README | 1 + challenge-073/sergiotarxz/README | 1 + challenge-073/sgreen/README.md | 39 +++++++ challenge-073/shahed-nooshmand/README | 1 + challenge-073/shardiwal/README | 1 + challenge-073/shaun-pearce/README | 1 + challenge-073/shawak/README.md | 1 + challenge-073/simon-miner/README | 1 + challenge-073/simon-proctor/README | 1 + challenge-073/simon-reinhardt/README | 1 + challenge-073/sol-demuth/README | 1 + challenge-073/southpawgeek/README | 1 + challenge-073/stephanie-stein/README | 1 + challenge-073/steve-rogerson/README | 1 + challenge-073/steven-lembark/README | 1 + challenge-073/steven-wilson/README | 1 + challenge-073/svetlana-nesterova/README | 1 + challenge-073/testerR59/README | 1 + challenge-073/tiago-stock/README | 1 + challenge-073/tim-smith/README | 1 + challenge-073/tore-andersson/README | 1 + challenge-073/trenton-langer/README | 1 + challenge-073/tyler-limkemann/README | 1 + challenge-073/ulrich-rieke/README | 1 + challenge-073/user-person/README | 1 + challenge-073/uzluisf/README | 1 + challenge-073/veesh-goldman/README | 1 + challenge-073/vinod-pal/README | 1 + challenge-073/vyacheslav-volgarev/README | 1 + challenge-073/walt-mankowski/README | 1 + challenge-073/walt-mankowski/c/.gitignore | 2 + challenge-073/walt-mankowski/cpp/.gitignore | 2 + .../walt-mankowski/python/.python-version | 1 + challenge-073/wambash/README | 1 + challenge-073/wanderdoc/README | 1 + challenge-073/will-west/README | 1 + challenge-073/william-gilmore/README | 1 + challenge-073/x1mandi/README | 1 + challenge-073/xkr47/README | 1 + challenge-073/yary-h/README | 1 + challenge-073/yet-ebreo/README | 1 + challenge-073/yozen-hernandez/README | 1 + 184 files changed, 566 insertions(+) create mode 100644 challenge-073/3ter/README create mode 100644 challenge-073/aaron-rowe/README create mode 100644 challenge-073/aaron-sherman/README create mode 100644 challenge-073/abigail/README create mode 100644 challenge-073/adam-russell/README create mode 100644 challenge-073/ailbhe-tweedie/README create mode 100644 challenge-073/alex-daniel/README create mode 100644 challenge-073/alexander-karelas/README create mode 100644 challenge-073/alicia-bielsa/README create mode 100644 challenge-073/andrezgz/README create mode 100644 challenge-073/anton-fedotov/README create mode 100644 challenge-073/antonio-gamiz/README create mode 100644 challenge-073/arne-sommer/README create mode 100644 challenge-073/arpad-toth/README create mode 100644 challenge-073/ash/README create mode 100644 challenge-073/athanasius/README create mode 100644 challenge-073/aubrey-quarcoo/README create mode 100644 challenge-073/ben-davies/README.md create mode 100644 challenge-073/bill-palmer/README create mode 100644 challenge-073/bob-kleemann/README create mode 100644 challenge-073/bob-lied/README create mode 100644 challenge-073/brtastic/README create mode 100644 challenge-073/bruno-ramos/README create mode 100644 challenge-073/burkhard-nickels/README create mode 100644 challenge-073/bwva/README create mode 100644 challenge-073/cheok-yin-fung/README create mode 100644 challenge-073/cliveholloway/README create mode 100644 challenge-073/colin-crain/README create mode 100644 challenge-073/craig/README create mode 100644 challenge-073/creewick/README create mode 100644 challenge-073/cristian-heredia/README create mode 100644 challenge-073/daniel-mantovani/README create mode 100644 challenge-073/daniel-mita/README create mode 100644 challenge-073/darren-bottin/README create mode 100644 challenge-073/dave-cross/README create mode 100644 challenge-073/dave-jacoby/README create mode 100644 challenge-073/david-kayal/README create mode 100644 challenge-073/denis-yurashku/README create mode 100644 challenge-073/donald-hunter/README create mode 100644 challenge-073/doug-schrag/README create mode 100644 challenge-073/dracos/README create mode 100644 challenge-073/duane-powell/README create mode 100644 challenge-073/duncan-c-white/README create mode 100644 challenge-073/e-choroba/README create mode 100644 challenge-073/eddy-hs/README create mode 100644 challenge-073/fabrizio-poggi/README create mode 100644 challenge-073/feng-chang/README create mode 100644 challenge-073/finanalyst/README create mode 100644 challenge-073/finley/README create mode 100644 challenge-073/fjwhittle/README create mode 100644 challenge-073/fred-zinn/README create mode 100644 challenge-073/freddie-b/README create mode 100644 challenge-073/giuseppe-terlizzi/README create mode 100644 challenge-073/guillermo-ramos/README create mode 100644 challenge-073/gustavo-chaves/README create mode 100644 challenge-073/hauke-d/README create mode 100644 challenge-073/ianrifkin/README create mode 100644 challenge-073/izifresh/README create mode 100644 challenge-073/jacques-guinnebault/README create mode 100644 challenge-073/jaime/README create mode 100644 challenge-073/jaldhar-h-vyas/README create mode 100644 challenge-073/james-smith/README.md create mode 100644 challenge-073/jaredor/README create mode 100644 challenge-073/jason-messer/README create mode 100644 challenge-073/javier-luque/README create mode 100644 challenge-073/jeff/README create mode 100644 challenge-073/jeongoon/README create mode 100644 challenge-073/jeremy-carman/README create mode 100644 challenge-073/jim-bacon/README create mode 100644 challenge-073/jitu-keshwani/README create mode 100644 challenge-073/jj-merelo/README create mode 100644 challenge-073/jo-37/README create mode 100644 challenge-073/jo-christian-oterhals/README create mode 100644 challenge-073/joe-tym/README create mode 100644 challenge-073/joelle-maslak/README create mode 100644 challenge-073/john-barrett/README create mode 100644 challenge-073/jokraft/README create mode 100644 challenge-073/juan-caballero/README create mode 100644 challenge-073/julien-fiegehenn/README create mode 100644 challenge-073/kevin-colyer/README create mode 100644 challenge-073/khalid/README create mode 100644 challenge-073/kian-meng-ang/README create mode 100644 challenge-073/kiran-kumar/README create mode 100644 challenge-073/kivanc-yazan/.gitignore create mode 100644 challenge-073/kivanc-yazan/README create mode 100644 challenge-073/lance-wicks/README create mode 100644 challenge-073/lars-balker/README create mode 100644 challenge-073/lars-thegler/README create mode 100644 challenge-073/laurent-rosenfeld/README create mode 100644 challenge-073/leoltron/README create mode 100644 challenge-073/lubos-kolouch/README create mode 100644 challenge-073/luca-ferrari/README create mode 100644 challenge-073/magnus-woldrich/README create mode 100644 challenge-073/manfredi/README create mode 100644 challenge-073/mano-chandar/README create mode 100644 challenge-073/mark-anderson/README create mode 100644 challenge-073/mark-senn/README create mode 100644 challenge-073/markus-holzer/README create mode 100644 challenge-073/martin-barth/README create mode 100644 challenge-073/martin-mugeni/README create mode 100644 challenge-073/matt-latusek/README create mode 100644 challenge-073/matthew-persico/README create mode 100644 challenge-073/maxim-kolodyazhny/README create mode 100644 challenge-073/maxim-nechaev/README create mode 100644 challenge-073/michael-hamlin/README create mode 100644 challenge-073/michael-schaap/README create mode 100644 challenge-073/mike-accardo/README create mode 100644 challenge-073/mohammad-anwar/README create mode 100644 challenge-073/ndelucca/README create mode 100644 challenge-073/neil-bowers/README create mode 100644 challenge-073/nick-logan/README create mode 100644 challenge-073/nikhil-prasanna/README create mode 100644 challenge-073/noud/README create mode 100644 challenge-073/ohmycloud/README create mode 100644 challenge-073/oleksii-tsvietnov/README create mode 100644 challenge-073/olli-antti/README create mode 100644 challenge-073/orestis-zekai/README create mode 100644 challenge-073/ozzy/README create mode 100644 challenge-073/pavel-jurca/README create mode 100644 challenge-073/pavel-starikov/README create mode 100644 challenge-073/perlboy1967/README create mode 100644 challenge-073/pete-houston/README create mode 100644 challenge-073/pete-sergeant/README create mode 100644 challenge-073/peter-meszaros/README create mode 100644 challenge-073/peter-scott/README create mode 100644 challenge-073/petr-roubicek/README create mode 100644 challenge-073/philippe-bruhat/README create mode 100644 challenge-073/phillip-harris/README create mode 100644 challenge-073/plis-acm/.gitignore create mode 100644 challenge-073/plis-acm/README create mode 100644 challenge-073/prajith-p/README create mode 100644 challenge-073/rage311/README create mode 100644 challenge-073/randy-lauen/README create mode 100644 challenge-073/richard-park/README create mode 100644 challenge-073/rnuttall/README create mode 100644 challenge-073/rob-van-dam/README create mode 100644 challenge-073/rob4t/README create mode 100644 challenge-073/roger-bell-west/README create mode 100644 challenge-073/ruben-westerberg/README create mode 100644 challenge-073/ryan-thompson/README.md create mode 100644 challenge-073/saiftynet/README create mode 100644 challenge-073/sangeet-kar/README create mode 100644 challenge-073/sean-meininger/README create mode 100644 challenge-073/sergiotarxz/README create mode 100644 challenge-073/sgreen/README.md create mode 100644 challenge-073/shahed-nooshmand/README create mode 100644 challenge-073/shardiwal/README create mode 100644 challenge-073/shaun-pearce/README create mode 100644 challenge-073/shawak/README.md create mode 100644 challenge-073/simon-miner/README create mode 100644 challenge-073/simon-proctor/README create mode 100644 challenge-073/simon-reinhardt/README create mode 100644 challenge-073/sol-demuth/README create mode 100644 challenge-073/southpawgeek/README create mode 100644 challenge-073/stephanie-stein/README create mode 100644 challenge-073/steve-rogerson/README create mode 100644 challenge-073/steven-lembark/README create mode 100644 challenge-073/steven-wilson/README create mode 100644 challenge-073/svetlana-nesterova/README create mode 100644 challenge-073/testerR59/README create mode 100644 challenge-073/tiago-stock/README create mode 100644 challenge-073/tim-smith/README create mode 100644 challenge-073/tore-andersson/README create mode 100644 challenge-073/trenton-langer/README create mode 100644 challenge-073/tyler-limkemann/README create mode 100644 challenge-073/ulrich-rieke/README create mode 100644 challenge-073/user-person/README create mode 100644 challenge-073/uzluisf/README create mode 100644 challenge-073/veesh-goldman/README create mode 100644 challenge-073/vinod-pal/README create mode 100644 challenge-073/vyacheslav-volgarev/README create mode 100644 challenge-073/walt-mankowski/README create mode 100644 challenge-073/walt-mankowski/c/.gitignore create mode 100644 challenge-073/walt-mankowski/cpp/.gitignore create mode 100644 challenge-073/walt-mankowski/python/.python-version create mode 100644 challenge-073/wambash/README create mode 100644 challenge-073/wanderdoc/README create mode 100644 challenge-073/will-west/README create mode 100644 challenge-073/william-gilmore/README create mode 100644 challenge-073/x1mandi/README create mode 100644 challenge-073/xkr47/README create mode 100644 challenge-073/yary-h/README create mode 100644 challenge-073/yet-ebreo/README create mode 100644 challenge-073/yozen-hernandez/README (limited to 'challenge-073') diff --git a/challenge-073/3ter/README b/challenge-073/3ter/README new file mode 100644 index 0000000000..8c594431f3 --- /dev/null +++ b/challenge-073/3ter/README @@ -0,0 +1 @@ +Solutions by 3ter. diff --git a/challenge-073/aaron-rowe/README b/challenge-073/aaron-rowe/README new file mode 100644 index 0000000000..e14e0782fb --- /dev/null +++ b/challenge-073/aaron-rowe/README @@ -0,0 +1 @@ +Solutions by Aaron Rowe. diff --git a/challenge-073/aaron-sherman/README b/challenge-073/aaron-sherman/README new file mode 100644 index 0000000000..14ec31f570 --- /dev/null +++ b/challenge-073/aaron-sherman/README @@ -0,0 +1 @@ +Solutions by Aaron Sherman. diff --git a/challenge-073/abigail/README b/challenge-073/abigail/README new file mode 100644 index 0000000000..5f0d73ae16 --- /dev/null +++ b/challenge-073/abigail/README @@ -0,0 +1 @@ +Solution by Abigail diff --git a/challenge-073/adam-russell/README b/challenge-073/adam-russell/README new file mode 100644 index 0000000000..1d2e2957c5 --- /dev/null +++ b/challenge-073/adam-russell/README @@ -0,0 +1 @@ +Solution by Adam Russell diff --git a/challenge-073/ailbhe-tweedie/README b/challenge-073/ailbhe-tweedie/README new file mode 100644 index 0000000000..36d4034b70 --- /dev/null +++ b/challenge-073/ailbhe-tweedie/README @@ -0,0 +1 @@ +Solution by Ailbhe Tweedie diff --git a/challenge-073/alex-daniel/README b/challenge-073/alex-daniel/README new file mode 100644 index 0000000000..65550789bd --- /dev/null +++ b/challenge-073/alex-daniel/README @@ -0,0 +1 @@ +Solution by Alex Daniel. diff --git a/challenge-073/alexander-karelas/README b/challenge-073/alexander-karelas/README new file mode 100644 index 0000000000..3de9fce8d9 --- /dev/null +++ b/challenge-073/alexander-karelas/README @@ -0,0 +1 @@ +Solution by Alexander Karelas diff --git a/challenge-073/alicia-bielsa/README b/challenge-073/alicia-bielsa/README new file mode 100644 index 0000000000..c5187874c3 --- /dev/null +++ b/challenge-073/alicia-bielsa/README @@ -0,0 +1 @@ +Solution by Alicia Beilsa. diff --git a/challenge-073/andrezgz/README b/challenge-073/andrezgz/README new file mode 100644 index 0000000000..f4fd0da88e --- /dev/null +++ b/challenge-073/andrezgz/README @@ -0,0 +1 @@ +Solution by Andrezgz diff --git a/challenge-073/anton-fedotov/README b/challenge-073/anton-fedotov/README new file mode 100644 index 0000000000..f7c4f6deed --- /dev/null +++ b/challenge-073/anton-fedotov/README @@ -0,0 +1 @@ +Solutions by Anton Fedotov. diff --git a/challenge-073/antonio-gamiz/README b/challenge-073/antonio-gamiz/README new file mode 100644 index 0000000000..1f5ed5871a --- /dev/null +++ b/challenge-073/antonio-gamiz/README @@ -0,0 +1 @@ +Solution by Antonio Gamiz diff --git a/challenge-073/arne-sommer/README b/challenge-073/arne-sommer/README new file mode 100644 index 0000000000..b5d88e4df4 --- /dev/null +++ b/challenge-073/arne-sommer/README @@ -0,0 +1 @@ +Solution by Arne Sommer. diff --git a/challenge-073/arpad-toth/README b/challenge-073/arpad-toth/README new file mode 100644 index 0000000000..6661dd82c1 --- /dev/null +++ b/challenge-073/arpad-toth/README @@ -0,0 +1 @@ +Solution by Arpad Toth diff --git a/challenge-073/ash/README b/challenge-073/ash/README new file mode 100644 index 0000000000..318b1bfb41 --- /dev/null +++ b/challenge-073/ash/README @@ -0,0 +1 @@ +Solutions by Andrew Shitov diff --git a/challenge-073/athanasius/README b/challenge-073/athanasius/README new file mode 100644 index 0000000000..cc357fda4a --- /dev/null +++ b/challenge-073/athanasius/README @@ -0,0 +1 @@ +Solution by Athanasius diff --git a/challenge-073/aubrey-quarcoo/README b/challenge-073/aubrey-quarcoo/README new file mode 100644 index 0000000000..8e63a2c1f5 --- /dev/null +++ b/challenge-073/aubrey-quarcoo/README @@ -0,0 +1 @@ +Solution by Aubrey Quarcoo diff --git a/challenge-073/ben-davies/README.md b/challenge-073/ben-davies/README.md new file mode 100644 index 0000000000..77158344c9 --- /dev/null +++ b/challenge-073/ben-davies/README.md @@ -0,0 +1 @@ +Solution by Ben Davies diff --git a/challenge-073/bill-palmer/README b/challenge-073/bill-palmer/README new file mode 100644 index 0000000000..08ec849a41 --- /dev/null +++ b/challenge-073/bill-palmer/README @@ -0,0 +1 @@ +Solution by Bill Palmer. diff --git a/challenge-073/bob-kleemann/README b/challenge-073/bob-kleemann/README new file mode 100644 index 0000000000..78680e4035 --- /dev/null +++ b/challenge-073/bob-kleemann/README @@ -0,0 +1 @@ +Solution by Bob Kleemann diff --git a/challenge-073/bob-lied/README b/challenge-073/bob-lied/README new file mode 100644 index 0000000000..be171d638e --- /dev/null +++ b/challenge-073/bob-lied/README @@ -0,0 +1,65 @@ +Solutions to weekly challenge 72 by Bob Lied. + +https://perlweeklychallenge.org/blog/perl-weekly-challenge-072/ + +This week, I would like to add two personal elements to the problem: +(1) create a template for perl-vim that sets up these weekly challenges +(includes Test::More, a skeleton for checking ARGV, and whatever else +is quickly becoming a pattern; and (2) use a github issue in the submission +process, just to learn more about using git and github. + +* TASK #1 > Trailing Zeroes + +** Initial thoughts + +Too easy, unless I'm missing something. The result gets a zero on the end every time +it's multiplied by 10, and since we're doing factorials, that will happen every time N +rolls past a multiple of 5. The answer is int(N/5), I think, but I'll need to convince +myself completely. + +We could make it a little tougher by actually calculating N!, and maybe using Memoize +as an optimization. And maybe finding out how high N can be until overflow or waiting time +make it impractical. + +** Post Solution Thoughts + +Yep, it was really that easy. I implemented the factorial using Memoize just +for fun. The highest number that didn't roll over to floating point was 20!. + + +** Problem Statement + +You are given a positive integer $N (<= 10). + +Write a script to print number of trailing zeroes in $N!. + +* TASK #2 > Lines Range + +** Initial Thoughts + +This has come up often enough that I know I've done it in sed and awk; and in +a pipeline with head and tail. The flip-flop operator comes to mind, but +there'll be some experimentation for boundary conditions. Also some test +cases for A or B being outside the range of the file or having an empty file. + +** Post Solution Thoughts + +The hardest part of this turned out to be how to set up tests. I wanted the +testing to be self-contained, so I put the test data into __DATA__. But then +re-reading that repeatedly for different tests required seeking back to the +start and also resetting $. A couple of trips to Google there. + +I also wanted to capture the output in a variable and not just print to the +console. I knew that a string could be opened as a file handle using a +reference to the string. It should have been easy; but I spent a long time +debugging before I realized that I had typed \&TestResult instead of +\$TestResult. + + +** Problem Statement + +You are given a text file name $file and range $A - $B where $A <= $B. + +Write a script to display lines range $A and $B in the given file. + +(That's A and B inclusive, from the examples.) diff --git a/challenge-073/brtastic/README b/challenge-073/brtastic/README new file mode 100644 index 0000000000..0fbe79fd6f --- /dev/null +++ b/challenge-073/brtastic/README @@ -0,0 +1 @@ +Solutions by Bartosz Jarzyna. diff --git a/challenge-073/bruno-ramos/README b/challenge-073/bruno-ramos/README new file mode 100644 index 0000000000..9d631dad8f --- /dev/null +++ b/challenge-073/bruno-ramos/README @@ -0,0 +1 @@ +Solutions by Bruno Ramos. diff --git a/challenge-073/burkhard-nickels/README b/challenge-073/burkhard-nickels/README new file mode 100644 index 0000000000..f5e16bb98b --- /dev/null +++ b/challenge-073/burkhard-nickels/README @@ -0,0 +1 @@ +Solutions by Burkhard Nickels. diff --git a/challenge-073/bwva/README b/challenge-073/bwva/README new file mode 100644 index 0000000000..ee6a7d7dc1 --- /dev/null +++ b/challenge-073/bwva/README @@ -0,0 +1 @@ +Solution(s) by bwva (Bruce Van Allen) diff --git a/challenge-073/cheok-yin-fung/README b/challenge-073/cheok-yin-fung/README new file mode 100644 index 0000000000..4413b13ada --- /dev/null +++ b/challenge-073/cheok-yin-fung/README @@ -0,0 +1 @@ +Solutions by Cheok-Yin Fung. diff --git a/challenge-073/cliveholloway/README b/challenge-073/cliveholloway/README new file mode 100644 index 0000000000..b69201296e --- /dev/null +++ b/challenge-073/cliveholloway/README @@ -0,0 +1 @@ +Solution by Clive Holloway diff --git a/challenge-073/colin-crain/README b/challenge-073/colin-crain/README new file mode 100644 index 0000000000..2a5d87e97d --- /dev/null +++ b/challenge-073/colin-crain/README @@ -0,0 +1 @@ +Solutions by Colin Crain. diff --git a/challenge-073/craig/README b/challenge-073/craig/README new file mode 100644 index 0000000000..18088481eb --- /dev/null +++ b/challenge-073/craig/README @@ -0,0 +1 @@ +Solutions by Craig. diff --git a/challenge-073/creewick/README b/challenge-073/creewick/README new file mode 100644 index 0000000000..c490e4fb80 --- /dev/null +++ b/challenge-073/creewick/README @@ -0,0 +1 @@ +Solutions by Creewick. diff --git a/challenge-073/cristian-heredia/README b/challenge-073/cristian-heredia/README new file mode 100644 index 0000000000..c53da8a54c --- /dev/null +++ b/challenge-073/cristian-heredia/README @@ -0,0 +1 @@ +Solutions by Cristina Heredia. diff --git a/challenge-073/daniel-mantovani/README b/challenge-073/daniel-mantovani/README new file mode 100644 index 0000000000..ed538216f2 --- /dev/null +++ b/challenge-073/daniel-mantovani/README @@ -0,0 +1 @@ +Solution by Daniel Mantovani diff --git a/challenge-073/daniel-mita/README b/challenge-073/daniel-mita/README new file mode 100644 index 0000000000..37339f491f --- /dev/null +++ b/challenge-073/daniel-mita/README @@ -0,0 +1 @@ +Solution by Daniel Mita diff --git a/challenge-073/darren-bottin/README b/challenge-073/darren-bottin/README new file mode 100644 index 0000000000..6c792afe8e --- /dev/null +++ b/challenge-073/darren-bottin/README @@ -0,0 +1 @@ +Solutions by Darren Bottin. diff --git a/challenge-073/dave-cross/README b/challenge-073/dave-cross/README new file mode 100644 index 0000000000..04b1b0623b --- /dev/null +++ b/challenge-073/dave-cross/README @@ -0,0 +1 @@ +Solution by Dave Cross diff --git a/challenge-073/dave-jacoby/README b/challenge-073/dave-jacoby/README new file mode 100644 index 0000000000..7c06689f16 --- /dev/null +++ b/challenge-073/dave-jacoby/README @@ -0,0 +1 @@ +Solution by Dave Jacoby diff --git a/challenge-073/david-kayal/README b/challenge-073/david-kayal/README new file mode 100644 index 0000000000..66f8615260 --- /dev/null +++ b/challenge-073/david-kayal/README @@ -0,0 +1 @@ +Solution by David Kayal diff --git a/challenge-073/denis-yurashku/README b/challenge-073/denis-yurashku/README new file mode 100644 index 0000000000..2fea994000 --- /dev/null +++ b/challenge-073/denis-yurashku/README @@ -0,0 +1 @@ +Solutions by Denis Yurashku. diff --git a/challenge-073/donald-hunter/README b/challenge-073/donald-hunter/README new file mode 100644 index 0000000000..2eef878f17 --- /dev/null +++ b/challenge-073/donald-hunter/README @@ -0,0 +1 @@ +Solutions by Donald Hunter. diff --git a/challenge-073/doug-schrag/README b/challenge-073/doug-schrag/README new file mode 100644 index 0000000000..bf8a10ffb4 --- /dev/null +++ b/challenge-073/doug-schrag/README @@ -0,0 +1 @@ +Solution by Doug Schrag diff --git a/challenge-073/dracos/README b/challenge-073/dracos/README new file mode 100644 index 0000000000..a9a6517a03 --- /dev/null +++ b/challenge-073/dracos/README @@ -0,0 +1 @@ +Solutions by Matthew Somerville. diff --git a/challenge-073/duane-powell/README b/challenge-073/duane-powell/README new file mode 100644 index 0000000000..3445422743 --- /dev/null +++ b/challenge-073/duane-powell/README @@ -0,0 +1 @@ +Solutions by Duane Powell. diff --git a/challenge-073/duncan-c-white/README b/challenge-073/duncan-c-white/README new file mode 100644 index 0000000000..8f0971a5c6 --- /dev/null +++ b/challenge-073/duncan-c-white/README @@ -0,0 +1,58 @@ +Task 1: "Trailing Zeroes + +You are given a positive integer $N (<= 10). + +Write a script to print number of trailing zeroes in $N!. + +Example 1 +Input: $N = 10 +Output: 2 as $N! = 3628800 has 2 trailing zeroes + +Example 2 +Input: $N = 7 +Output: 1 as $N! = 5040 has 1 trailing zero + +Example 3 +Input: $N = 4 +Output: 0 as $N! = 24 has 0 trailing zero + +" + +My notes: ok. Very easy. fact and "while mod 10 == 0 inc & div 10" +See also ch-1a.pl, which TABULATES n, n! and trailing-zeroes(n!).. + +Task 2: "Lines Range + +You are given a text file name $file and range $A - $B where $A <= $B. + +Write a script to display lines range $A and $B in the given file. +Example +Input: + + $ cat input.txt + L1 + L2 + L3 + L4 + ... + ... + ... + ... + L100 + +$A = 4 and $B = 12 + +Output: + + L4 + L5 + L6 + L7 + L8 + L9 + L10 + L11 + L12 +" + +My notes: ok. Seems even easier. I/O and a line number count (let's use $.) diff --git a/challenge-073/e-choroba/README b/challenge-073/e-choroba/README new file mode 100644 index 0000000000..efff637bcb --- /dev/null +++ b/challenge-073/e-choroba/README @@ -0,0 +1 @@ +Solutions by E. Choroba. diff --git a/challenge-073/eddy-hs/README b/challenge-073/eddy-hs/README new file mode 100644 index 0000000000..0ed51d222d --- /dev/null +++ b/challenge-073/eddy-hs/README @@ -0,0 +1 @@ +Solution by Eddy HS diff --git a/challenge-073/fabrizio-poggi/README b/challenge-073/fabrizio-poggi/README new file mode 100644 index 0000000000..3c17b29182 --- /dev/null +++ b/challenge-073/fabrizio-poggi/README @@ -0,0 +1 @@ +Solutions by Fabrizio Poggi. diff --git a/challenge-073/feng-chang/README b/challenge-073/feng-chang/README new file mode 100644 index 0000000000..74e56de3ed --- /dev/null +++ b/challenge-073/feng-chang/README @@ -0,0 +1 @@ +Solutions by Feng Chang. diff --git a/challenge-073/finanalyst/README b/challenge-073/finanalyst/README new file mode 100644 index 0000000000..15f7652e32 --- /dev/null +++ b/challenge-073/finanalyst/README @@ -0,0 +1 @@ +Solution by Richard Hainsworth, aka finanalyst diff --git a/challenge-073/finley/README b/challenge-073/finley/README new file mode 100644 index 0000000000..f08a121076 --- /dev/null +++ b/challenge-073/finley/README @@ -0,0 +1 @@ +Solution by Finley diff --git a/challenge-073/fjwhittle/README b/challenge-073/fjwhittle/README new file mode 100644 index 0000000000..7dcc95e189 --- /dev/null +++ b/challenge-073/fjwhittle/README @@ -0,0 +1 @@ +Solution by Francis Whittle diff --git a/challenge-073/fred-zinn/README b/challenge-073/fred-zinn/README new file mode 100644 index 0000000000..17bac4f094 --- /dev/null +++ b/challenge-073/fred-zinn/README @@ -0,0 +1 @@ +Solution by Fred Zinn diff --git a/challenge-073/freddie-b/README b/challenge-073/freddie-b/README new file mode 100644 index 0000000000..823d7474b5 --- /dev/null +++ b/challenge-073/freddie-b/README @@ -0,0 +1 @@ +Solution by Freddie B diff --git a/challenge-073/giuseppe-terlizzi/README b/challenge-073/giuseppe-terlizzi/README new file mode 100644 index 0000000000..0bff2a945c --- /dev/null +++ b/challenge-073/giuseppe-terlizzi/README @@ -0,0 +1 @@ +Solutions by Giuseppe Di Terlizzi. diff --git a/challenge-073/guillermo-ramos/README b/challenge-073/guillermo-ramos/README new file mode 100644 index 0000000000..a39eb01bff --- /dev/null +++ b/challenge-073/guillermo-ramos/README @@ -0,0 +1 @@ +Solution by Guillermo Ramos. diff --git a/challenge-073/gustavo-chaves/README b/challenge-073/gustavo-chaves/README new file mode 100644 index 0000000000..a66bbbf8a3 --- /dev/null +++ b/challenge-073/gustavo-chaves/README @@ -0,0 +1 @@ +Solution by Gustavo Chaves diff --git a/challenge-073/hauke-d/README b/challenge-073/hauke-d/README new file mode 100644 index 0000000000..e201aa0abc --- /dev/null +++ b/challenge-073/hauke-d/README @@ -0,0 +1 @@ +Solutions by Hauke Dämpfling. diff --git a/challenge-073/ianrifkin/README b/challenge-073/ianrifkin/README new file mode 100644 index 0000000000..2d26297fb9 --- /dev/null +++ b/challenge-073/ianrifkin/README @@ -0,0 +1 @@ +Solution by Ian Rifkin. \ No newline at end of file diff --git a/challenge-073/izifresh/README b/challenge-073/izifresh/README new file mode 100644 index 0000000000..aedce7c408 --- /dev/null +++ b/challenge-073/izifresh/README @@ -0,0 +1 @@ +Solution by izifresh \ No newline at end of file diff --git a/challenge-073/jacques-guinnebault/README b/challenge-073/jacques-guinnebault/README new file mode 100644 index 0000000000..9d3e7c037f --- /dev/null +++ b/challenge-073/jacques-guinnebault/README @@ -0,0 +1 @@ +Solution by Jacques Guinnebault. diff --git a/challenge-073/jaime/README b/challenge-073/jaime/README new file mode 100644 index 0000000000..007cb58459 --- /dev/null +++ b/challenge-073/jaime/README @@ -0,0 +1,59 @@ +# Task #1 + +Write a script to display months from the year 1900 to 2019 where you +find 5 weekends i.e. 5 Friday, 5 Saturday and 5 Sunday. + +## Solution + +Months that contain five full weekends have 31 days and start on a Friday. Use `cal` to display March 2019 as an example. + +``` +#$ cal -h -m 3 2019 # cal is a UNIX utility + March 2019 +Su Mo Tu We Th Fr Sa + 1 2 + 3 4 5 6 7 8 9 +10 11 12 13 14 15 16 +17 18 19 20 21 22 23 +24 25 26 27 28 29 30 +31 +``` + +The solution runs `cal` and displays months that match this unique +layout. + +# Task #2 + +Write a script that can wrap the given paragraph at a specified column +using the greedy algorithm. + +A simple way to do word wrapping is to use a greedy algorithm that +puts as many words on a line as possible, then moving on to the next +line to do the same until there are no more words left to place. This +method is used by many modern word processors, such as OpenOffice.org +Writer and Microsoft Word[citation needed]. This algorithm always uses +the minimum possible number of lines but may lead to lines of widely +varying lengths. The following pseudocode implements this algorithm: + +``` +SpaceLeft := LineWidth +for each Word in Text + if (Width(Word) + SpaceWidth) > SpaceLeft + insert line break before Word in Text + SpaceLeft := LineWidth - Width(Word) + else + SpaceLeft := SpaceLeft - (Width(Word) + SpaceWidth) +``` + +Where LineWidth is the width of a line, SpaceLeft is the remaining +width of space on the line to fill, SpaceWidth is the width of a +single space character, Text is the input text to iterate over and +Word is a word in this text. + +## Solution + +The solution follows the recommended pseudocode. Minor improvements +avoid trailing whitespace. + +The script uses `Text::ParseWords::shellwords` from the standard +library to extract chunks of words from ``. diff --git a/challenge-073/jaldhar-h-vyas/README b/challenge-073/jaldhar-h-vyas/README new file mode 100644 index 0000000000..7dce927eca --- /dev/null +++ b/challenge-073/jaldhar-h-vyas/README @@ -0,0 +1 @@ +Solution by Jaldhar H. Vyas diff --git a/challenge-073/james-smith/README.md b/challenge-073/james-smith/README.md new file mode 100644 index 0000000000..6d816375c5 --- /dev/null +++ b/challenge-073/james-smith/README.md @@ -0,0 +1,129 @@ +Solutions by James Smith. + +# Challenge 1 - Counting letters + +There are two ways to solve this -> split and count or using tr... one is short code - one is longer - but much faster. + +## Version 1 - short code + +Uses lc, split and grep to count the elements and put them in a hash... looping through each file a line at a time with <> + +```perl +use feature 'say'; +use strict; +my %T = map { $_=>0 } foreach 'a'..'z'; +while(<>) { + $T{$_}++ foreach grep { /[a-z]/ } split m{}, lc $_; +} + +say "$_: $T{$_}" foreach 'a'..'z'; +``` + +Running this over 13Mbytes of PHP takes approximately 6.5 seconds... + +## Version 2 - faster code + +Now counting letters in a string is quickest using the tr or y operator - as this requires the number of characters +changed. Without using eval you can't unfortunately sub in a variable into the pattern unlike with m/s... So we +either need to use string eval (which is evIl) or manually replicate the loop - $T{'a'} =~ y/aA/aA/ etc - in this +code... Note we set $/ to undef so that we slurp the whole file in in one go (to improve performance of using tr) +and less modifications to the %T hash... + +```perl +use feature 'say'; +$/=undef; + +while(<>) { + $T{'a'} += y/aA/aA/; + $T{'b'} += y/bB/bB/; +.. +.. + $T{'y'} += y/yY/yY/; + $T{'z'} += y/zZ/zZ/; +} + +say $_,': ',$T{$_}||0 foreach 'a'..'z'; + +``` +OK - so didn't want to type 26 lines so used this one liner to do it for me! + +```bash +perl -E 'say " \$t{'"'"'$_'"'"'} += y/$_".uc($_)."/$_".uc($_)."/;" foreach "a".."z";' +``` + +This now runs in approxy 0.25 seconds a big improvement... + +## Version 3 - nicer output... + +The version 3 code just expands the version 2 code - but creates a "histogram" to show the distribution (and at the same time formats the totals better) + +``` +a : 584193 : ########################## +b : 108267 : #### +c : 287124 : ############# +d : 272798 : ############ +e : 877936 : ######################################## +f : 209371 : ######### +g : 152944 : ###### +h : 200641 : ######### +i : 546465 : ######################## +j : 15133 : +k : 50049 : ## +l : 326976 : ############## +m : 214631 : ######### +n : 438874 : ################### +o : 436059 : ################### +p : 282120 : ############ +q : 19825 : +r : 551144 : ######################### +s : 552344 : ######################### +t : 724711 : ################################# +u : 260233 : ########### +v : 68882 : ### +w : 80759 : ### +x : 57019 : ## +y : 115201 : ##### +z : 11021 : +``` + +# Challenge 2 - multiplication square... + +Again going to extend the challenge to make this generic (in case someone wants a different version) + +Hidden in the solution above was getting the number of digits for a number (so we can format the totals) - we do this again to get the size of the left hand column and the main table columns. + +```perl +my $sl = int(log($N)/log(10)+1); ## Get size of integer $N - defines the width of the LH column +my $sr = int(2*log($N)/log(10)+1); ## Get size of $N squared - defines the width of other columns +``` +and we use this to tweak the formats and the padding/line drawing elements! +```perl +#!/usr/bin/perl + +use strict; +use feature 'say'; + +## This solves more than the puzzle - but thought I would make it more generic! + +## This gets the size of the square that we want to display... + +my $N = shift =~ s{\D}{}gr || 11; ## Default to 11 - but use first parameter as size of square! +my @R = 1..$N; ## Create a "range array" - we use this 4 times!!! + +## Get width of columns for use in the renderer.. + +my $sl = int( log($N) / log(10) + 1); ## Get size of integer $N - defines the width of the LH column +my $sr = int( 2 * log($N) / log(10) + 1); ## Get size of $N squared - defines the width of other columns +my $fl = sprintf ' %%%dd |', $sl; ## Create a template for the first column.. +my $fr = sprintf ' %%%dd', $sr; ## .... and for the other columns! + +## Finally we render - make a use of sprintf with the templates and '$' x $ to generate padding + +say ' ' x $sl, 'x |', ## Header (LH side) + map { sprintf $fr, $_ } @R; ## (column headers) +say join '-', '-' x $sl, '-+', ## Separator (LH side) + map { '-' x $sr } @R; ## (RH side) +say sprintf( $fl, $a=$_ ), ## Body of table (LH headers) + map { $a>$_ ? ' ' x ($sr+1) : sprintf $fr, $a*$_ } @R ## (content of row) + foreach @R; +``` diff --git a/challenge-073/jaredor/README b/challenge-073/jaredor/README new file mode 100644 index 0000000000..398fcc9bae --- /dev/null +++ b/challenge-073/jaredor/README @@ -0,0 +1 @@ +Solution by Jared Martin diff --git a/challenge-073/jason-messer/README b/challenge-073/jason-messer/README new file mode 100644 index 0000000000..4645ca8823 --- /dev/null +++ b/challenge-073/jason-messer/README @@ -0,0 +1,3 @@ +Raku Solutions by Jason Messer + +For challenge 2 I based behavior on sed, silently defaulting range points that don't exist or don't make sense. diff --git a/challenge-073/javier-luque/README b/challenge-073/javier-luque/README new file mode 100644 index 0000000000..887e7fc81a --- /dev/null +++ b/challenge-073/javier-luque/README @@ -0,0 +1 @@ +Solutions by Javier Luque. diff --git a/challenge-073/jeff/README b/challenge-073/jeff/README new file mode 100644 index 0000000000..d5f15f4a8e --- /dev/null +++ b/challenge-073/jeff/README @@ -0,0 +1 @@ +Solution by Jeff diff --git a/challenge-073/jeongoon/README b/challenge-073/jeongoon/README new file mode 100644 index 0000000000..fb69b53165 --- /dev/null +++ b/challenge-073/jeongoon/README @@ -0,0 +1 @@ +Solution by Myoungjin Jeon diff --git a/challenge-073/jeremy-carman/README b/challenge-073/jeremy-carman/README new file mode 100644 index 0000000000..3d08510e49 --- /dev/null +++ b/challenge-073/jeremy-carman/README @@ -0,0 +1 @@ +Solution by Jeremy Carman diff --git a/challenge-073/jim-bacon/README b/challenge-073/jim-bacon/README new file mode 100644 index 0000000000..8dcfd637a3 --- /dev/null +++ b/challenge-073/jim-bacon/README @@ -0,0 +1 @@ +Solution by Jim Bacon diff --git a/challenge-073/jitu-keshwani/README b/challenge-073/jitu-keshwani/README new file mode 100644 index 0000000000..4f02c1e3ce --- /dev/null +++ b/challenge-073/jitu-keshwani/README @@ -0,0 +1 @@ +Solutions by Jitu Keshwani. diff --git a/challenge-073/jj-merelo/README b/challenge-073/jj-merelo/README new file mode 100644 index 0000000000..d09838676b --- /dev/null +++ b/challenge-073/jj-merelo/README @@ -0,0 +1 @@ +Solution by JJ Merelo diff --git a/challenge-073/jo-37/README b/challenge-073/jo-37/README new file mode 100644 index 0000000000..b124ddbd7c --- /dev/null +++ b/challenge-073/jo-37/README @@ -0,0 +1 @@ +Solution by Jo S. diff --git a/challenge-073/jo-christian-oterhals/README b/challenge-073/jo-christian-oterhals/README new file mode 100644 index 0000000000..eafff999fb --- /dev/null +++ b/challenge-073/jo-christian-oterhals/README @@ -0,0 +1 @@ +Solution by Jo Christian Oterhals diff --git a/challenge-073/joe-tym/README b/challenge-073/joe-tym/README new file mode 100644 index 0000000000..4e2d1b704f --- /dev/null +++ b/challenge-073/joe-tym/README @@ -0,0 +1 @@ +Solutions by Joe Tym. diff --git a/challenge-073/joelle-maslak/README b/challenge-073/joelle-maslak/README new file mode 100644 index 0000000000..d12c7940c3 --- /dev/null +++ b/challenge-073/joelle-maslak/README @@ -0,0 +1 @@ +Solution by Joelle Maslak diff --git a/challenge-073/john-barrett/README b/challenge-073/john-barrett/README new file mode 100644 index 0000000000..a7ff0af641 --- /dev/null +++ b/challenge-073/john-barrett/README @@ -0,0 +1 @@ +Solution by John Barrett diff --git a/challenge-073/jokraft/README b/challenge-073/jokraft/README new file mode 100644 index 0000000000..bfd88142ca --- /dev/null +++ b/challenge-073/jokraft/README @@ -0,0 +1 @@ +Solution by Jan Ole Kraft. diff --git a/challenge-073/juan-caballero/README b/challenge-073/juan-caballero/README new file mode 100644 index 0000000000..bffe4b05c2 --- /dev/null +++ b/challenge-073/juan-caballero/README @@ -0,0 +1 @@ +Solution by Juan Caballero diff --git a/challenge-073/julien-fiegehenn/README b/challenge-073/julien-fiegehenn/README new file mode 100644 index 0000000000..86b1a001d7 --- /dev/null +++ b/challenge-073/julien-fiegehenn/README @@ -0,0 +1 @@ +Solutions by Julien Fiegehenn. diff --git a/challenge-073/kevin-colyer/README b/challenge-073/kevin-colyer/README new file mode 100644 index 0000000000..0e95de6a44 --- /dev/null +++ b/challenge-073/kevin-colyer/README @@ -0,0 +1,3 @@ +Solutions by Kevin Colyer. + +I think there is some odd bug - my initial tries at rotating the matrix affected the original matrix even when I DIDN'T specify is rw in the sub. diff --git a/challenge-073/khalid/README b/challenge-073/khalid/README new file mode 100644 index 0000000000..1ca4211368 --- /dev/null +++ b/challenge-073/khalid/README @@ -0,0 +1 @@ +Solution by Khalid diff --git a/challenge-073/kian-meng-ang/README b/challenge-073/kian-meng-ang/README new file mode 100644 index 0000000000..a5f0359813 --- /dev/null +++ b/challenge-073/kian-meng-ang/README @@ -0,0 +1 @@ +Solution by Kian-Meng Ang diff --git a/challenge-073/kiran-kumar/README b/challenge-073/kiran-kumar/README new file mode 100644 index 0000000000..7e59be8ea8 --- /dev/null +++ b/challenge-073/kiran-kumar/README @@ -0,0 +1 @@ +Solutions by Kiran Kumar. diff --git a/challenge-073/kivanc-yazan/.gitignore b/challenge-073/kivanc-yazan/.gitignore new file mode 100644 index 0000000000..8ce1b629e0 --- /dev/null +++ b/challenge-073/kivanc-yazan/.gitignore @@ -0,0 +1,2 @@ +_Inline/ +*.sw* diff --git a/challenge-073/kivanc-yazan/README b/challenge-073/kivanc-yazan/README new file mode 100644 index 0000000000..bc7f8ca509 --- /dev/null +++ b/challenge-073/kivanc-yazan/README @@ -0,0 +1 @@ +Solution by Kivanc Yazan diff --git a/challenge-073/lance-wicks/README b/challenge-073/lance-wicks/README new file mode 100644 index 0000000000..73a1899c17 --- /dev/null +++ b/challenge-073/lance-wicks/README @@ -0,0 +1 @@ +Solution by Lance Wicks. diff --git a/challenge-073/lars-balker/README b/challenge-073/lars-balker/README new file mode 100644 index 0000000000..054649c9eb --- /dev/null +++ b/challenge-073/lars-balker/README @@ -0,0 +1 @@ +Solution by Lars Balker diff --git a/challenge-073/lars-thegler/README b/challenge-073/lars-thegler/README new file mode 100644 index 0000000000..db6756665d --- /dev/null +++ b/challenge-073/lars-thegler/README @@ -0,0 +1 @@ +Solution by Lars Thegler diff --git a/challenge-073/laurent-rosenfeld/README b/challenge-073/laurent-rosenfeld/README new file mode 100644 index 0000000000..f9c6e1437e --- /dev/null +++ b/challenge-073/laurent-rosenfeld/README @@ -0,0 +1 @@ +Solution by Laurent Rosenfeld diff --git a/challenge-073/leoltron/README b/challenge-073/leoltron/README new file mode 100644 index 0000000000..28aeaf66ae --- /dev/null +++ b/challenge-073/leoltron/README @@ -0,0 +1 @@ +Solution by Leoltron diff --git a/challenge-073/lubos-kolouch/README b/challenge-073/lubos-kolouch/README new file mode 100644 index 0000000000..921b2d9f4a --- /dev/null +++ b/challenge-073/lubos-kolouch/README @@ -0,0 +1 @@ +Solutions by Lubos Kolouch. diff --git a/challenge-073/luca-ferrari/README b/challenge-073/luca-ferrari/README new file mode 100644 index 0000000000..36518848d1 --- /dev/null +++ b/challenge-073/luca-ferrari/README @@ -0,0 +1 @@ +Solutions by Luca Ferrari. diff --git a/challenge-073/magnus-woldrich/README b/challenge-073/magnus-woldrich/README new file mode 100644 index 0000000000..79cde2997c --- /dev/null +++ b/challenge-073/magnus-woldrich/README @@ -0,0 +1 @@ +Solution by Magnus Woldrich diff --git a/challenge-073/manfredi/README b/challenge-073/manfredi/README new file mode 100644 index 0000000000..dfb0471044 --- /dev/null +++ b/challenge-073/manfredi/README @@ -0,0 +1 @@ +Solution by Leo Manfredi diff --git a/challenge-073/mano-chandar/README b/challenge-073/mano-chandar/README new file mode 100644 index 0000000000..2ec028460a --- /dev/null +++ b/challenge-073/mano-chandar/README @@ -0,0 +1 @@ +Solutions by Mano Chandar. diff --git a/challenge-073/mark-anderson/README b/challenge-073/mark-anderson/README new file mode 100644 index 0000000000..544858a104 --- /dev/null +++ b/challenge-073/mark-anderson/README @@ -0,0 +1 @@ +Solutions by Mark Anderson. diff --git a/challenge-073/mark-senn/README b/challenge-073/mark-senn/README new file mode 100644 index 0000000000..f37c93431c --- /dev/null +++ b/challenge-073/mark-senn/README @@ -0,0 +1 @@ +Solution by Mark Senn diff --git a/challenge-073/markus-holzer/README b/challenge-073/markus-holzer/README new file mode 100644 index 0000000000..d01b41eafd --- /dev/null +++ b/challenge-073/markus-holzer/README @@ -0,0 +1 @@ +Solutions by Markus Holzer. \ No newline at end of file diff --git a/challenge-073/martin-barth/README b/challenge-073/martin-barth/README new file mode 100644 index 0000000000..13c469f3c3 --- /dev/null +++ b/challenge-073/martin-barth/README @@ -0,0 +1 @@ +Solutions by Martin Barth. diff --git a/challenge-073/martin-mugeni/README b/challenge-073/martin-mugeni/README new file mode 100644 index 0000000000..416ca98166 --- /dev/null +++ b/challenge-073/martin-mugeni/README @@ -0,0 +1 @@ +Solution by Martin Mugeni diff --git a/challenge-073/matt-latusek/README b/challenge-073/matt-latusek/README new file mode 100644 index 0000000000..e1dc8b6e16 --- /dev/null +++ b/challenge-073/matt-latusek/README @@ -0,0 +1 @@ +Solution by Matt Latusek. diff --git a/challenge-073/matthew-persico/README b/challenge-073/matthew-persico/README new file mode 100644 index 0000000000..5aa5622296 --- /dev/null +++ b/challenge-073/matthew-persico/README @@ -0,0 +1 @@ +Solutions by Matthew O. Persico. diff --git a/challenge-073/maxim-kolodyazhny/README b/challenge-073/maxim-kolodyazhny/README new file mode 100644 index 0000000000..e5b4df7154 --- /dev/null +++ b/challenge-073/maxim-kolodyazhny/README @@ -0,0 +1 @@ +Solution by Maxim Kolodyazhny diff --git a/challenge-073/maxim-nechaev/README b/challenge-073/maxim-nechaev/README new file mode 100644 index 0000000000..0695cbfa4d --- /dev/null +++ b/challenge-073/maxim-nechaev/README @@ -0,0 +1 @@ +Solutions by Maxim Nechaev. diff --git a/challenge-073/michael-hamlin/README b/challenge-073/michael-hamlin/README new file mode 100644 index 0000000000..3c1a735306 --- /dev/null +++ b/challenge-073/michael-hamlin/README @@ -0,0 +1,5 @@ +Solutions by Michael Hamlin. + +ch-1.pl the Ackermann function grows so rapidly that I dont think I can +test the real hyperness of my code, even with GMP. + diff --git a/challenge-073/michael-schaap/README b/challenge-073/michael-schaap/README new file mode 100644 index 0000000000..db803c5d87 --- /dev/null +++ b/challenge-073/michael-schaap/README @@ -0,0 +1 @@ +Solution by Michael Schaap diff --git a/challenge-073/mike-accardo/README b/challenge-073/mike-accardo/README new file mode 100644 index 0000000000..33606072ab --- /dev/null +++ b/challenge-073/mike-accardo/README @@ -0,0 +1 @@ +Solutions by Mike Accardo. diff --git a/challenge-073/mohammad-anwar/README b/challenge-073/mohammad-anwar/README new file mode 100644 index 0000000000..d389e70c3b --- /dev/null +++ b/challenge-073/mohammad-anwar/README @@ -0,0 +1 @@ +Solutions by Mohammad S Anwar. diff --git a/challenge-073/ndelucca/README b/challenge-073/ndelucca/README new file mode 100644 index 0000000000..8285f30f94 --- /dev/null +++ b/challenge-073/ndelucca/README @@ -0,0 +1 @@ +Solutions by ndelucca. diff --git a/challenge-073/neil-bowers/README b/challenge-073/neil-bowers/README new file mode 100644 index 0000000000..9d446303df --- /dev/null +++ b/challenge-073/neil-bowers/README @@ -0,0 +1 @@ +Solution by Neil Bowers diff --git a/challenge-073/nick-logan/README b/challenge-073/nick-logan/README new file mode 100644 index 0000000000..86919ac8b8 --- /dev/null +++ b/challenge-073/nick-logan/README @@ -0,0 +1 @@ +Solution by Nick Logan diff --git a/challenge-073/nikhil-prasanna/README b/challenge-073/nikhil-prasanna/README new file mode 100644 index 0000000000..7c28d1a844 --- /dev/null +++ b/challenge-073/nikhil-prasanna/README @@ -0,0 +1 @@ +Solution by Nikhil Prasanna. diff --git a/challenge-073/noud/README b/challenge-073/noud/README new file mode 100644 index 0000000000..0b0970d708 --- /dev/null +++ b/challenge-073/noud/README @@ -0,0 +1 @@ +Solution by Noud diff --git a/challenge-073/ohmycloud/README b/challenge-073/ohmycloud/README new file mode 100644 index 0000000000..e993fafea7 --- /dev/null +++ b/challenge-073/ohmycloud/README @@ -0,0 +1 @@ +Solution by Ohmycloud diff --git a/challenge-073/oleksii-tsvietnov/README b/challenge-073/oleksii-tsvietnov/README new file mode 100644 index 0000000000..113183cc6d --- /dev/null +++ b/challenge-073/oleksii-tsvietnov/README @@ -0,0 +1 @@ +Solution by Oleksii Tsvietnov diff --git a/challenge-073/olli-antti/README b/challenge-073/olli-antti/README new file mode 100644 index 0000000000..d42520108e --- /dev/null +++ b/challenge-073/olli-antti/README @@ -0,0 +1 @@ +Solutions by Olli-Antti Kivilahti. diff --git a/challenge-073/orestis-zekai/README b/challenge-073/orestis-zekai/README new file mode 100644 index 0000000000..7e89e9dd0f --- /dev/null +++ b/challenge-073/orestis-zekai/README @@ -0,0 +1 @@ +Solutions by Orestis Zekai. diff --git a/challenge-073/ozzy/README b/challenge-073/ozzy/README new file mode 100644 index 0000000000..44e39371ef --- /dev/null +++ b/challenge-073/ozzy/README @@ -0,0 +1 @@ +Solution by Ozzy diff --git a/challenge-073/pavel-jurca/README b/challenge-073/pavel-jurca/README new file mode 100644 index 0000000000..78d131bd34 --- /dev/null +++ b/challenge-073/pavel-jurca/README @@ -0,0 +1 @@ +Solution by Pavel Jurca diff --git a/challenge-073/pavel-starikov/README b/challenge-073/pavel-starikov/README new file mode 100644 index 0000000000..67ed468ff0 --- /dev/null +++ b/challenge-073/pavel-starikov/README @@ -0,0 +1 @@ +Solutions by Pavel Starikov. diff --git a/challenge-073/perlboy1967/README b/challenge-073/perlboy1967/README new file mode 100644 index 0000000000..ae244a43c7 --- /dev/null +++ b/challenge-073/perlboy1967/README @@ -0,0 +1 @@ +Solution by Niels van Dijke. diff --git a/challenge-073/pete-houston/README b/challenge-073/pete-houston/README new file mode 100644 index 0000000000..15d44fe3a4 --- /dev/null +++ b/challenge-073/pete-houston/README @@ -0,0 +1 @@ +Solution by Pete Houston diff --git a/challenge-073/pete-sergeant/README b/challenge-073/pete-sergeant/README new file mode 100644 index 0000000000..baf8dfe304 --- /dev/null +++ b/challenge-073/pete-sergeant/README @@ -0,0 +1 @@ +Solutions by Pete Sergeant. diff --git a/challenge-073/peter-meszaros/README b/challenge-073/peter-meszaros/README new file mode 100644 index 0000000000..f1e626ba12 --- /dev/null +++ b/challenge-073/peter-meszaros/README @@ -0,0 +1 @@ +Solutions by Peter Meszaros. diff --git a/challenge-073/peter-scott/README b/challenge-073/peter-scott/README new file mode 100644 index 0000000000..6b54fbe7a7 --- /dev/null +++ b/challenge-073/peter-scott/README @@ -0,0 +1 @@ +Solutions by Peter Scott. diff --git a/challenge-073/petr-roubicek/README b/challenge-073/petr-roubicek/README new file mode 100644 index 0000000000..c846fe0f55 --- /dev/null +++ b/challenge-073/petr-roubicek/README @@ -0,0 +1 @@ +Solutions by Petr Roubicek. diff --git a/challenge-073/philippe-bruhat/README b/challenge-073/philippe-bruhat/README new file mode 100644 index 0000000000..0bf3aeed05 --- /dev/null +++ b/challenge-073/philippe-bruhat/README @@ -0,0 +1 @@ +Solution by Philippe Bruhat diff --git a/challenge-073/phillip-harris/README b/challenge-073/phillip-harris/README new file mode 100644 index 0000000000..3636cf47d8 --- /dev/null +++ b/challenge-073/phillip-harris/README @@ -0,0 +1 @@ +Solution by Phillip Harris. diff --git a/challenge-073/plis-acm/.gitignore b/challenge-073/plis-acm/.gitignore new file mode 100644 index 0000000000..b25c15b81f --- /dev/null +++ b/challenge-073/plis-acm/.gitignore @@ -0,0 +1 @@ +*~ diff --git a/challenge-073/plis-acm/README b/challenge-073/plis-acm/README new file mode 100644 index 0000000000..6ebeaf2efb --- /dev/null +++ b/challenge-073/plis-acm/README @@ -0,0 +1 @@ +Solution by plis-acm. diff --git a/challenge-073/prajith-p/README b/challenge-073/prajith-p/README new file mode 100644 index 0000000000..20517308f8 --- /dev/null +++ b/challenge-073/prajith-p/README @@ -0,0 +1 @@ +Solution by Prajith P diff --git a/challenge-073/rage311/README b/challenge-073/rage311/README new file mode 100644 index 0000000000..8277c95e21 --- /dev/null +++ b/challenge-073/rage311/README @@ -0,0 +1 @@ +Solution by rage311 diff --git a/challenge-073/randy-lauen/README b/challenge-073/randy-lauen/README new file mode 100644 index 0000000000..17fac69a1c --- /dev/null +++ b/challenge-073/randy-lauen/README @@ -0,0 +1 @@ +Solution by Randy Lauen diff --git a/challenge-073/richard-park/README b/challenge-073/richard-park/README new file mode 100644 index 0000000000..f9814e8239 --- /dev/null +++ b/challenge-073/richard-park/README @@ -0,0 +1 @@ +Solutions by Richard Park. diff --git a/challenge-073/rnuttall/README b/challenge-073/rnuttall/README new file mode 100644 index 0000000000..c6358313dc --- /dev/null +++ b/challenge-073/rnuttall/README @@ -0,0 +1 @@ +Solution by Richard Nuttall \ No newline at end of file diff --git a/challenge-073/rob-van-dam/README b/challenge-073/rob-van-dam/README new file mode 100644 index 0000000000..d0e17767f8 --- /dev/null +++ b/challenge-073/rob-van-dam/README @@ -0,0 +1 @@ +Solution by Rob Van Dam diff --git a/challenge-073/rob4t/README b/challenge-073/rob4t/README new file mode 100644 index 0000000000..787d89fa0a --- /dev/null +++ b/challenge-073/rob4t/README @@ -0,0 +1 @@ +Solution by Robert Gratza diff --git a/challenge-073/roger-bell-west/README b/challenge-073/roger-bell-west/README new file mode 100644 index 0000000000..245784dce5 --- /dev/null +++ b/challenge-073/roger-bell-west/README @@ -0,0 +1 @@ +Solutions by Roger Bell West. diff --git a/challenge-073/ruben-westerberg/README b/challenge-073/ruben-westerberg/README new file mode 100644 index 0000000000..f5785b52b9 --- /dev/null +++ b/challenge-073/ruben-westerberg/README @@ -0,0 +1,9 @@ +Solution by Ruben Westerberg + +ch-1.pl and ch-1.raku +=================== +Inverts a a binary tree. No pretty print though.... :( + +ch-2.pl and ch-2.raku +=================== +Finds the shortest unique prefix from a list of words diff --git a/challenge-073/ryan-thompson/README.md b/challenge-073/ryan-thompson/README.md new file mode 100644 index 0000000000..698e3ee64f --- /dev/null +++ b/challenge-073/ryan-thompson/README.md @@ -0,0 +1,19 @@ +# Ryan Thompson + +## Week 056 Solutions + +### Task 1 › Diff-K + + * [Perl](perl/ch-1.pl) + * [Raku](raku/ch-1.p6) + +### Task 2 › Path Sum + + * [Perl](perl/ch-2.pl) + * [Raku](raku/ch-2.p6) + +## Blogs + + * [Diff-K](https://ry.ca/2020/04/diff-k/) + * [Path Sum](https://ry.ca/2020/04/path-sum/) + diff --git a/challenge-073/saiftynet/README b/challenge-073/saiftynet/README new file mode 100644 index 0000000000..0e8a992778 --- /dev/null +++ b/challenge-073/saiftynet/README @@ -0,0 +1 @@ +Solution by saiftynet diff --git a/challenge-073/sangeet-kar/README b/challenge-073/sangeet-kar/README new file mode 100644 index 0000000000..268cc9355d --- /dev/null +++ b/challenge-073/sangeet-kar/README @@ -0,0 +1 @@ +Solutions by Sangeet Kar. diff --git a/challenge-073/sean-meininger/README b/challenge-073/sean-meininger/README new file mode 100644 index 0000000000..8ca81e00a0 --- /dev/null +++ b/challenge-073/sean-meininger/README @@ -0,0 +1 @@ +Solution by Sean Meininger diff --git a/challenge-073/sergiotarxz/README b/challenge-073/sergiotarxz/README new file mode 100644 index 0000000000..6aac3baa4f --- /dev/null +++ b/challenge-073/sergiotarxz/README @@ -0,0 +1 @@ +Solution by Sergio Iglesias. diff --git a/challenge-073/sgreen/README.md b/challenge-073/sgreen/README.md new file mode 100644 index 0000000000..6dec32d966 --- /dev/null +++ b/challenge-073/sgreen/README.md @@ -0,0 +1,39 @@ +# Perl Weekly Challenge 072 + +Solution by Simon Green. + +No solutions for last