{"id":134,"date":"2007-02-04T00:49:00","date_gmt":"2007-02-04T08:49:00","guid":{"rendered":"http:\/\/gregbaker.ca\/blog\/2007\/02\/04\/total-failure-avoided\/"},"modified":"2007-02-04T08:50:17","modified_gmt":"2007-02-04T16:50:17","slug":"total-failure-avoided","status":"publish","type":"post","link":"http:\/\/gregbaker.ca\/blog\/2007\/02\/04\/total-failure-avoided\/","title":{"rendered":"Total failure avoided"},"content":{"rendered":"<p>Brief background:  The ACM (Association for Computing Machinery) sponsors an annual worldwide programming contest.  The contest format is 5+ problems, generally all tricky algorithmic problems, solve &#8217;em, GO!  Teams with more problems correctly completed in the given time win; ties are broken by penalty points (incorrect submissions and time taken to complete problems).<\/p>\n<p>Brad (our coach) and the UBC coach often organize a spring warmup\/practice\/fun contest for our students.  For the last two years, Ted Kirkpatrick and I have entered as a team.<\/p>\n<p>Competing against students can go one of two general ways:<\/p>\n<ol>\n<li>Oh ha ha, you&#8217;re better at <a href=\"http:\/\/en.wikipedia.org\/wiki\/Dance_Dance_Revolution\">DDR<\/a> than me.\n\t<\/li>\n<li>This contest seems to involve logic\/reasoning\/intelligence: exactly the stuff I&#8217;m supposed to be better at than my students so I can teach them.  Failure is not an option.<\/li>\n<\/ol>\n<p>ACM-like contests are distinctly in the second category.<\/p>\n<p>This presents an interesting challenge. Primarily, the students who are into the ACM contest are <em>really<\/em> into it and are quite good.  Ted and I spend a lot more time writing lecture notes than programs.<\/p>\n<p>Last year, we finished below the really competitive teams, and above the rest of the students.  That&#8217;s the best we could have hoped for, really.<\/p>\n<p>This year&#8217;s contest was today.  Once again, two SFU teams bested us, completing 4\/6 problems.  We completed 3\/6.<\/p>\n<p>I cost us 20 minutes debugging a stupid mistake in fraction arithmetic.  If not for that, we definitely would have finished a fourth problem (but not changed our ranking because of penalty points).<\/p>\n<p>I&#8217;m more annoyed at another problem that neither Ted or I saw how to do.  All you had to do was tilt your head the right way and say &#8220;Oh, it&#8217;s graph theory.  I&#8217;ll just look up the formula and type it in.&#8221;  Me and my undergrad in math and masters in graph-theoretic network algorithms didn&#8217;t notice that.<\/p>\n<p>I hope Art doesn&#8217;t find out.  Anyway, we should have had 4\/6 and if I had really been on top of my game, it <em>might<\/em> have been 5\/6.  [shakes fist]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Brief background: The ACM (Association for Computing Machinery) sponsors an annual worldwide programming contest. The contest format is 5+ problems, generally all tricky algorithmic problems, solve &#8217;em, GO! Teams with more problems correctly completed in the given time win; ties are broken by penalty points (incorrect submissions and time taken to complete problems). Brad (our [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,12],"tags":[],"class_list":["post-134","post","type-post","status-publish","format-standard","hentry","category-life","category-work"],"_links":{"self":[{"href":"http:\/\/gregbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/gregbaker.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gregbaker.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gregbaker.ca\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/gregbaker.ca\/blog\/wp-json\/wp\/v2\/comments?post=134"}],"version-history":[{"count":0,"href":"http:\/\/gregbaker.ca\/blog\/wp-json\/wp\/v2\/posts\/134\/revisions"}],"wp:attachment":[{"href":"http:\/\/gregbaker.ca\/blog\/wp-json\/wp\/v2\/media?parent=134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gregbaker.ca\/blog\/wp-json\/wp\/v2\/categories?post=134"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gregbaker.ca\/blog\/wp-json\/wp\/v2\/tags?post=134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}