That all I need: Another time sink! ... Google Code Jam just consumed about half the waking hours of my life (and most of the ones that should have been spent sleeping were spent awake) since a colleague told me about it last week. Too late to enter but I got drawn into solving the practice problems (past contest rounds) – I would have been better off entering because then I’d have been working to a time limit. Instead, some of the more challenging problems activated my OCD gene
:
For anyone who likes a extra challenge try solving “All Your Base” in Actionscript.
The algorithm required is relatively easy to come up with and Actionscript’s parseInt() makes implementing it quite easy, at least for solving the three small sample cases, but handling the input files (especially the large input) is a whole other ball game because then you start working with numbers larger than AS can represent … but it can be done 