Each contestant is to work alone and spend no more than four hours doing so.
Timing starts when the contestant begins reading one of the problem descriptions.
Preferably, the contestant will work on the problems during a single block of four hours. However, as it may be difficult to find a single block of time of that length, a contestant is allowed to split his work among two blocks of time totaling no more than four hours. One of the consequences of this arrangement is that, unlike the ACM contest, no almost-immediate feedback from the judges will be provided to a contestant in response to a program submission. For this contest, you may use any of these, plus Ada. For these we will use standard input and standard output.