To round off round one, here is the answer to question four. On the night this went to the Framed team, who wrote a very elegant OO solution in Java (several people have made comments to this effect since the night)....more
Ok, after a little delay here's the final question from round one, a return to Pythagoras with the added twist of a third dimension:
The universe is collapsing. Planets are colliding....more
So as I said, this problem is related to the ASCII decoding problem from the final last year. The key to solving the problem is coming up with the correct interpretation of “Checkerboard”....more
And now for the third question from round 1, which harks back to the final ASCII decoding question from 2008. The actual answer is straightforward but the question is probably the shortest and most cryptic we've had in the competition to date......more
And so it continues... hope you had fun with the last question, there are a few approaches and the two teams were quite different on the night....more
Ok, here's a solution to the previous question using cfscript — made slightly more complex by case insensitive character comparisons:
communique = "Hvs sbsam wg qcawbu! Twbr gvszhsf pm hvs POF";
la = asc('a'); lz = asc('z&a...more
Want to see how you might have fared in this year's Code War competition? I'll be posting the questions up over the next few days for you to try out....more