Problems from CGS Intra School Programming Contest 2020

These problems are from a contest hosted on February 26, 2020 at 9:35 AM UTC. See details...

Standings
A. Tale of Cities
You decide to go for a very long drive on a very straight road. Along this road are five cities. As ...
B. WIll They Make a Comeback?
Sani has recently made a brand-new football team called “Beverly Hills FC”. This team has already pa...
Moderate 25/33/56
D. Sani's Valentine
The 14th of February of every year may not mean much to a lot of programmers but Sani is different. ...
E. Highest Runs
As many of you already know, the Bangladesh U-19 team has won the U-19 world cup in an amazing fashi...
Moderate 21/29/74
F. Easy?
This may sound easy but actually isn't.Euler's formula, named after Leonhard Euler, is a mathematica...
G. Once Upon a Time in Beverly Hills
The Beverly Hills Arena has quite a bit of history attached to it, with a mostly positive trend afte...
H. Mission Prove-Sani-Wrong
We all remember the grave sacrifices made by the great language martyrs on the 21st of February 1952...
Moderate 6/10/17
I. Sanaullah Sani and the Prisoner of Beverly
We have all loved watching the adventures of Hogwarts unfold. However, there is one wizard who's pow...
Moderate 2/5/6
J. Sani's Cyclic Shifts
Sani likes finding cyclic shifts of strings. A cyclic shift of a string is obtained by moving charac...
Moderate 5/7/10
K. Zombies of Beverly
What we feared the most has finally happened, an epidemic has thrown the citizens of Beverly into ch...
Moderate 3/4/5
L. Sani Is in a Lot of Pain
As the title suggests, Sani is in a lot of pain, not for physical reasons however. There is a proble...
Very Easy 1/13/30
M. Sani's Burger
Mohammad Sanaullah Sani loves burgers. He is never tired of having burgers and has recently broken t...
Moderate 43/52/90
N. How Old Are You?
This problem is very simple. You will be given the birth year of a person and you will have to print...
Moderate 47/55/140
O. Find the sum
''Sanaullah Hair porducts'' has recently launched a survey for finding the total number of hair lost...
Toph uses cookies. By continuing you agree to our Cookie Policy.