Modern Art is a CCC problem. Notice that if you brush on a specific square for an odd number of times, it ends up being a gold square. If it is even or 0, it is a black square. Using this, we could create a table that has the numbers….
Uncategorized
Air Conditioning
An air conditioner uses something called refrigerant. In a hot room, the refrigerant will take away the heat from the room. The heat will evaporate. The more the refrigerant contacts, the more heat it will take away. A compressor is another part of an air conditioner. If the refrigerant is…
Langley Shootings
4 victims were shot at 6:20 AM. 2 were confirmed dead, while a suspect was shot as well. One man was found dead by a Langley city bus loop. Another man was discovered dead at the Creek Stone Place. The police also found a woman who’d been shot near 203A Street…
Procrastination
Imagine you are given a long-term piece of homework. It is due in six months. You plan to complete some every day, where you finish right before the deadline. 2 months went by, and you haven’t even started working on it. You change everything where you complete everything in 4…
Arduino Light Project
To make an Arduino Light Project, you will need: 1 Arduino board 1 breadboard 15 wires 7 220 ohm resistors 7 Light Emitting Diodes Connect them all where the lights are side-by-side. Then, use the following code: This should create a lot of flashing lights.
Mouse Journey
Mouse Journey is a problem that is related to simple math. Read the problem first. The logic is simple: the total number of possibilities is the number of possibilities for the one above and the one to the left. The start is 1, and the cat areas are 0. Now,…
CCC ’03 S3 – Floor Plan
Floor plan is a CCC senior 3 problem that is very confusing at first, and gradually becomes more understandable. IndexError is more common. Functions greatly aid to help make the code for the solution. First, make a function called findarea. This function, given a coordinate, will find the area of…
CCC ’00 S2 – Babbling Brooks
Babbling Brooks is an example of a problem that is good for functions. There could be two functions, one of them seperates and the other joins. There could be a simple part that isn’t in a function, but most of the work and ligic is into the functions. Sample solution…
CCC ’10 J5 – Knight Hop
Knight Hop is a Junior 5 level 7 point problem. A little bit of chess knowledge is very useful, as it requires a knight. Functions are also extremely helpful, especially if it determines the possible next moves given a set of points. First, create a function than takes in a…
CCC ’14 S3 – The Geneva Confection
https://dmoj.ca/problem/ccc14s3 The problem above is mainly based off logic. It really requires only a few if else statements, variables and loops. First, you need to create a loop that loops based of an integer input. Everything else will be in this loop. Create an empty list that is for the…
