Notes to Teams

Updated 09:40 Jan 21, 2007

1.      Programs must be in a single source file with the name specified in the problem description; failure to meet this requirement is a Submission Error. Java programmers note that you can include additional top-level classes in a single source file as long as they are unqualified (just "class", without "public").

2.      All output will be judged using a file comparison utility, so output must be exactly as shown in the examples. This applies to all problems, whether explicitly stated in the problem description or not. Spelling, punctuation, spacing, and case (uppercase/lowercase) are all significant.

3.      Programs must write their results to standard output (usually stdout in C, cout in C++, and System.out in Java). The judges will ignore all output to standard error (usually stderr in C, cerr/clog in C++, and System.err in Java), so you can write as much debugging information to standard error as you want, subject to the one-minute time limit.

4.      Your program cannot require any intervention by the user. For example, if you pause the program and ask the user to press a key to continue, you will be flagged with a Submission Error. If you pause the program without any prompting at all, you may be flagged with a Time Limit Exceeded error.

5.      Do not use drive and/or path specifications when naming input files. If a problem indicates that the input file is named, then you must open and not or c:\stuff\ or anything else. Violating this rule will result in a Submission Error.

6.      All test cases used in judging will conform to the input specifications. It is not necessary for you to detect invalid input.

7.      Input data and correct output data will obey the following rules.

o        Other than end-of-line characters, spaces are the only whitespace that appear.

8.      Two or more consecutive spaces do not appear, unless specifically mentioned in the problem statement.

9.      Spaces do not appear at the end of lines.

10.  Spaces do not appear at the beginning of lines, unless specifically mentioned in the problem statement.

11.  Blank lines do not appear.

12.  All lines, including the last line, end with the standard end-of-line marker.

13.  This applies only to Java programmers. Counter to Java conventions, the name of your source file and main class must be in lowercase for this competition. For example, if a problem states that your program must be called compute, then you would create a file called that begins like this:

public class compute {
    public static void main(String args[]) {

9.      Teams are ranked by the number of problems solved, with teams solving the same number of problems ranked by least total time. Teams solving the same number of problems with the same total time are ranked by the smallest elapsed time of their last accepted solution (not counting penalties for rejected runs). Any remaining ties are left unbroken unless they affect the regional winners, in which case they are broken by a coin flip.

10.  Any team that jeopardizes the integrity of the contest or violates the rules of the contest will be disqualified and the team members may be banned permanently from competing in future CCSC contests. Some examples of such actions are:

         Accessing the Internet in any way

         Disrupting power to computers

         Corrupting judging materials or the judging process,

         Collaborating with anyone not on the team (this includes using a portable phone)

         Disobeying site officials' instructions regarding appropriate conduct