2008 UM-D Programming Contest - Notes and Hints

Problem A

Problem B

There are a few ways to solve this problem.  The notable ones are:

Problem C

Problem D

Problem E