Judging for ACM Programming Contest

Lisong Xu (Based on Jeff's Link)
(Last Updated on October 31, 2011)

1. Installing Compilers on Your Laptop

    In the ACM programming contest, a team may use any of the following languages: Java, C, and C++. Accordingly, a judge should install the following software on his/her laptop: Java Development Kit (version 6 and up), gcc (version 3.4.4 and up), and g++(version 3.4.4 and up).
    Note that, if you have multiple Java software installed on your laptop, sometimes you may be confused with which one you are using. Therefore, I strongly suggest you first uninstall all Java Development Kits (JDKs) and all Java Runtime Environments (JREs) from your laptop, and then install the latest Java SE Development Kit.
    You may download and install the above compilers at the following sites. Depending on the network and your machine speed, this may take one to two hours. Thus, please do not wait until the last minute to install them!

    Windows Machines:

    Linux Machines:

    Mac Machines:

2. Installing PC2 on Your Laptop

    PC2 is the Programming Contest Control System developed at California State University, Sacramento in support of Computer Programming Contest activities of the ACM.

3. Configuring PC2 for Training

    Now you are almost done! Just one more step to configure PC2, so that it can connect to the training server.

4. On-Line Training for Judging

   Type the following commands in the command line to make sure that you have successfully installed everything:

    Start PC2 Judge in the PC2 installation directory

    Type your assigned username and password. Now you should see a list of 12 "Unjudged Runs". All of them are collected by me from the previous local and regional programming contests. If you see less than 12 "Unjudged Runs", send me an email, and I will reset the training server.

    Please judge each of them by

   Compare your judgment with the following correct judgment, if you have any questions, please feel free to contact me.

Team Problem Language Correct Judgment
team1 Babbage GNU C++ Yes
team2 Race (Requires 1-fractional digit output format) Java No - Output Format Error
team3 Buffet Java Yes
team4 Gates Java No - Time-limit Exceeded
team5 Gates GNU C++ No - Wrong Answer
team6 Grace Java No - Run-time Error
team7 Jobs Java Yes
team8 Sum
Java No - Compilation Error
team9 Touring Java Yes
team10 Touring GNU C++ Yes
team11 NBits GNU C++ No - Wrong Answer
team12 Walks GNU C Yes

5. During the Actual ACM Programming Contest

6. More Information