{"id":5088,"date":"2018-01-10T15:02:27","date_gmt":"2018-01-10T20:02:27","guid":{"rendered":"https:\/\/blogs.mathworks.com\/community\/?p=5088"},"modified":"2020-09-22T12:48:49","modified_gmt":"2020-09-22T16:48:49","slug":"the-cody-fifth-anniversary-challenge","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/community\/2018\/01\/10\/the-cody-fifth-anniversary-challenge\/","title":{"rendered":"The Cody Fifth Anniversary Challenge"},"content":{"rendered":"<p>Does Cody have birthdays or anniversaries? It seems to me like it should have birthdays, but anyway, it&#8217;s been around for five years (actually, almost six by now). Back in October, <a href=\"https:\/\/blogs.mathworks.com\/community\/2017\/10\/16\/limited-edition-laurels-cody-is-five\/\">we announced a contest<\/a> in honor of Cody&#8217;s fifth. The really cool thing about this contest is that a panel of distinguished Cody problem authors created a raft of special anniversary puzzles for us. One list\u00a0consisted of <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/groups\/34\">easy problems<\/a>, and\u00a0the other list\u00a0was <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/groups\/35\">hard<\/a>.<\/p>\n<p>The contest ended with the new year, so now we see the results. First of all, it was a great success! Lots of new problems, lots of new players, and lots more solutions overall. Of all the Fifth Anniversary problems, the one with the most\u00a0Likes was\u00a0Peng Liu&#8217;s\u00a0<a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/problems\/44345-matlab-counter\">MATLAB Counter<\/a>,\u00a0in which you use nested functions to make a stateful counter. Even though it was in the easy list, it was difficult in the sense that only 21% of the solutions were correct. But I&#8217;ve seen this pattern before; the most satisfying problems are often the ones where you have to work hard but you learn\u00a0a genuinely valuable new skill.<\/p>\n<p>Incidentally, another &#8220;easy&#8221; problem that had a similarly low correct\/incorrect ratio was James&#8217;s <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/problems\/44349\">Tick Tock Tick Tock<\/a>. Only 20% of the solutions were correct. But the problem was actually a one-in-five lottery. You had to submit your solution at a time when the number of seconds was divisible by 5! The last &#8220;hard&#8221; problem was also the very hardest, at least as measured by fewest solvers. It was a fiendish 3-dimensional sliding block puzzle and it too was among the most liked:\u00a0<a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/problems\/44376-the-sliding-puzzle-3d\">The sliding puzzle 3D<\/a>\u00a0by HH.<\/p>\n<p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/profile\/badges\/36\"><img decoding=\"async\" loading=\"lazy\" width=\"100\" height=\"100\" class=\"alignnone size-full wp-image-4793\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/cody5-badge.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"344\" height=\"308\" class=\"alignnone size-full wp-image-5104\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/winners.jpg\" alt=\"\" \/><\/a><\/p>\n<p>Here are all 17 badge winners and when they first won their prizes. This is a mighty accomplishment, and this limited-edition badge will never be awarded again.<\/p>\n<p>23 Oct: <a href=\"\/matlabcentral\/profile\/authors\/1379371-alfonso-nieto-castanon\">Alfonso Nieto-Castanon<\/a>, <a href=\"\/matlabcentral\/profile\/authors\/6472157-daniel-turizo\">Daniel Turizo<\/a><br \/>\n30 Oct: <a href=\"\/matlabcentral\/profile\/authors\/3021298-ly-cao\">LY Cao<\/a><br \/>\n2 Nov: <a href=\"\/matlabcentral\/profile\/authors\/1948447-daniel-meier\">Daniel Meier<\/a><br \/>\n20 Nov: <a href=\"\/matlabcentral\/profile\/authors\/7164325-corneli-keim\">Corneli Keim<\/a><br \/>\n27 Nov: <a href=\"\/matlabcentral\/profile\/authors\/3397427-hh\">HH<\/a><br \/>\n30 Nov: <a href=\"\/matlabcentral\/profile\/authors\/6316133-daniel-rubin\">Daniel Rubin<\/a><br \/>\n14 Dec: <a href=\"\/matlabcentral\/profile\/authors\/3430216-josh\">Josh<\/a><br \/>\n17 Dec: <a href=\"\/matlabcentral\/profile\/authors\/5332190-osman\">Osman<\/a><br \/>\n21 Dec: <a href=\"\/matlabcentral\/profile\/authors\/5349647-goc3\">goc3<\/a>,\u00a0<a href=\"\/matlabcentral\/profile\/authors\/7870128-ziheng-hu\">Ziheng Hu<\/a><br \/>\n23 Dec: <a href=\"\/matlabcentral\/profile\/authors\/734801-binbin-qi\">Binbin Qi<\/a><br \/>\n29 Dec: <a href=\"\/matlabcentral\/profile\/authors\/496166-tim\">Tim<\/a>,\u00a0<a href=\"\/matlabcentral\/profile\/authors\/3292948-gunther-s\">Gunther S<\/a><br \/>\n31 Dec: <a href=\"\/matlabcentral\/profile\/authors\/3688532-thomas-steffen\">Thomas Steffen<\/a>,\u00a0<a href=\"\/matlabcentral\/profile\/authors\/1035009-peter-cook\">Peter Cook<\/a>,\u00a0<a href=\"\/matlabcentral\/profile\/authors\/6972307-brendan-gray\">Brendan Gray<\/a><\/p>\n<p>Congratulations to all these badge winners! I should also point out that, while our special Cody 5 badge competition is over, the problems themselves are still open to all solvers.<\/p>\n<p>The fifth anniversary also included a raffle. To get entered into the drawing, you just needed to solve one problem, whether from the easy or the hard list. Here are the\u00a0lucky winners, week by week.<\/p>\n<p>23 Oct: <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/4055799\">Yehe Liu<\/a>, <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/3448705\">Joel Cottrell<\/a><br \/>\n30 Oct: <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/9302722\">Pavol Michalina<\/a>, <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/2622436\">Gnaneswar Nadh satapathi<\/a><br \/>\n6 Nov: <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/8211980\">mustafa<\/a>, <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/33802\">James<\/a><br \/>\n13 Nov: <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/7188618\">Heiko<\/a>, <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/8274831\">Li jw<\/a><br \/>\n20 Nov: <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/7950304\">Sanghai Guan<\/a>, <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/11298791\">Viko<\/a><br \/>\n27 Nov: <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/7793741\">jzv<\/a>, <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/571309\">Elmar Zander<\/a><br \/>\n4 Dec: <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/1814548\">Milos<\/a>, <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/7047921\">Aditya Deshpande<\/a><br \/>\n11 Dec: <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/1379371\">Alfonso Nieto-Castanon<\/a>, <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/5364331\">Rani V.S<\/a><br \/>\n18 Dec: <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/11485224\">Tilemachos Doganis<\/a>, <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/11761618\">ward van belle<\/a><br \/>\n25 Dec: <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/3246794\">Daniel Pereira<\/a>, <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/cody\/players\/7345384\">Jianjiang Hu<\/a><\/p>\n<p>Current Cody champion Alfonso shows up on both the badge and the raffle lists, demonstrating that he is both smart <em>and<\/em> lucky. Be sure and ask him for\u00a0a winning lottery number, as he could either guess it or calculate it.<\/p>\n<p>Finally, thanks to everyone who participated in any way. It&#8217;s not all about winning. It&#8217;s all about learning, and you can&#8217;t help but learn a little something every time you play Cody.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/cody5-badge.png\" onError=\"this.style.display ='none';\" \/><\/div>\n<p>Does Cody have birthdays or anniversaries? It seems to me like it should have birthdays, but anyway, it&#8217;s been around for five years (actually, almost six by now). Back in October, we announced&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/community\/2018\/01\/10\/the-cody-fifth-anniversary-challenge\/\">read more >><\/a><\/p>\n","protected":false},"author":69,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[250,265,263],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/5088"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/users\/69"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/comments?post=5088"}],"version-history":[{"count":16,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/5088\/revisions"}],"predecessor-version":[{"id":5126,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/5088\/revisions\/5126"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/media?parent=5088"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/categories?post=5088"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/tags?post=5088"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}