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…
Month: June 2022
CCC ’14 S1/J4 – Party Invitation
https://dmoj.ca/problem/ccc14s1 This is a dmoj 5-point Junior 4 question. It is more complex than it seems. Read on to find the solution and the logic to it! First, read the question. Without knowing what the question is about, all the rest of this blog will be useless. First things first,…
Conjugate
Conjucates are very useful when it comes to simplifying fractions with an irrational denominater. A conjugate is where you change the signs between two terms. Take a look at the polynomial below: If you try to add this fraction to a rational fraction like 1/3, it will be very exhausting…
