← Back to context

Comment by xendo

1 day ago

This one is quite difficult, it sacrifices some readability for cleverness and conciseness. I find Algorithmic Thinking by Zingaro much more approachable but almost as dense.

I think if you always follow the same abbreviations, they'll be readable to you.

Remember, these are throwaway programs; not something that you need to worry about someone else maintaining, or something you need to worry about opening up 5 years later.

  • I've been a judge at a few ICPC contests. We always double-checked first solves for any of the problems by hand.

    The coding style demonstrated here is extremely common with high-level competitive teams.