From 7f103dc8430b8194e2d5d96c5d675a9d9fff20f2 Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Mon, 11 Oct 2021 08:39:15 +0100 Subject: - Added template for week 134. --- challenge-134/3ter/README | 1 + challenge-134/LoneWolfiNTj/README | 1 + challenge-134/aaron-rowe/README | 1 + challenge-134/aaron-sherman/README | 1 + challenge-134/aaronreidsmith/README | 1 + challenge-134/abigail/README.md | 10 + challenge-134/adam-russell/README | 1 + challenge-134/adherzog/README | 1 + challenge-134/ailbhe-tweedie/README | 1 + challenge-134/alex-daniel/README | 1 + challenge-134/alexander-karelas/README | 1 + challenge-134/alexander-pankoff/README | 1 + challenge-134/alicia-bielsa/README | 1 + challenge-134/andinus/README | 81 ++++++++ challenge-134/andrezgz/README | 1 + challenge-134/anton-fedotov/README | 1 + challenge-134/antonio-gamiz/README | 1 + challenge-134/arne-sommer/README | 1 + challenge-134/arpad-toth/README | 1 + challenge-134/ash/README | 1 + challenge-134/athanasius/README | 1 + challenge-134/aubrey-quarcoo/README | 1 + challenge-134/aviral-goel/README | 1 + challenge-134/belmark-caday/README | 1 + challenge-134/ben-davies/README.md | 1 + challenge-134/bill-palmer/README | 1 + challenge-134/bkb/README | 1 + challenge-134/bob-kleemann/README | 1 + challenge-134/bob-lied/README | 3 + challenge-134/brtastic/README | 1 + challenge-134/bruce-gray/README | 1 + challenge-134/bruno-ramos/README | 1 + challenge-134/burkhard-nickels/README | 1 + challenge-134/bwva/README | 1 + challenge-134/cheok-yin-fung/README | 1 + challenge-134/christian-jaeger/README | 1 + challenge-134/cliveholloway/README | 1 + challenge-134/colin-crain/README | 1 + challenge-134/craig/README | 1 + challenge-134/creewick/README | 1 + challenge-134/cristian-heredia/README | 1 + challenge-134/cybersnyder/README | 1 + challenge-134/daniel-mantovani/README | 1 + challenge-134/daniel-mita/README | 1 + challenge-134/darren-bottin/README | 1 + challenge-134/dave-cross/README | 1 + challenge-134/dave-jacoby/README | 1 + challenge-134/david-kayal/README | 1 + challenge-134/ddobbelaere/README | 1 + challenge-134/deadmarshal/README | 1 + challenge-134/denis-yurashku/README | 1 + challenge-134/dms061/readme | 8 + challenge-134/donald-hunter/README | 1 + challenge-134/doug-schrag/README | 1 + challenge-134/dracos/README | 1 + challenge-134/duane-powell/README | 1 + challenge-134/duncan-c-white/README | 44 +++++ challenge-134/e-choroba/README | 1 + challenge-134/ealvar3z/README | 1 + challenge-134/eddy-hs/README | 1 + challenge-134/eric-cheung/README | 1 + challenge-134/fabrizio-poggi/README | 1 + challenge-134/feng-chang/README | 1 + challenge-134/finanalyst/README | 1 + challenge-134/finley/README | 1 + challenge-134/fjwhittle/README | 1 + challenge-134/frankivo/README | 1 + challenge-134/fred-zinn/README | 1 + challenge-134/freddie-b/README | 1 + challenge-134/garrett-goebel/README | 1 + challenge-134/giuseppe-terlizzi/README | 1 + challenge-134/gugod/README | 1 + challenge-134/gugod/rust/.gitignore | 2 + challenge-134/guillermo-ramos/README | 1 + challenge-134/gurunandan-bhat/README | 1 + challenge-134/gustavo-chaves/README | 1 + challenge-134/hatorikibble/README | 1 + challenge-134/hauke-d/README | 1 + challenge-134/henry-wong/README | 1 + challenge-134/hstejas/README | 1 + challenge-134/iangoodnight/README.md | 1 + challenge-134/ianrifkin/README | 1 + challenge-134/izifresh/README | 1 + challenge-134/jacques-guinnebault/README | 1 + challenge-134/jaime/README | 59 ++++++ challenge-134/jaldhar-h-vyas/README | 1 + challenge-134/james-raspass/README | 1 + challenge-134/james-smith/README.md | 189 ++++++++++++++++++ challenge-134/jan-perl/README | 1 + challenge-134/jaredor/README | 1 + challenge-134/jason-messer/README | 1 + challenge-134/javier-luque/README | 1 + challenge-134/jbourlakos/README | 1 + challenge-134/jcrosswh/README | 1 + challenge-134/jdos22/README | 1 + challenge-134/jeff/README | 1 + challenge-134/jeongoon/.gitignore | 5 + challenge-134/jeongoon/README | 1 + challenge-134/jeremy-carman/README | 1 + challenge-134/jim-bacon/README | 1 + challenge-134/jitu-keshwani/README | 1 + challenge-134/jj-merelo/README | 1 + challenge-134/jluis/README | 1 + challenge-134/jo-37/README | 1 + challenge-134/jo-christian-oterhals/README | 1 + challenge-134/joe-tym/README | 1 + challenge-134/joelle-maslak/README | 1 + challenge-134/john-barrett/README | 1 + challenge-134/jokraft/README | 1 + challenge-134/juan-caballero/README | 1 + challenge-134/julien-fiegehenn/README | 1 + challenge-134/juliodcs/README | 1 + challenge-134/kai-burgdorf/README.md | 1 + challenge-134/kevin-colyer/README | 3 + challenge-134/khalid/README | 1 + challenge-134/kian-meng-ang/README | 1 + challenge-134/kiran-kumar/README | 1 + challenge-134/kivanc-yazan/.gitignore | 2 + challenge-134/kivanc-yazan/README | 1 + challenge-134/kjetillll/README | 1 + challenge-134/kordaff/README | 1 + challenge-134/kostas-giannakakis/README | 1 + challenge-134/kurkale6ka/README | 1 + challenge-134/lance-wicks/README | 1 + challenge-134/lars-balker/README | 1 + challenge-134/lars-thegler/README | 1 + challenge-134/laurent-rosenfeld/README | 1 + challenge-134/leoltron/README | 1 + challenge-134/lubos-kolouch/README | 1 + challenge-134/luc65r/README | 1 + challenge-134/luca-ferrari/README | 1 + challenge-134/magnus-woldrich/README | 1 + challenge-134/manfredi/README | 1 + challenge-134/mano-chandar/README | 1 + challenge-134/mark-anderson/README | 1 + challenge-134/mark-senn/README | 1 + challenge-134/markjreed/README | 6 + challenge-134/markus-holzer/README | 1 + challenge-134/martin-barth/README | 1 + challenge-134/martin-mugeni/README | 1 + challenge-134/mathmauney/README | 1 + challenge-134/matt-latusek/README | 1 + challenge-134/matthew-persico/README | 1 + challenge-134/mattneleigh/README | 1 + challenge-134/maxim-kolodyazhny/README | 1 + challenge-134/maxim-nechaev/README | 1 + challenge-134/michael-hamlin/README | 5 + challenge-134/michael-schaap/README | 1 + challenge-134/mihail-iosilevitch/README | 1 + challenge-134/mike-accardo/README | 1 + challenge-134/mimosinnet/README | 1 + challenge-134/mohammad-anwar/README | 1 + challenge-134/ndelucca/README | 1 + challenge-134/neil-bowers/README | 1 + challenge-134/nick-logan/README | 1 + challenge-134/nikhil-prasanna/README | 1 + challenge-134/noud/README | 1 + challenge-134/nunovieira220/README | 1 + challenge-134/ohmycloud/README | 1 + challenge-134/oleksii-tsvietnov/README | 1 + challenge-134/olivier-delouya/README | 1 + challenge-134/olli-antti/README | 1 + challenge-134/orestis-zekai/README | 1 + challenge-134/ozzy/README | 1 + challenge-134/p6steve/README | 1 + challenge-134/pablo-saavedra/README | 1 + challenge-134/paul-fajman/README | 1 + challenge-134/paulo-custodio/README | 1 + challenge-134/pavel-jurca/README | 1 + challenge-134/pavel-starikov/README | 1 + challenge-134/pavel_kuptsov/README | 2 + challenge-134/perlboy1967/README | 1 + challenge-134/pete-houston/README | 1 + challenge-134/pete-sergeant/README | 1 + challenge-134/peter-campbell-smith/README | 1 + challenge-134/peter-meszaros/README | 1 + challenge-134/peter-scott/README | 1 + challenge-134/petr-roubicek/README | 1 + challenge-134/philippe-bruhat/README | 1 + challenge-134/phillip-harris/README | 1 + challenge-134/pjdurai/README | 1 + challenge-134/pkmnx/README | 1 + challenge-134/plis-acm/.gitignore | 1 + challenge-134/plis-acm/README | 1 + challenge-134/polettix/README | 1 + challenge-134/polettix/perl/.gitignore | 1 + challenge-134/polettix/raku/.leaveme | 0 challenge-134/prajith-p/README | 1 + challenge-134/rage311/README | 1 + challenge-134/rakulius/README | 1 + challenge-134/randy-lauen/README | 1 + challenge-134/richard-park/README | 1 + challenge-134/rnuttall/README | 1 + challenge-134/rob-van-dam/README | 1 + challenge-134/rob4t/README | 1 + challenge-134/roger-bell-west/README | 1 + challenge-134/ruben-westerberg/README | 9 + challenge-134/ryan-thompson/README.md | 19 ++ challenge-134/saiftynet/README | 1 + challenge-134/samir-parikh/README | 1 + challenge-134/sangeet-kar/README | 1 + challenge-134/sean-meininger/README | 1 + challenge-134/sergiotarxz/README | 1 + challenge-134/sgreen/README.md | 3 + challenge-134/shahed-nooshmand/README | 1 + challenge-134/shardiwal/README | 1 + challenge-134/shaun-pearce/README | 1 + challenge-134/shawak/README.md | 1 + challenge-134/shawn-wagner/README | 1 + challenge-134/simon-miner/README | 1 + challenge-134/simon-proctor/README | 1 + challenge-134/simon-reinhardt/README | 1 + challenge-134/sol-demuth/README | 1 + challenge-134/southpawgeek/README | 1 + challenge-134/stephanie-stein/README | 1 + challenge-134/steve-bresson/README | 1 + challenge-134/steve-rogerson/README | 1 + challenge-134/steven-lembark/README | 1 + challenge-134/steven-wilson/README | 1 + challenge-134/stuart-little/README | 1 + challenge-134/svetlana-nesterova/README | 1 + challenge-134/swaggboi/README | 1 + challenge-134/szabgab/README | 1 + challenge-134/ted-leahy/README | 1 + challenge-134/testerR59/README | 1 + challenge-134/tiago-stock/README | 1 + challenge-134/tim-smith/README | 1 + challenge-134/tore-andersson/README | 1 + challenge-134/trenton-langer/README | 1 + challenge-134/tyler-limkemann/README | 1 + challenge-134/tyler-wardhaugh/README | 1 + challenge-134/tyler-wardhaugh/clojure/.gitignore | 15 ++ challenge-134/tyler-wardhaugh/clojure/LICENSE | 214 +++++++++++++++++++++ challenge-134/tyler-wardhaugh/clojure/README.md | 48 +++++ challenge-134/tyler-wardhaugh/clojure/bb.edn | 89 +++++++++ challenge-134/tyler-wardhaugh/clojure/deps.edn | 14 ++ challenge-134/tyler-wardhaugh/clojure/pom.xml | 44 +++++ .../tyler-wardhaugh/clojure/resources/.keep | 0 challenge-134/tyler-wardhaugh/python/.gitignore | 24 +++ challenge-134/tyler-wardhaugh/python/Makefile | 13 ++ challenge-134/ulrich-rieke/README | 1 + challenge-134/user-person/README | 1 + challenge-134/uzluisf/README | 1 + challenge-134/veesh-goldman/README | 1 + challenge-134/vinod-k/README | 1 + challenge-134/vinod-pal/README | 1 + challenge-134/vyacheslav-volgarev/README | 1 + challenge-134/walt-mankowski/README.md | 58 ++++++ challenge-134/walt-mankowski/c/.gitignore | 2 + challenge-134/walt-mankowski/cpp/.gitignore | 2 + .../walt-mankowski/python/.python-version | 1 + challenge-134/wambash/README | 1 + challenge-134/wanderdoc/README | 1 + challenge-134/will-west/README | 1 + challenge-134/william-gilmore/README | 1 + challenge-134/wlmb/README | 1 + challenge-134/x1mandi/README | 1 + challenge-134/xkr47/README | 11 ++ challenge-134/xliff/README | 1 + challenge-134/yary-h/README | 1 + challenge-134/yet-ebreo/README | 1 + challenge-134/yozen-hernandez/README | 1 + challenge-134/ziameraj16/README.md | 58 ++++++ .../ziameraj16/kotlin/META-INF/main.kotlin_module | Bin 0 -> 24 bytes challenge-134/ziruzavar/README | 1 + script/clean-up-dir.sh | 1 + 266 files changed, 1275 insertions(+) create mode 100644 challenge-134/3ter/README create mode 100755 challenge-134/LoneWolfiNTj/README create mode 100644 challenge-134/aaron-rowe/README create mode 100644 challenge-134/aaron-sherman/README create mode 100644 challenge-134/aaronreidsmith/README create mode 100644 challenge-134/abigail/README.md create mode 100644 challenge-134/adam-russell/README create mode 100644 challenge-134/adherzog/README create mode 100644 challenge-134/ailbhe-tweedie/README create mode 100644 challenge-134/alex-daniel/README create mode 100644 challenge-134/alexander-karelas/README create mode 100644 challenge-134/alexander-pankoff/README create mode 100644 challenge-134/alicia-bielsa/README create mode 100644 challenge-134/andinus/README create mode 100644 challenge-134/andrezgz/README create mode 100644 challenge-134/anton-fedotov/README create mode 100644 challenge-134/antonio-gamiz/README create mode 100644 challenge-134/arne-sommer/README create mode 100644 challenge-134/arpad-toth/README create mode 100644 challenge-134/ash/README create mode 100644 challenge-134/athanasius/README create mode 100644 challenge-134/aubrey-quarcoo/README create mode 100644 challenge-134/aviral-goel/README create mode 100644 challenge-134/belmark-caday/README create mode 100644 challenge-134/ben-davies/README.md create mode 100644 challenge-134/bill-palmer/README create mode 100644 challenge-134/bkb/README create mode 100644 challenge-134/bob-kleemann/README create mode 100644 challenge-134/bob-lied/README create mode 100644 challenge-134/brtastic/README create mode 100644 challenge-134/bruce-gray/README create mode 100644 challenge-134/bruno-ramos/README create mode 100644 challenge-134/burkhard-nickels/README create mode 100644 challenge-134/bwva/README create mode 100644 challenge-134/cheok-yin-fung/README create mode 100644 challenge-134/christian-jaeger/README create mode 100644 challenge-134/cliveholloway/README create mode 100644 challenge-134/colin-crain/README create mode 100644 challenge-134/craig/README create mode 100644 challenge-134/creewick/README create mode 100644 challenge-134/cristian-heredia/README create mode 100644 challenge-134/cybersnyder/README create mode 100644 challenge-134/daniel-mantovani/README create mode 100644 challenge-134/daniel-mita/README create mode 100644 challenge-134/darren-bottin/README create mode 100644 challenge-134/dave-cross/README create mode 100644 challenge-134/dave-jacoby/README create mode 100644 challenge-134/david-kayal/README create mode 100644 challenge-134/ddobbelaere/README create mode 100644 challenge-134/deadmarshal/README create mode 100644 challenge-134/denis-yurashku/README create mode 100644 challenge-134/dms061/readme create mode 100644 challenge-134/donald-hunter/README create mode 100644 challenge-134/doug-schrag/README create mode 100644 challenge-134/dracos/README create mode 100644 challenge-134/duane-powell/README create mode 100644 challenge-134/duncan-c-white/README create mode 100644 challenge-134/e-choroba/README create mode 100644 challenge-134/ealvar3z/README create mode 100644 challenge-134/eddy-hs/README create mode 100644 challenge-134/eric-cheung/README create mode 100644 challenge-134/fabrizio-poggi/README create mode 100644 challenge-134/feng-chang/README create mode 100644 challenge-134/finanalyst/README create mode 100644 challenge-134/finley/README create mode 100644 challenge-134/fjwhittle/README create mode 100644 challenge-134/frankivo/README create mode 100644 challenge-134/fred-zinn/README create mode 100644 challenge-134/freddie-b/README create mode 100644 challenge-134/garrett-goebel/README create mode 100644 challenge-134/giuseppe-terlizzi/README create mode 100644 challenge-134/gugod/README create mode 100644 challenge-134/gugod/rust/.gitignore create mode 100644 challenge-134/guillermo-ramos/README create mode 100644 challenge-134/gurunandan-bhat/README create mode 100644 challenge-134/gustavo-chaves/README create mode 100644 challenge-134/hatorikibble/README create mode 100644 challenge-134/hauke-d/README create mode 100644 challenge-134/henry-wong/README create mode 100644 challenge-134/hstejas/README create mode 100644 challenge-134/iangoodnight/README.md create mode 100644 challenge-134/ianrifkin/README create mode 100644 challenge-134/izifresh/README create mode 100644 challenge-134/jacques-guinnebault/README create mode 100644 challenge-134/jaime/README create mode 100644 challenge-134/jaldhar-h-vyas/README create mode 100644 challenge-134/james-raspass/README create mode 100644 challenge-134/james-smith/README.md create mode 100644 challenge-134/jan-perl/README create mode 100644 challenge-134/jaredor/README create mode 100644 challenge-134/jason-messer/README create mode 100644 challenge-134/javier-luque/README create mode 100644 challenge-134/jbourlakos/README create mode 100644 challenge-134/jcrosswh/README create mode 100644 challenge-134/jdos22/README create mode 100644 challenge-134/jeff/README create mode 100644 challenge-134/jeongoon/.gitignore create mode 100644 challenge-134/jeongoon/README create mode 100644 challenge-134/jeremy-carman/README create mode 100644 challenge-134/jim-bacon/README create mode 100644 challenge-134/jitu-keshwani/README create mode 100644 challenge-134/jj-merelo/README create mode 100644 challenge-134/jluis/README create mode 100644 challenge-134/jo-37/README create mode 100644 challenge-134/jo-christian-oterhals/README create mode 100644 challenge-134/joe-tym/README create mode 100644 challenge-134/joelle-maslak/README create mode 100644 challenge-134/john-barrett/README create mode 100644 challenge-134/jokraft/README create mode 100644 challenge-134/juan-caballero/README create mode 100644 challenge-134/julien-fiegehenn/README create mode 100644 challenge-134/juliodcs/README create mode 100644 challenge-134/kai-burgdorf/README.md create mode 100644 challenge-134/kevin-colyer/README create mode 100644 challenge-134/khalid/README create mode 100644 challenge-134/kian-meng-ang/README create mode 100644 challenge-134/kiran-kumar/README create mode 100644 challenge-134/kivanc-yazan/.gitignore create mode 100644 challenge-134/kivanc-yazan/README create mode 100644 challenge-134/kjetillll/README create mode 100644 challenge-134/kordaff/README create mode 100644 challenge-134/kostas-giannakakis/README create mode 100644 challenge-134/kurkale6ka/README create mode 100644 challenge-134/lance-wicks/README create mode 100644 challenge-134/lars-balker/README create mode 100644 challenge-134/lars-thegler/README create mode 100644 challenge-134/laurent-rosenfeld/README create mode 100644 challenge-134/leoltron/README create mode 100644 challenge-134/lubos-kolouch/README create mode 100644 challenge-134/luc65r/README create mode 100644 challenge-134/luca-ferrari/README create mode 100644 challenge-134/magnus-woldrich/README create mode 100644 challenge-134/manfredi/README create mode 100644 challenge-134/mano-chandar/README create mode 100644 challenge-134/mark-anderson/README create mode 100644 challenge-134/mark-senn/README create mode 100644 challenge-134/markjreed/README create mode 100644 challenge-134/markus-holzer/README create mode 100644 challenge-134/martin-barth/README create mode 100644 challenge-134/martin-mugeni/README create mode 100644 challenge-134/mathmauney/README create mode 100644 challenge-134/matt-latusek/README create mode 100644 challenge-134/matthew-persico/README create mode 100644 challenge-134/mattneleigh/README create mode 100644 challenge-134/maxim-kolodyazhny/README create mode 100644 challenge-134/maxim-nechaev/README create mode 100644 challenge-134/michael-hamlin/README create mode 100644 challenge-134/michael-schaap/README create mode 100644 challenge-134/mihail-iosilevitch/README create mode 100644 challenge-134/mike-accardo/README create mode 100644 challenge-134/mimosinnet/README create mode 100644 challenge-134/mohammad-anwar/README create mode 100644 challenge-134/ndelucca/README create mode 100644 challenge-134/neil-bowers/README create mode 100644 challenge-134/nick-logan/README create mode 100644 challenge-134/nikhil-prasanna/README create mode 100644 challenge-134/noud/README create mode 100644 challenge-134/nunovieira220/README create mode 100644 challenge-134/ohmycloud/README create mode 100644 challenge-134/oleksii-tsvietnov/README create mode 100644 challenge-134/olivier-delouya/README create mode 100644 challenge-134/olli-antti/README create mode 100644 challenge-134/orestis-zekai/README create mode 100644 challenge-134/ozzy/README create mode 100644 challenge-134/p6steve/README create mode 100644 challenge-134/pablo-saavedra/README create mode 100644 challenge-134/paul-fajman/README create mode 100644 challenge-134/paulo-custodio/README create mode 100644 challenge-134/pavel-jurca/README create mode 100644 challenge-134/pavel-starikov/README create mode 100644 challenge-134/pavel_kuptsov/README create mode 100644 challenge-134/perlboy1967/README create mode 100644 challenge-134/pete-houston/README create mode 100644 challenge-134/pete-sergeant/README create mode 100644 challenge-134/peter-campbell-smith/README create mode 100644 challenge-134/peter-meszaros/README create mode 100644 challenge-134/peter-scott/README create mode 100644 challenge-134/petr-roubicek/README create mode 100644 challenge-134/philippe-bruhat/README create mode 100644 challenge-134/phillip-harris/README create mode 100644 challenge-134/pjdurai/README create mode 100644 challenge-134/pkmnx/README create mode 100644 challenge-134/plis-acm/.gitignore create mode 100644 challenge-134/plis-acm/README create mode 100644 challenge-134/polettix/README create mode 100644 challenge-134/polettix/perl/.gitignore create mode 100644 challenge-134/polettix/raku/.leaveme create mode 100644 challenge-134/prajith-p/README create mode 100644 challenge-134/rage311/README create mode 100644 challenge-134/rakulius/README create mode 100644 challenge-134/randy-lauen/README create mode 100644 challenge-134/richard-park/README create mode 100644 challenge-134/rnuttall/README create mode 100644 challenge-134/rob-van-dam/README create mode 100644 challenge-134/rob4t/README create mode 100644 challenge-134/roger-bell-west/README create mode 100644 challenge-134/ruben-westerberg/README create mode 100644 challenge-134/ryan-thompson/README.md create mode 100644 challenge-134/saiftynet/README create mode 100644 challenge-134/samir-parikh/README create mode 100644 challenge-134/sangeet-kar/README create mode 100644 challenge-134/sean-meininger/README create mode 100644 challenge-134/sergiotarxz/README create mode 100644 challenge-134/sgreen/README.md create mode 100644 challenge-134/shahed-nooshmand/README create mode 100644 challenge-134/shardiwal/README create mode 100644 challenge-134/shaun-pearce/README create mode 100644 challenge-134/shawak/README.md create mode 100644 challenge-134/shawn-wagner/README create mode 100644 challenge-134/simon-miner/README create mode 100644 challenge-134/simon-proctor/README create mode 100644 challenge-134/simon-reinhardt/README create mode 100644 challenge-134/sol-demuth/README create mode 100644 challenge-134/southpawgeek/README create mode 100644 challenge-134/stephanie-stein/README create mode 100644 challenge-134/steve-bresson/README create mode 100644 challenge-134/steve-rogerson/README create mode 100644 challenge-134/steven-lembark/README create mode 100644 challenge-134/steven-wilson/README create mode 100644 challenge-134/stuart-little/README create mode 100644 challenge-134/svetlana-nesterova/README create mode 100644 challenge-134/swaggboi/README create mode 100644 challenge-134/szabgab/README create mode 100644 challenge-134/ted-leahy/README create mode 100644 challenge-134/testerR59/README create mode 100644 challenge-134/tiago-stock/README create mode 100644 challenge-134/tim-smith/README create mode 100644 challenge-134/tore-andersson/README create mode 100644 challenge-134/trenton-langer/README create mode 100644 challenge-134/tyler-limkemann/README create mode 100644 challenge-134/tyler-wardhaugh/README create mode 100644 challenge-134/tyler-wardhaugh/clojure/.gitignore create mode 100644 challenge-134/tyler-wardhaugh/clojure/LICENSE create mode 100644 challenge-134/tyler-wardhaugh/clojure/README.md create mode 100644 challenge-134/tyler-wardhaugh/clojure/bb.edn create mode 100644 challenge-134/tyler-wardhaugh/clojure/deps.edn create mode 100644 challenge-134/tyler-wardhaugh/clojure/pom.xml create mode 100644 challenge-134/tyler-wardhaugh/clojure/resources/.keep create mode 100644 challenge-134/tyler-wardhaugh/python/.gitignore create mode 100644 challenge-134/tyler-wardhaugh/python/Makefile create mode 100644 challenge-134/ulrich-rieke/README create mode 100644 challenge-134/user-person/README create mode 100644 challenge-134/uzluisf/README create mode 100644 challenge-134/veesh-goldman/README create mode 100644 challenge-134/vinod-k/README create mode 100644 challenge-134/vinod-pal/README create mode 100644 challenge-134/vyacheslav-volgarev/README create mode 100644 challenge-134/walt-mankowski/README.md create mode 100644 challenge-134/walt-mankowski/c/.gitignore create mode 100644 challenge-134/walt-mankowski/cpp/.gitignore create mode 100644 challenge-134/walt-mankowski/python/.python-version create mode 100644 challenge-134/wambash/README create mode 100644 challenge-134/wanderdoc/README create mode 100644 challenge-134/will-west/README create mode 100644 challenge-134/william-gilmore/README create mode 100644 challenge-134/wlmb/README create mode 100644 challenge-134/x1mandi/README create mode 100644 challenge-134/xkr47/README create mode 100644 challenge-134/xliff/README create mode 100644 challenge-134/yary-h/README create mode 100644 challenge-134/yet-ebreo/README create mode 100644 challenge-134/yozen-hernandez/README create mode 100644 challenge-134/ziameraj16/README.md create mode 100644 challenge-134/ziameraj16/kotlin/META-INF/main.kotlin_module create mode 100644 challenge-134/ziruzavar/README diff --git a/challenge-134/3ter/README b/challenge-134/3ter/README new file mode 100644 index 0000000000..8c594431f3 --- /dev/null +++ b/challenge-134/3ter/README @@ -0,0 +1 @@ +Solutions by 3ter. diff --git a/challenge-134/LoneWolfiNTj/README b/challenge-134/LoneWolfiNTj/README new file mode 100755 index 0000000000..bf42ad2482 --- /dev/null +++ b/challenge-134/LoneWolfiNTj/README @@ -0,0 +1 @@ +Solution by Robbie Hatley (github user "LoneWolfiNTj"). \ No newline at end of file diff --git a/challenge-134/aaron-rowe/README b/challenge-134/aaron-rowe/README new file mode 100644 index 0000000000..e14e0782fb --- /dev/null +++ b/challenge-134/aaron-rowe/README @@ -0,0 +1 @@ +Solutions by Aaron Rowe. diff --git a/challenge-134/aaron-sherman/README b/challenge-134/aaron-sherman/README new file mode 100644 index 0000000000..14ec31f570 --- /dev/null +++ b/challenge-134/aaron-sherman/README @@ -0,0 +1 @@ +Solutions by Aaron Sherman. diff --git a/challenge-134/aaronreidsmith/README b/challenge-134/aaronreidsmith/README new file mode 100644 index 0000000000..2fcfe1fdcc --- /dev/null +++ b/challenge-134/aaronreidsmith/README @@ -0,0 +1 @@ +Solution by Aaron Smith diff --git a/challenge-134/abigail/README.md b/challenge-134/abigail/README.md new file mode 100644 index 0000000000..d51d3d73e2 --- /dev/null +++ b/challenge-134/abigail/README.md @@ -0,0 +1,10 @@ +# Solutions by Abigail + +## Part 1 + +* [Perl](perl/ch-1.pl) + +## Part 2 + +* [C](c/ch-2.c) +* [Perl](perl/ch-2.pl) diff --git a/challenge-134/adam-russell/README b/challenge-134/adam-russell/README new file mode 100644 index 0000000000..1d2e2957c5 --- /dev/null +++ b/challenge-134/adam-russell/README @@ -0,0 +1 @@ +Solution by Adam Russell diff --git a/challenge-134/adherzog/README b/challenge-134/adherzog/README new file mode 100644 index 0000000000..b59913be6c --- /dev/null +++ b/challenge-134/adherzog/README @@ -0,0 +1 @@ +Solutions by Adam Herzog. diff --git a/challenge-134/ailbhe-tweedie/README b/challenge-134/ailbhe-tweedie/README new file mode 100644 index 0000000000..36d4034b70 --- /dev/null +++ b/challenge-134/ailbhe-tweedie/README @@ -0,0 +1 @@ +Solution by Ailbhe Tweedie diff --git a/challenge-134/alex-daniel/README b/challenge-134/alex-daniel/README new file mode 100644 index 0000000000..65550789bd --- /dev/null +++ b/challenge-134/alex-daniel/README @@ -0,0 +1 @@ +Solution by Alex Daniel. diff --git a/challenge-134/alexander-karelas/README b/challenge-134/alexander-karelas/README new file mode 100644 index 0000000000..3de9fce8d9 --- /dev/null +++ b/challenge-134/alexander-karelas/README @@ -0,0 +1 @@ +Solution by Alexander Karelas diff --git a/challenge-134/alexander-pankoff/README b/challenge-134/alexander-pankoff/README new file mode 100644 index 0000000000..41f67807ac --- /dev/null +++ b/challenge-134/alexander-pankoff/README @@ -0,0 +1 @@ +Solution by Alexander Pankoff diff --git a/challenge-134/alicia-bielsa/README b/challenge-134/alicia-bielsa/README new file mode 100644 index 0000000000..c5187874c3 --- /dev/null +++ b/challenge-134/alicia-bielsa/README @@ -0,0 +1 @@ +Solution by Alicia Beilsa. diff --git a/challenge-134/andinus/README b/challenge-134/andinus/README new file mode 100644 index 0000000000..93034423ed --- /dev/null +++ b/challenge-134/andinus/README @@ -0,0 +1,81 @@ + ━━━━━━━━━━━━━━━ + CHALLENGE 133 + + Andinus + ━━━━━━━━━━━━━━━ + + + 2021-10-04 + + + + + +Task 1 - Integer Square Root +════════════════════════════ + + You are given a positive integer `$N'. + + Write a script to calculate the integer square root of the given + number. + + Please avoid using built-in function. Find out more about it [here]. + + ┌──── + │ Input: $N = 10 + │ Output: 3 + │ + │ Input: $N = 27 + │ Output: 5 + │ + │ Input: $N = 85 + │ Output: 9 + │ + │ Input: $N = 101 + │ Output: 10 + └──── + + +[here] + +Raku +──── + + • Program: + + Initial estimate is set to `$n +> 1', then we loop infinitely until + previous 2 estimates are equal. + + ┌──── + │ my $x = $n +> 1; + │ loop { + │ given ($x + ($n / $x)) / 2 { + │ last if $x == $_; + │ $x = $_; + │ } + │ } + │ put $x; + └──── + + +C +─ + + • Program: + + `argv' holds the input & `argc' holds the number of inputs. The input + should be a single integer so `argc' should be equal to 2. After + checking for that, we check if valid value was passed. + + Loop until previous 2 estimates are equal. + + ┌──── + │ double x = num >> 1; + │ for (;;) { + │ double x_next = (x + (num / x)) / 2; + │ if (x == x_next) + │ break; + │ x = x_next; + │ } + │ printf("%f\n", x); + └──── diff --git a/challenge-134/andrezgz/README b/challenge-134/andrezgz/README new file mode 100644 index 0000000000..f4fd0da88e --- /dev/null +++ b/challenge-134/andrezgz/README @@ -0,0 +1 @@ +Solution by Andrezgz diff --git a/challenge-134/anton-fedotov/README b/challenge-134/anton-fedotov/README new file mode 100644 index 0000000000..f7c4f6deed --- /dev/null +++ b/challenge-134/anton-fedotov/README @@ -0,0 +1 @@ +Solutions by Anton Fedotov. diff --git a/challenge-134/antonio-gamiz/README b/challenge-134/antonio-gamiz/README new file mode 100644 index 0000000000..1f5ed5871a --- /dev/null +++ b/challenge-134/antonio-gamiz/README @@ -0,0 +1 @@ +Solution by Antonio Gamiz diff --git a/challenge-134/arne-sommer/README b/challenge-134/arne-sommer/README new file mode 100644 index 0000000000..b5d88e4df4 --- /dev/null +++ b/challenge-134/arne-sommer/README @@ -0,0 +1 @@ +Solution by Arne Sommer. diff --git a/challenge-134/arpad-toth/README b/challenge-134/arpad-toth/README new file mode 100644 index 0000000000..6661dd82c1 --- /dev/null +++ b/challenge-134/arpad-toth/README @@ -0,0 +1 @@ +Solution by Arpad Toth diff --git a/challenge-134/ash/README b/challenge-134/ash/README new file mode 100644 index 0000000000..318b1bfb41 --- /dev/null +++ b/challenge-134/ash/README @@ -0,0 +1 @@ +Solutions by Andrew Shitov diff --git a/challenge-134/athanasius/README b/challenge-134/athanasius/README new file mode 100644 index 0000000000..cc357fda4a --- /dev/null +++ b/challenge-134/athanasius/README @@ -0,0 +1 @@ +Solution by Athanasius diff --git a/challenge-134/aubrey-quarcoo/README b/challenge-134/aubrey-quarcoo/README new file mode 100644 index 0000000000..8e63a2c1f5 --- /dev/null +++ b/challenge-134/aubrey-quarcoo/README @@ -0,0 +1 @@ +Solution by Aubrey Quarcoo diff --git a/challenge-134/aviral-goel/README b/challenge-134/aviral-goel/README new file mode 100644 index 0000000000..e64ee14512 --- /dev/null +++ b/challenge-134/aviral-goel/README @@ -0,0 +1 @@ +Solutions by Aviral Goel. diff --git a/challenge-134/belmark-caday/README b/challenge-134/belmark-caday/README new file mode 100644 index 0000000000..6726590965 --- /dev/null +++ b/challenge-134/belmark-caday/README @@ -0,0 +1 @@ +Solutions by Belmark Caday. diff --git a/challenge-134/ben-davies/README.md b/challenge-134/ben-davies/README.md new file mode 100644 index 0000000000..77158344c9 --- /dev/null +++ b/challenge-134/ben-davies/README.md @@ -0,0 +1 @@ +Solution by Ben Davies diff --git a/challenge-134/bill-palmer/README b/challenge-134/bill-palmer/README new file mode 100644 index 0000000000..08ec849a41 --- /dev/null +++ b/challenge-134/bill-palmer/README @@ -0,0 +1 @@ +Solution by Bill Palmer. diff --git a/challenge-134/bkb/README b/challenge-134/bkb/README new file mode 100644 index 0000000000..4721993bb3 --- /dev/null +++ b/challenge-134/bkb/README @@ -0,0 +1 @@ +Solution by Ben Bullock. diff --git a/challenge-134/bob-kleemann/README b/challenge-134/bob-kleemann/README new file mode 100644 index 0000000000..78680e4035 --- /dev/null +++ b/challenge-134/bob-kleemann/README @@ -0,0 +1 @@ +Solution by Bob Kleemann diff --git a/challenge-134/bob-lied/README b/challenge-134/bob-lied/README new file mode 100644 index 0000000000..bbaa2cbbcb --- /dev/null +++ b/challenge-134/bob-lied/README @@ -0,0 +1,3 @@ +Solutions to weekly challenge 116 by Bob Lied. + +https://perlweeklychallenge.org/blog/perl-weekly-challenge-116/ diff --git a/challenge-134/brtastic/README b/challenge-134/brtastic/README new file mode 100644 index 0000000000..0fbe79fd6f --- /dev/null +++ b/challenge-134/brtastic/README @@ -0,0 +1 @@ +Solutions by Bartosz Jarzyna. diff --git a/challenge-134/bruce-gray/README b/challenge-134/bruce-gray/README new file mode 100644 index 0000000000..5d0deab51b --- /dev/null +++ b/challenge-134/bruce-gray/README @@ -0,0 +1 @@ +Solutions by Bruce Gray. diff --git a/challenge-134/bruno-ramos/README b/challenge-134/bruno-ramos/README new file mode 100644 index 0000000000..9d631dad8f --- /dev/null +++ b/challenge-134/bruno-ramos/README @@ -0,0 +1 @@ +Solutions by Bruno Ramos. diff --git a/challenge-134/burkhard-nickels/README b/challenge-134/burkhard-nickels/README new file mode 100644 index 0000000000..f5e16bb98b --- /dev/null +++ b/challenge-134/burkhard-nickels/README @@ -0,0 +1 @@ +Solutions by Burkhard Nickels. diff --git a/challenge-134/bwva/README b/challenge-134/bwva/README new file mode 100644 index 0000000000..ee6a7d7dc1 --- /dev/null +++ b/challenge-134/bwva/README @@ -0,0 +1 @@ +Solution(s) by bwva (Bruce Van Allen) diff --git a/challenge-134/cheok-yin-fung/README b/challenge-134/cheok-yin-fung/README new file mode 100644 index 0000000000..4413b13ada --- /dev/null +++ b/challenge-134/cheok-yin-fung/README @@ -0,0 +1 @@ +Solutions by Cheok-Yin Fung. diff --git a/challenge-134/christian-jaeger/README b/challenge-134/christian-jaeger/README new file mode 100644 index 0000000000..4ef4f11c10 --- /dev/null +++ b/challenge-134/christian-jaeger/README @@ -0,0 +1 @@ +Solution by Christian Jaeger diff --git a/challenge-134/cliveholloway/README b/challenge-134/cliveholloway/README new file mode 100644 index 0000000000..b69201296e --- /dev/null +++ b/challenge-134/cliveholloway/README @@ -0,0 +1 @@ +Solution by Clive Holloway diff --git a/challenge-134/colin-crain/README b/challenge-134/colin-crain/README new file mode 100644 index 0000000000..2a5d87e97d --- /dev/null +++ b/challenge-134/colin-crain/README @@ -0,0 +1 @@ +Solutions by Colin Crain. diff --git a/challenge-134/craig/README b/challenge-134/craig/README new file mode 100644 index 0000000000..18088481eb --- /dev/null +++ b/challenge-134/craig/README @@ -0,0 +1 @@ +Solutions by Craig. diff --git a/challenge-134/creewick/README b/challenge-134/creewick/README new file mode 100644 index 0000000000..c490e4fb80 --- /dev/null +++ b/challenge-134/creewick/README @@ -0,0 +1 @@ +Solutions by Creewick. diff --git a/challenge-134/cristian-heredia/README b/challenge-134/cristian-heredia/README new file mode 100644 index 0000000000..c53da8a54c --- /dev/null +++ b/challenge-134/cristian-heredia/README @@ -0,0 +1 @@ +Solutions by Cristina Heredia. diff --git a/challenge-134/cybersnyder/README b/challenge-134/cybersnyder/README new file mode 100644 index 0000000000..b5afea93b0 --- /dev/null +++ b/challenge-134/cybersnyder/README @@ -0,0 +1 @@ +Solution by Rich Snyder aka cybersnyder diff --git a/challenge-134/daniel-mantovani/README b/challenge-134/daniel-mantovani/README new file mode 100644 index 0000000000..ed538216f2 --- /dev/null +++ b/challenge-134/daniel-mantovani/README @@ -0,0 +1 @@ +Solution by Daniel Mantovani diff --git a/challenge-134/daniel-mita/README b/challenge-134/daniel-mita/README new file mode 100644 index 0000000000..37339f491f --- /dev/null +++ b/challenge-134/daniel-mita/README @@ -0,0 +1 @@ +Solution by Daniel Mita diff --git a/challenge-134/darren-bottin/README b/challenge-134/darren-bottin/README new file mode 100644 index 0000000000..6c792afe8e --- /dev/null +++ b/challenge-134/darren-bottin/README @@ -0,0 +1 @@ +Solutions by Darren Bottin. diff --git a/challenge-134/dave-cross/README b/challenge-134/dave-cross/README new file mode 100644 index 0000000000..04b1b0623b --- /dev/null +++ b/challenge-134/dave-cross/README @@ -0,0 +1 @@ +Solution by Dave Cross diff --git a/challenge-134/dave-jacoby/README b/challenge-134/dave-jacoby/README new file mode 100644 index 0000000000..7c06689f16 --- /dev/null +++ b/challenge-134/dave-jacoby/README @@ -0,0 +1 @@ +Solution by Dave Jacoby diff --git a/challenge-134/david-kayal/README b/challenge-134/david-kayal/README new file mode 100644 index 0000000000..66f8615260 --- /dev/null +++ b/challenge-134/david-kayal/README @@ -0,0 +1 @@ +Solution by David Kayal diff --git a/challenge-134/ddobbelaere/README b/challenge-134/ddobbelaere/README new file mode 100644 index 0000000000..36f8cdcd67 --- /dev/null +++ b/challenge-134/ddobbelaere/README @@ -0,0 +1 @@ +Solution by Dieter Dobbelaere diff --git a/challenge-134/deadmarshal/README b/challenge-134/deadmarshal/README new file mode 100644 index 0000000000..243097dede --- /dev/null +++ b/challenge-134/deadmarshal/README @@ -0,0 +1 @@ +Solution by Ali Moradi \ No newline at end of file diff --git a/challenge-134/denis-yurashku/README b/challenge-134/denis-yurashku/README new file mode 100644 index 0000000000..2fea994000 --- /dev/null +++ b/challenge-134/denis-yurashku/README @@ -0,0 +1 @@ +Solutions by Denis Yurashku. diff --git a/challenge-134/dms061/readme b/challenge-134/dms061/readme new file mode 100644 index 0000000000..e2684c7d25 --- /dev/null +++ b/challenge-134/dms061/readme @@ -0,0 +1,8 @@ +Solutions by David Schwartz +Last updated: 5/16/2021 + +Contains: + Solutions for questions 1 and 2 in perl. + +The folders also contain examples of output generated from running the program. + diff --git a/challenge-134/donald-hunter/README b/challenge-134/donald-hunter/README new file mode 100644 index 0000000000..2eef878f17 --- /dev/null +++ b/challenge-134/donald-hunter/README @@ -0,0 +1 @@ +Solutions by Donald Hunter. diff --git a/challenge-134/doug-schrag/README b/challenge-134/doug-schrag/README new file mode 100644 index 0000000000..bf8a10ffb4 --- /dev/null +++ b/challenge-134/doug-schrag/README @@ -0,0 +1 @@ +Solution by Doug Schrag diff --git a/challenge-134/dracos/README b/challenge-134/dracos/README new file mode 100644 index 0000000000..a9a6517a03 --- /dev/null +++ b/challenge-134/dracos/README @@ -0,0 +1 @@ +Solutions by Matthew Somerville. diff --git a/challenge-134/duane-powell/README b/challenge-134/duane-powell/README new file mode 100644 index 0000000000..3445422743 --- /dev/null +++ b/challenge-134/duane-powell/README @@ -0,0 +1 @@ +Solutions by Duane Powell. diff --git a/challenge-134/duncan-c-white/README b/challenge-134/duncan-c-white/README new file mode 100644 index 0000000000..7c8d08653f --- /dev/null +++ b/challenge-134/duncan-c-white/README @@ -0,0 +1,44 @@ +TASK #1 - Integer Square Root + +You are given a positive integer $N. + +Write a script to calculate the integer square root of the given number. + +Please avoid using a built-in function. Find out more about it: + +https://en.wikipedia.org/wiki/Integer_square_root + +Examples + + Input: $N = 10 + Output: 3 + + Input: $N = 27 + Output: 5 + + Input: $N = 85 + Output: 9 + + Input: $N = 101 + Output: 10 + +MY NOTES: Pretty easy as the Wikipedia page shows a C implementation + + +TASK #2 - Smith Numbers + +Write a script to generate first 10 Smith Numbers in base 10. + +According to Wikipedia: + +"In number theory, a Smith number is a composite number for which, in +a given number base, the sum of its digits is equal to the sum of the +digits in its prime factorization in the given number base." + +MY NOTES: Ok, an example in the Wikipedia clarifies this: + + 4937775 = 3**1 5**2 658371 (prime factors) + 4 + 9 + 3 + 7 + 7 + 7 + 5 = 42 + 3 x 1 + 5x 2 + (6 + 5 + 8 + 3 + 7) x 1 = 42 too + +Should be quite straightforward. diff --git a/challenge-134/e-choroba/README b/challenge-134/e-choroba/README new file mode 100644 index 0000000000..efff637bcb --- /dev/null +++ b/challenge-134/e-choroba/README @@ -0,0 +1 @@ +Solutions by E. Choroba. diff --git a/challenge-134/ealvar3z/README b/challenge-134/ealvar3z/README new file mode 100644 index 0000000000..a50c065308 --- /dev/null +++ b/challenge-134/ealvar3z/README @@ -0,0 +1 @@ +Solution by ealvar3z diff --git a/challenge-134/eddy-hs/README b/challenge-134/eddy-hs/README new file mode 100644 index 0000000000..0ed51d222d --- /dev/null +++ b/challenge-134/eddy-hs/README @@ -0,0 +1 @@ +Solution by Eddy HS diff --git a/challenge-134/eric-cheung/README b/challenge-134/eric-cheung/README new file mode 100644 index 0000000000..1bf6db4498 --- /dev/null +++ b/challenge-134/eric-cheung/README @@ -0,0 +1 @@ +Solutions by Eric Cheung. diff --git a/challenge-134/fabrizio-poggi/README b/challenge-134/fabrizio-poggi/README new file mode 100644 index 0000000000..3c17b29182 --- /dev/null +++ b/challenge-134/fabrizio-poggi/README @@ -0,0 +1 @@ +Solutions by Fabrizio Poggi. diff --git a/challenge-134/feng-chang/README b/challenge-134/feng-chang/README new file mode 100644 index 0000000000..74e56de3ed --- /dev/null +++ b/challenge-134/feng-chang/README @@ -0,0 +1 @@ +Solutions by Feng Chang. diff --git a/challenge-134/finanalyst/README b/challenge-134/finanalyst/README new file mode 100644 index 0000000000..15f7652e32 --- /dev/null +++ b/challenge-134/finanalyst/README @@ -0,0 +1 @@ +Solution by Richard Hainsworth, aka finanalyst diff --git a/challenge-134/finley/README b/challenge-134/finley/README new file mode 100644 index 0000000000..f08a121076 --- /dev/null +++ b/challenge-134/finley/README @@ -0,0 +1 @@ +Solution by Finley diff --git a/challenge-134/fjwhittle/README b/challenge-134/fjwhittle/README new file mode 100644 index 0000000000..7dcc95e189 --- /dev/null +++ b/challenge-134/fjwhittle/README @@ -0,0 +1 @@ +Solution by Francis Whittle diff --git a/challenge-134/frankivo/README b/challenge-134/frankivo/README new file mode 100644 index 0000000000..681b15b36c --- /dev/null +++ b/challenge-134/frankivo/README @@ -0,0 +1 @@ +Solution by Frank Oosterhuis. diff --git a/challenge-134/fred-zinn/README b/challenge-134/fred-zinn/README new file mode 100644 index 0000000000..17bac4f094 --- /dev/null +++ b/challenge-134/fred-zinn/README @@ -0,0 +1 @@ +Solution by Fred Zinn diff --git a/challenge-134/freddie-b/README b/challenge-134/freddie-b/README new file mode 100644 index 0000000000..823d7474b5 --- /dev/null +++ b/challenge-134/freddie-b/README @@ -0,0 +1 @@ +Solution by Freddie B diff --git a/challenge-134/garrett-goebel/README b/challenge-134/garrett-goebel/README new file mode 100644 index 0000000000..a8aa246dbb --- /dev/null +++ b/challenge-134/garrett-goebel/README @@ -0,0 +1 @@ +Solution by Garrett Goebel diff --git a/challenge-134/giuseppe-terlizzi/README b/challenge-134/giuseppe-terlizzi/README new file mode 100644 index 0000000000..0bff2a945c --- /dev/null +++ b/challenge-134/giuseppe-terlizzi/README @@ -0,0 +1 @@ +Solutions by Giuseppe Di Terlizzi. diff --git a/challenge-134/gugod/README b/challenge-134/gugod/README new file mode 100644 index 0000000000..509fd4c50c --- /dev/null +++ b/challenge-134/gugod/README @@ -0,0 +1 @@ +Solutions by Kang-min Liu. diff --git a/challenge-134/gugod/rust/.gitignore b/challenge-134/gugod/rust/.gitignore new file mode 100644 index 0000000000..ac77297bfe --- /dev/null +++ b/challenge-134/gugod/rust/.gitignore @@ -0,0 +1,2 @@ +ch-1 +ch-2 diff --git a/challenge-134/guillermo-ramos/README b/challenge-134/guillermo-ramos/README new file mode 100644 index 0000000000..a39eb01bff --- /dev/null +++ b/challenge-134/guillermo-ramos/README @@ -0,0 +1 @@ +Solution by Guillermo Ramos. diff --git a/challenge-134/gurunandan-bhat/README b/challenge-134/gurunandan-bhat/README new file mode 100644 index 0000000000..495f4cfafa --- /dev/null +++ b/challenge-134/gurunandan-bhat/README @@ -0,0 +1 @@ +Solutions by Gurunandan Bhat. diff --git a/challenge-134/gustavo-chaves/README b/challenge-134/gustavo-chaves/README new file mode 100644 index 0000000000..a66bbbf8a3 --- /dev/null +++ b/challenge-134/gustavo-chaves/README @@ -0,0 +1 @@ +Solution by Gustavo Chaves diff --git a/challenge-134/hatorikibble/README b/challenge-134/hatorikibble/README new file mode 100644 index 0000000000..51a9cd4411 --- /dev/null +++ b/challenge-134/hatorikibble/README @@ -0,0 +1 @@ +Solution by Peter Mayr diff --git a/challenge-134/hauke-d/README b/challenge-134/hauke-d/README new file mode 100644 index 0000000000..e201aa0abc --- /dev/null +++ b/challenge-134/hauke-d/README @@ -0,0 +1 @@ +Solutions by Hauke Dämpfling. diff --git a/challenge-134/henry-wong/README b/challenge-134/henry-wong/README new file mode 100644 index 0000000000..3d63a6f0be --- /dev/null +++ b/challenge-134/henry-wong/README @@ -0,0 +1 @@ +Solution by Henry Wong diff --git a/challenge-134/hstejas/README b/challenge-134/hstejas/README new file mode 100644 index 0000000000..969c5c0569 --- /dev/null +++ b/challenge-134/hstejas/README @@ -0,0 +1 @@ +Solution by Tejas diff --git a/challenge-134/iangoodnight/README.md b/challenge-134/iangoodnight/README.md new file mode 100644 index 0000000000..2a4a23a28c --- /dev/null +++ b/challenge-134/iangoodnight/README.md @@ -0,0 +1 @@ +Solution by Ian Goodnight diff --git a/challenge-134/ianrifkin/README b/challenge-134/ianrifkin/README new file mode 100644 index 0000000000..2d26297fb9 --- /dev/null +++ b/challenge-134/ianrifkin/README @@ -0,0 +1 @@ +Solution by Ian Rifkin. \ No newline at end of file diff --git a/challenge-134/izifresh/README b/challenge-134/izifresh/README new file mode 100644 index 0000000000..aedce7c408 --- /dev/null +++ b/challenge-134/izifresh/README @@ -0,0 +1 @@ +Solution by izifresh \ No newline at end of file diff --git a/challenge-134/jacques-guinnebault/README b/challenge-134/jacques-guinnebault/README new file mode 100644 index 0000000000..9d3e7c037f --- /dev/null +++ b/challenge-134/jacques-guinnebault/README @@ -0,0 +1 @@ +Solution by Jacques Guinnebault. diff --git a/challenge-134/jaime/README b/challenge-134/jaime/README new file mode 100644 index 0000000000..007cb58459 --- /dev/null +++ b/challenge-134/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-134/jaldhar-h-vyas/README b/challenge-134/jaldhar-h-vyas/README new file mode 100644 index 0000000000..7dce927eca --- /dev/null +++ b/challenge-134/jaldhar-h-vyas/README @@ -0,0 +1 @@ +Solution by Jaldhar H. Vyas diff --git a/challenge-134/james-raspass/README b/challenge-134/james-raspass/README new file mode 100644 index 0000000000..e8b9d803c6 --- /dev/null +++ b/challenge-134/james-raspass/README @@ -0,0 +1 @@ +Solution by James Raspass. diff --git a/challenge-134/james-smith/README.md b/challenge-134/james-smith/README.md new file mode 100644 index 0000000000..188174521f --- /dev/null +++ b/challenge-134/james-smith/README.md @@ -0,0 +1,189 @@ +# Perl Weekly Challenge #133 + +You can find more information about this weeks, and previous weeks challenges at: + + https://theweeklychallenge.org/ + +If you are not already doing the challenge - it is a good place to practise your +**perl** or **raku**. If it is not **perl** or **raku** you develop in - you can +submit solutions in whichever language you feel comfortable with. + +You can find the solutions here on github at: + +https://github.com/drbaggy/perlweeklychallenge-club/tree/master/challenge-133/james-smith/perl + +# Task 1 - Integer Square Root + +***You are given a positive integer `$N`. Write a script to calculate the integer square root of the given number.*** + +## The solution + +We implement Newton's formulae to compute the integer square root.. This is the compact version. + +```perl +sub find_root { + my( $x, $y ) = ( my $n = shift ) >> 1; ## $x is half $n rounded down... + return $n unless $x; ## Return $n if it is <2 (i.e. 0 or 1) + $x = $y while ( $y = ( $x + $n / $x ) >> 1 ) < $x; ## The crux - the next no is 1/2 of $x & $n/$x + return $x; ## Return value +} +``` + +# Task 2 - Smith Numbers + +***Write a script to generate first 10 Smith Numbers in base 10.*** + +## Solution + +We break the logic up into chunks and implement those in separate function. As we look at each +prime in turn we can effectively create a sieve to get the prime factors. + +Here is the main code. + * We check to see if the sum of digits is the same as the sum of primefactor digits {and that it is not prime} + * We add this to the list if it is the case + * Return when we have `$C` (`10`) in this case... +```perl +sub smith_numbers { + my ( $C, $n, @sn ) = (shift,3); + ( sum_digits( $n ) - sum map { sum_digits $_ } prime_factors( $n ) ) || + ( push @sn, $n ) && + ( @sn == $C ) && + ( return @sn ) while $n++; +} +``` + +And the support functions: + * `sum` - Just sum an array; + * `sum_digits` - Sum digits of number, + We cache the digit sum for each number in `%ds`; + * `prime_factors` - for a prime returns nothing, for a composite returns the factors, + We keep a list of primes `@primes`, and also the prime factors for each composite `%comp`. + **Note:** We don't need to continue with primes bigger than `sqrt($N)` so short cut the loop. + +```perl +sub sum { my $t = 0; $t+=$_ foreach @_; $t; } + +sub sum_digits { return $ds{$_[0]} ||= sum split //, $_[0]; } + +sub prime_factors { + my $N = shift; + ( $N % $_) ? ( ( $N < $_ * $_ ) && last ) + : ( return $sum_pf[$N] = $sum_pf[$N/$_] + $sum_pf[$_] ) foreach @primes; + $sum_pf[$N] = cl_sum_digits $N; + push @primes, $N; + return 0; +} +``` + +## Performance + +A slight modification to the code ( to compute Smith Numbers < N ) computes the 29,928 Smith numbers less than 1 million in about 3.3 seconds, and for 10,000,000 about 45 seconds. For large N the script falls over with out-of-memory errors. + +## Re-write in C + +The algorithm does lend itself to rewriting in a lower level language - it doesn't use any nice features of Perl except for the "auto-sizing" of arrays - no hashes, complex IO etc. + +So here is my first C programme for probably 30 years! + +### Timings for C vs perl + +| Max value | Count | Time C | Time perl | +| ------------: | ---------: | ------: | --------: | +| 100 | 6 | 0.00s | 0.01s | +| 1,000 | 49 | 0.00s | 0.01s | +| 10,000 | 376 | 0.00s | 0.03s | +| 100,000 | 3,924 | 0.01s | 0.26s | +| 1,000,000 | 29,928 | 0.07s | 3.25s | +| 10,000,000 | 278,411 | 1.18s | 45.38s | +| 100,000,000 | 2,632,758 | 23.65s | *fail* | +| 1,000,000,000 | 25,154,060 | 514.17s | *fail* | + +This is the limit for the algorithm (would need 20+ Gbytes for the 10 billion case) + +Note there is an additional about 0.08 second penalty for compiling the C code - so infact for less than 100,000 the perl code is faster in total... + +### The C code + +```c +#include + +// Compute all Smith Numbers below MAX_N + +// Use guess that PSIZE should approximately 1.1 * PFSIZE / ln(PFSIZE) + +// 10^6 + #define MAX_N 1000000 + #define PSIZE 42000 // Have to guess this! +// 10^7 +// #define MAX_N 10000000 +// #define PSIZE 400000 // Have to guess this! +// 10^8 +// #define MAX_N 100000000 +// #define PSIZE 3200000 // Have to guess this! +// 10^9 +// #define MAX_N 1000000000 +// #define PSIZE 28000000 // Have to guess this! + +#define PFSIZE (MAX_N/2) + +// Set up arrays +int sum_pf[ PFSIZE+1 ], primes[ PSIZE ], prime_index = 0; + +// Compute sum of digits - unlike Perl we can't use split +// so we use repeated modulus/divide by 10.. + +int sum_digits(int n) { + int total = 0; + do { total += n%10; } while( n /= 10 ); + return total; +} + +// Get the sum of prime factors - +// as we build this in order we only need to find a +// factorisation then we just add together the +// digit sum of the two factors (Here for speed we +// know one will be prime. +// We go through all primes we have until prime^2 +// is greater than the number itself. +// +// To make the last bit easier IF we have a prime +// we return 0 as not composite... +// +// Note to save memory we only store the sum if +// n < MAX_N/2 as we won't need it again (can't +// be a factor of a larger number less than MAX_N + +int sum_prime_factors( int n ) { + int p; + for(int i=0; i< prime_index; i++ ) { + p = primes[i]; + if( !(n % p) ) { + if( n <= PFSIZE ) { + return sum_pf[n] = sum_pf[n/p] + sum_pf[p]; + } else { + return sum_pf[ n/p ] + sum_pf[ p ]; + } + } + if( n < p*p ) { break; } + } + if( n <= PFSIZE ) { + sum_pf[ n ] = sum_digits(n); + primes[ prime_index++ ] = n; + } + return 0; +} + +// Main is simple just loop and search, printing out +// Smith numbers +int main() { + int count = 0, n = 1; + while( n++ <= MAX_N ) { + if( sum_digits(n) == sum_prime_factors(n) ) { + printf( "%11d\n", n ); + } + } +} +``` + +**Notes:** In this version we use an optimisation - we know that we will never need to use factorisations or primes greater than `MAX_N/2` so we don't store/cache these. + diff --git a/challenge-134/jan-perl/README b/challenge-134/jan-perl/README new file mode 100644 index 0000000000..70e335d7d7 --- /dev/null +++ b/challenge-134/jan-perl/README @@ -0,0 +1 @@ +Solution by Jan Hoogenraad diff --git a/challenge-134/jaredor/README b/challenge-134/jaredor/README new file mode 100644 index 0000000000..398fcc9bae --- /dev/null +++ b/challenge-134/jaredor/README @@ -0,0 +1 @@ +Solution by Jared Martin diff --git a/challenge-134/jason-messer/README b/challenge-134/jason-messer/README new file mode 100644 index 0000000000..db0556d981 --- /dev/null +++ b/challenge-134/jason-messer/README @@ -0,0 +1 @@ +Raku Solutions by Jason Messer diff --git a/challenge-134/javier-luque/README b/challenge-134/javier-luque/README new file mode 100644 index 0000000000..887e7fc81a --- /dev/null +++ b/challenge-134/javier-luque/README @@ -0,0 +1 @@ +Solutions by Javier Luque. diff --git a/challenge-134/jbourlakos/README b/challenge-134/jbourlakos/README new file mode 100644 index 0000000000..5ce76645d3 --- /dev/null +++ b/challenge-134/jbourlakos/README @@ -0,0 +1 @@ +Solution by Ioannis (John) Bourlakos. \ No newline at end of file diff --git a/challenge-134/jcrosswh/README b/challenge-134/jcrosswh/README new file mode 100644 index 0000000000..144afd1a18 --- /dev/null +++ b/challenge-134/jcrosswh/README @@ -0,0 +1 @@ +Solution by Joel Crosswhite. \ No newline at end of file diff --git a/challenge-134/jdos22/README b/challenge-134/jdos22/README new file mode 100644 index 0000000000..d38c22f0be --- /dev/null +++ b/challenge-134/jdos22/README @@ -0,0 +1 @@ +Solution by jdos22 diff --git a/challenge-134/jeff/README b/challenge-134/jeff/README new file mode 100644 index 0000000000..d5f15f4a8e --- /dev/null +++ b/challenge-134/jeff/README @@ -0,0 +1 @@ +Solution by Jeff diff --git a/challenge-134/jeongoon/.gitignore b/challenge-134/jeongoon/.gitignore new file mode 100644 index 0000000000..23c7e03022 --- /dev/null +++ b/challenge-134/jeongoon/.gitignore @@ -0,0 +1,5 @@ +ch-1 +ch-2 +*~ +elm-stuff +index.html diff --git a/challenge-134/jeongoon/README b/challenge-134/jeongoon/README new file mode 100644 index 0000000000..fb69b53165 --- /dev/null +++ b/challenge-134/jeongoon/README @@ -0,0 +1 @@ +Solution by Myoungjin Jeon diff --git a/challenge-134/jeremy-carman/README b/challenge-134/jeremy-carman/README new file mode 100644 index 0000000000..3d08510e49 --- /dev/null +++ b/challenge-134/jeremy-carman/README @@ -0,0 +1 @@ +Solution by Jeremy Carman diff --git a/challenge-134/jim-bacon/README b/challenge-134/jim-bacon/README new file mode 100644 index 0000000000..8dcfd637a3 --- /dev/null +++ b/challenge-134/jim-bacon/README @@ -0,0 +1 @@ +Solution by Jim Bacon diff --git a/challenge-134/jitu-keshwani/README b/challenge-134/jitu-keshwani/README new file mode 100644 index 0000000000..4f02c1e3ce --- /dev/null +++ b/challenge-134/jitu-keshwani/README @@ -0,0 +1 @@ +Solutions by Jitu Keshwani. diff --git a/challenge-134/jj-merelo/README b/challenge-134/jj-merelo/README new file mo