Problems from CGS Intra-School Programming Contest 2022

These problems are from a contest organized by Chittagong Grammar School on January 14, 2022 at 9:00 AM UTC See details...

Standings
A. An Evening of Chess
We all know about the chess game. The chess game is played on an 8x8 board. Now, Steve and Chandler ...
B. Graduation Gifts
Today is Graham’s graduation. Sam (Graham’s brother) has thrown a graduation party for him and decid...
C. Origin Of Integers
Integers are whole numbers: positive numbers, negative numbers and zero. When you add two integers t...
D. Among Us?
Two clans, Akatsuki and Kohona, are fighting for perpetual peace over their country, but something d...
E. Quintessential Queries
Alice and Bob love to play with numbers, one day they found an array with V integers consisting of o...
F. Loading.....
In this problem, you need to write a code that prints a progress bar. In each test case, you will be...
G. Let's Make a Plan
It’s not easy to hang out with your friends during weekends when you have a full-time job and bills ...
H. Strong Passwords
Ifrad is creating an account on Toph. He needs your help to create a strong password. Ifrad will giv...
I. Ifrad Additions
Ifrad is learning how to add numbers. However, he gets confused whenever there is a carry. To help I...
J. Unlock the Door
Our Friend “Ishmail The Monk” has finally found the Temple of Programming secrets. However, the door...
K. Rajesh and GCD
You are given an array of n integer numbers a1​,a2​,..,an​ Define a function f(l,r) as the number of...
L. Trashy Ifrad Johnson and Helping Innocent people
Grove Street was surrounded by attackers. A truck enters the hood. The driver claims the load is foo...
Toph uses cookies. By continuing you agree to our Cookie Policy.