Next: Casting out threes
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.
- 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).
- Each team consists of at most three people.
- 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.
- Each team may use only one terminal (i.e. one screen and
- 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.
- You may use any text editor to create your programs.
- 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.
- 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.
- Judges may be bribed with large quantities of money or good pizza.
Just try us.
- 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.
- 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.
- 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.)
- 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: Casting out threes
Thu Jan 9 19:12:26 EST 1997