The Calgary Collegiate Programming Contest (CCPC) provides college students in Calgary with the opportunity to excel in an ACM ICPC-style programming competition. Students test their aptitude and knowledge against a set of programming puzzles requiring problem-solving, programming, math, and teamwork skills. Teams are ranked according to the number of problems solved within four hours. The CCPC is sponsored by Coverity, and provides a platform for the next generation of computing professionals to pursue excellence.

First Place $1800
Second Place $900
Third Place $450

First place: Team Odysseus (audio recording of interview with winners)

Left to right holding cheque: Kurtis Niedling, Karl Augsten, and Kent Williams-King. On left: Tyler Sims, R&D Director at Coverity. On right: Andrew Helwer, President of Problem Solving Club

Second place: Team Thinking

Left to right holding cheque: Linquan Zhang and Haoming Fu

Third place: Team YummyStuff

Holding cheque: Wen Li Looi

UCalgary 2013 CCPC Article

Official Scoreboard
Guest Scoreboard

  • CCPC photos (.zip, 177 MB): download
  • CCPC problem statements (.pdf, 0.4 MB): download
  • CCPC problem test data (.tar.gz, 7.1 MB): download
  • CCPC poster (.pdf, 24 MB): download
  • CCPC winners interview (.m4a, 0.7 MB): download
Credit to Darko Aleksic and Hichem Aichour for creating the problem set and test data.
When & Where

  • Saturday, March 23rd, 2013 from 11:00 - 17:30 (coffee & catered lunch provided)
  • On campus at the University of Calgary, in the MS and ICT buildings (campus map)
  • Suggested parking: Math Science parking lot, 612 Campus Pl NW ($6/day)
  • Numerous options for using public transit to get to campus

Schedule & Info for Day of Contest Contest links: Language reference links: 11:00-11:30 in ICT 121:
  • Competitor check-in: please bring your student ID
  • Coffee served
  • Presentation by Coverity
  • Reading of rules and instructions
11:30-12:30 in Comp Sci Labs (first floor of MS):
  • Teams assigned a computer and login information
  • Practice contest to familiarize competitors with contest system
  • Lunch served at 12:00 noon by Grumans Catering and Delicatessen
12:30-4:30 in Comp Sci Labs (first floor of MS):
  • Official contest, four hours in duration
  • Scoreboard will be frozen for final hour so winners are not known
4:30-5:30 in ICT 121:
  • Presentation of problem statistics (number of attempts, successes, etc.)
  • Presentation by Coverity
  • Announcement of winners and presentation of prizes
  • Mingling with Coverity employees; pizza served
What to bring:
  • Any paper notes, code or textbooks you believe might be useful
  • Scrap paper and pencils/pens
  • Student ID
Resource provided for contest:
  • An envelope containing printouts of the problem set and computer/login info
  • Access to exactly one computer per team, running Linux
  • Ability to print your code to debug on paper
  • Text editors: Gedit, Kate, Eclipse, Vim, Emacs, Nano
  • Compilers/interpreters for C, C++, Java, Python, and Haskell
  • Internet access restricted to the contest website and official language documentation
  • Volunteers for assistance with very simple programming issues (syntax errors, etc.)
  • Food and drink
Registration (closed)
  • Registration closes on Wednesday, March 20th, 2013
  • Eligible contestants must be enrolled in a post-secondary institution in Calgary, Alberta
  • Both graduate and undergraduate students are eligible for prizes
  • Participants may organize into teams of 1-3 students
  • If you are ineligible you may still participate for fun or practice; contact us to register as a guest
  • Contact us if you have any questions or wish to modify your registration
Eventbrite - 2013 Calgary Collegiate Programming Contest

Contest Format

Teams of 1-3 students will compete to solve a set of 5-10 programming puzzles over a four hour period. The set will have a good mix of problems varying both in difficulty and subject domain. Most of the problems can be solved through cleverness rather than specialized knowledge, although the latter is an asset. Common subjects for problems include combinatorics, graph theory, number theory, and geometry.

For each problem, your program will be given input describing a test case. It must then provide appropriate output giving the answer to whatever problem was posed. Once you have written a program you believe solves the problem, you will submit the source code through a web interface. Your code will be subject to a large battery of tests. If your code returns correct output on every test case and runs within time and memory limits, the solution is accepted. Otherwise, it will be rejected. You will be told how your program failed, but will not be given details of the failed test case.

Official Rules:

  • Accepted programming languages include C, C++, Java, Python and Haskell
  • Each team has access to exactly one computer, to be used for writing, testing, and submitting code solutions
  • Code solutions can be printed to debug them on paper and free up the computer
  • Internet access is restricted to standard library and language documentation, as well as the contest website
  • Teams have unlimited access to written material such as textbooks, notes, and printed example code
  • Use of electronic devices other than the computer is strictly prohibited
  • Teams are ranked according to which has solved the most problems, with ties broken by time taken to solve

Preparation & Strategy If you want a leg up on the competition, there are some prep opportunities available:
  • The Problem Solving Club meets every Wednesday from 18:00 - 21:00 in MS 160 for coaching & practice
  • UVa Online Judge contains many programming puzzles for self-directed practice
  • Follow the PSC on twitter to ask questions or participate in discussion under the #ccpc hashtag
  • Register for the facebook event and participate in the discussion there
  • The first hour of the event (from 11:00 - 12:00) will include a short practice competition
Some time-tested strategies:
  • Read the problems, identify the easy ones, and solve them first
  • If you're having trouble identifying easy problems, look at the scoreboard to see what others are solving
  • Computer time is very valuable, so sketch out your program on paper before coding it (unless it's trivially simple)
  • Working together on a problem is usually a bad idea and just leads to confusion; assign problems, work in parallel
  • Debugging a program on paper is more effective than sticking print statements everywhere, 99% of the time
  • Come up with your own test cases for your program, especially edge cases
  • Have fun!
About Coverity

Coverity, the development testing leader, is the trusted standard for companies that need to protect their brands and bottom lines from software failures. More than 1,100 Coverity customers use Coverity's development testing suite of products to automatically test source code for software defects that could lead to product crashes, unexpected behavior, security breaches, or catastrophic failure. Our software has been used by some very cool projects, such as NASA's Mars Rover mission-critical software and CERN's Large Hadron Collider software. Coverity is a privately held company headquartered in San Francisco, with offices in Boston, Calgary, London and Tokyo, and more than 275 employees worldwide.