I finally posted my solutions to last week's Coding Challenge. I'm hoping somebody (e.g. you) can do better. The point of the challenge was that a problem that looks trivial but messy can absorb (and reward, sort of) an astonishing amount of care. If you can do well on one of these, please tell me.
miah: I can't imagine why anybody would buy a P4 these days, instead of an amd64. Can you still return it all?