CCC
The Canadian Computing Competition (CCC) is a fun challenge for students with an interest in programming. Designed to be both accessible to students with some programming experience and to challenge the keenest programmers at the secondary-school level, the CCC helps students build confidence and grow their ability to design, understand and implement algorithms.
See more from official site. Let's give it a try
J1
With what we have learned so far, we should be able to solve most J1 and J2 problems.
For example, let's take a look at J1 from 2020's contest.
Sample Solution for 2020-J1
Similarly, J1 from 2021 and 2022 are both straightforward translation of formula. The key is to understand the problem statement.
Sample Solution for 2021-J1
2021-J1 | |
---|---|
Sample Solution for 2022-J1
J2
J2 is usually a bit more complex than J1. It's likely that you may at least use some forms of loops.
For example, let's take a look at J2 from 2022's contest.
Sample Solution for 2022-J2
More Exercise
All the past contests can be found online. We can also use DMOJ to evaluate the solutions online.
Project Euler and Advent of Code are also good resources if you want to practice coding and problem solving skills.