
This website contains solutions to the Stage 2 problems from the Canadian Computing Competition. This website, and all of its solutions, are unofficial. All problems and test data were created by the University of Waterloo.
All solutions were programmed by Aaron Voelker from Bell High School (Ottawa), with the C programming language. The purpose of this page is to provide additional learning resources for teachers and students looking for fun Computer Science problems and efficient solutions.
Solutions exist for many of the Stage 2 problems on the Official CCC Website. Since the official site is not intended to be a learning resource, it is currently incomplete, and lacking explanations to the solutions.
If you see any mistakes, or would like to discuss anything Computer Science related with me, please give me a shout at dr.sane@gmail.com.
The test data for many competitions is not on the official website. Most test data from 1997 and 1998 were created by me. Please let me know if you see any mistakes, or would like to add your own input files to my collection.
| Snowflakes | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (2/5) |
Problem 1.2 (2007) Hint Answer Solution | ||||
| Fun | (3/5) | |||||
| Topics | Comparisons |
| ||||
| Bowling For Numbers++ | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (5/5) |
Problem 1.3 (2007) Hint Answer Solution, Related Code: Stage 1 Solution | ||||
| Fun | (4/5) | |||||
| Topics | Dynamic Programming |
| ||||
| Road Construction | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (4/5) |
Problem 2.3 (2007) Hint Answer Solution, Related Code: Strategic Bombing 2001 | ||||
| Fun | (4/5) | |||||
| Topics | Graph Theory |
| ||||
| Scribble | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (1/5) |
Problem 1.1 (2004) Hint Answer Solution | ||||
| Fun | (3/5) | |||||
| Topics | String Processing |
| ||||
| Hockey Scores | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (2/5) |
Problem 1.2 (2004) Hint Answer Solution | ||||
| Fun | (4/5) | |||||
| Topics | Greedy Algorithms Nodes |
| ||||
| S & K | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (4/5) |
Problem 1.3 (2004) Hint Answer Solution | ||||
| Fun | (1/5) | |||||
| Topics | Tree Operations Garbage Collection |
| ||||
| Return Of Space Turtle | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (3/5) |
Problem 2.1 (2004) Hint Answer Solution | ||||
| Fun | (3/5) | |||||
| Topics | Geometry Relative Motion |
| ||||
| Jengaism | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (2/5) |
Problem 2.2 (2004) Hint Answer Solution | ||||
| Fun | (2/5) | |||||
| Topics | Support Structures Logic and Reasoning |
| ||||
| Orko | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (4/5) |
Problem 2.3 (2004) Hint Answer Solution | ||||
| Fun | (5/5) | |||||
| Topics | Game Theory Dynamic Programming |
| ||||
| Fibonacci Numbers | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (1/5) |
Problem 1.1 (1998) Hint Answer Solution, Related Code: Recursive Solution | ||||
| Fun | (4/5) | |||||
| Topics | Large Data Types |
| ||||
| Message Deciphering | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (1/5) |
Problem 1.2 (1998) Hint Answer Solution | ||||
| Fun | (4/5) | |||||
| Topics | Probability Cyphering |
| ||||
| Bus Schedule | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (3/5) |
Problem 1.3 (1998) Hint Answer Solution | ||||
| Fun | (2/5) | |||||
| Topics | Graph Search Algorithm |
| ||||
| Palindromes | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (1/5) |
Problem 1.1 (1997) Hint Answer Solution | ||||
| Fun | (2/5) | |||||
| Topics | String Traversal Memory Management |
| ||||
| Alien Invasion | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (4/5) |
Problem 1.2 (1997) Hint Answer Solution | ||||
| Fun | (3/5) | |||||
| Topics | Data Structures |
| ||||
| High Tide | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (1/5) |
Problem 2.1 (1997) Hint Answer Solution | ||||
| Fun | (3/5) | |||||
| Topics | Physics Math |
| ||||
| Space Aliens | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (3/5) |
Problem 2.2 (1997) Hint Answer Solution | ||||
| Fun | (3/5) | |||||
| Topics | Vectors Recursion |
| ||||
| Aligning DNA | ||||||
|---|---|---|---|---|---|---|
| Difficulty | (5/5) |
Problem 2.3 (1997) Hint Answer Solution | ||||
| Fun | (4/5) | |||||
| Topics | Dynamic Programming Outputting Best Path |
| ||||