Problems from National High School Programming Contest 2021 - Mock Contest 2

These problems are from a contest hosted on June 6, 2021 at 9:00 AM UTC. See details...

Standings
A. Mahir's Circle
Mahir and Shoikot are two brothers. Since Mahir is weak in Mathematics, Shoikot gives him some probl...
B. Simplicity of L.C.M.
You are given an array of N integers and an integer Q. You need to make the L.C.M.( Least Common Mul...
C. Save Jim
Suppose, you and your friend Jim went on an adventure. Somehow the king of giant kidnapped Jim. To s...
D. A Happy Mission: Planet Hizibizi
Suppose, you are working at NASA. One day they have found a planet called Hizibizi. The aliens of th...
E. Bag Theft
Once upon a time, when NHSPC used to happen onsite, a huge number of people used to attend the event...
F. Rectangle Game
You have a number of rectangular slabs of dimension 2×1. You need to fill up a 3×N sized rectangle u...
G. Chinese Superstition
Mr. Jin Yang is a Chinese businessman, you have to do some business-related work with him. But the p...
H. Bucket Price
One day, after waking up, I learned that all waste-buckets (trash cans) in front of the doors of the...
I. Cake Cutting Machine
Siam is a mathematician. He just discovered a weird relation between the number of straight cuts and...
Toph uses cookies. By continuing you agree to our Cookie Policy.