ACM Programming Contest
Preparations for the 2006-07 contest


This year's format

This year, we will be having two competitive tryouts on the following dates and times:

Each will be a mock competition, handled and scored according to similar rules as the actual competition. Your best performance from the two competitive tryouts will be counted, and the top 12 performers will be selected to form the four three-person teams that we'll send to this year's regional competition on Saturday, November 11, 2006 at Riverside Community College.


Problems to practice generally-useful skills

Each of these problems is organized similarly to an actual programming contest problem. Each takes its input from the standard input (i.e., System.in in Java, cin in C++) and writes its output to the standard output (i.e., System.out in Java, cout in C++). They should print no output other than what's specified (e.g., no user-friendly input prompts), and should read fmor the standard input exactly the kind of input specified in the problem description. You may assume that the input will be passed as specified, unless stated otherwise, meaning that complex error-checking is not required. You may write your code in either Java, C++, or C. Please use only standard C/C++ or Java code, so that I could theoretically compile it with any standards-compliant compiler. Beyond that, anything goes. The programming contest is only about getting your code to work. There are no points for design and no points for style. If you want a while (true) loop with a break in it, that's fine with me.

The problems are grouped into a couple of categories that each test one kind of skill that is generally useful in solving programming contest problems.

Input parsing

String and array manipulation


Tryout/practice problems