next up previous
Next: Casting out threes

Inaugural UTICPC

January 10 1997

Welcome to the first University of Toronto Inter-Campus Programming Contest (UTICPC). This friendly competition arose out of the groundswell of interest surrounding the ACM Regional Programming Contest in the fall of 1996. Student volunteers put this together for fun, and we hope it's the start of a long tradition. For more information, visit

Contestants are dispersed among at least three locations, so we're relying on your honesty in complying with the following rules.


  1. Each person must be a UofT student (or former student) and must compete in a team for his or her own campus (i.e. St. George, Erindale, Scarborough) or group (alumni, grad students).
  2. Each team consists of at most three people.
  3. Teams are not allowed to collaborate with anyone else. However, any reference material is allowed, but all submitted code must be typed in during the contest period.
  4. Each team may use only one terminal (i.e. one screen and keyboard combination).
  5. The competition begins at 7pm and ends at 10pm. You may log in early, but you may not look at the questions or type in code until 7pm.
  6. You may use any text editor to create your programs.
  7. CDF teams should add ~contest/publicbin to your paths. Use judge to submit a program, question to ask for clarification, and register to register for the contest. Teams at other locations should consult with their site coordinator.
  8. The winning team is the one solving the most problems. Ties are broken by comparing the sum of completion times. (The completion time for a problem is the number of minutes after 7pm at which the correct solution was submitted.) A penalty of 15 minutes per incorrect submission is added to this total.
  9. Judges may be bribed with large quantities of money or good pizza. Just try us.

Technical stuff:

  1. All programs must consist of exactly one source file and be written in C, C++, ISO Pascal, or OOT. The judges will compile your program using gcc, g++, p2c, or coot, respectively. C and C++ programs will be linked with the standard C library and the math library.
  2. All input is presented on the standard input stream, and all output should be to the standard output stream. Unless otherwise stated, all numbers are in decimal notation.
  3. Each execution of your program should take at most 30 CPU seconds on eddie.cdf, a fast machine. (The judge's solutions take no more than 1 second each.)
  4. System calls other than for such I/O are not allowed. Also, your program may not execute an external program, e.g. the system C library call is off limits.

Good luck, and have fun!
© 1997 David Neto, Wayne Hayes, and Evelyn Hsia.

next up previous
Next: Casting out threes

David Neto
Thu Jan 9 19:12:26 EST 1997