University of Toronto ACM Local Contest 1 (warmup)

September 17, 2005

Set-up

Please execute the following command from your home directory:
cp -r ~contest/pc2v86 ./
(ignore the "Permission denied" messages)

Now create a working directory for this contest (call it whatever you want).

To start PC2, open a new terminal window and type
cd ~/pc2v86
./pc2team

Warm-up Problems

Hints

  1. During the warm-up contest, try to get as many different replies from the judge as possible, so that you know what each of the different replies means. In particular, try to send programs that crash, time out or give a wrong answer.
  2. Read the input specification for each problem very carefully. Especially note the bounds on each of the inputs. Sometimes, when the inputs are small, it is possible to brute force the answers.
  3. The int datatype can only hold integers smaller than 231. The long long datatype can hold integers smaller than 263.