User Tools

Site Tools


Rules and Instructions


The time to complete all questions is 120 minutes. The allowed programming languages are C, C++, Java. Non-standard libraries cannot be used in your solutions. The Standard Template Library (STL) and C++ string libraries are allowed. You may bring books or other printed material if you like.

Input and Output Format Rules

  • All questions require you to read the test data from standard input and write results to standard output. You cannot use files for input or output.
  • No white space should appear at the end of a line, and all lines should be terminated with a new line, except where explicitly stated.
  • Tabs should never be used.
  • Output must correspond exactly to the provided sample output, including (mis)spelling and spacing. Multiple spaces will not be used in any of the judges' output, except where explicitly stated.

Submission of Solution

In order to submit your solution

  • open a new terminal
  • change directory to /cs/fac/packages/pc2
  • run ./pc2team
  • provide the login and password given to you by the judges
  • click on the Submit tab (if not already selected)
  • select the problem you solved
  • select the programming language your solution is written in
  • select the source file to submit (your solution must be coded in a single source file
  • click on submit

Evaluation of Solution

Your solution will be re-compiled prior to testing with the judges' data. While testing, your solution is given limited CPU time and memory to run for each input file. Programming style is not considered in this contest. You are free to code in whatever style you prefer. Documentation is not required.


To see the online scoreboard, point your browser to the following URL:

rules.txt · Last modified: 2008/09/13 13:55 by franck