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

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

Standings
A. Butcher of Vowels
...if I'm to choose between one evil and another, then I prefer not to choose at all. -- Geralt (Th...
B. No More Child Labor
Child labor is a global crisis. As you are a problem solver, you need to be aware that many children...
C. Video Game Pro
Shefin is playing a video game. In this game, there will be $N$ buildings in a row. $i^{th}$ buildin...
D. Simple And
You are given a tree containing $N$ nodes. The nodes are numbered from $1$ to $N$. The root node of ...
E. Code Generator
Disha has a string $S$. In one second, Disha can choose a subsequence from $S$ that make the word “c...
F. Next Permutation
A sequence of $N$ distinct integers is called a permutation if all the integers are between $1$ and ...
G. Big LCM
Let, BLCM(a,b) be the smallest positive integer which is divisible by all integers in range [a,b]. G...
H. Interactive GCD
This is an interactive problem. Alice and bob are playing a game of Interactive GCD. The game engine...
I. The Hidden Island
It is believed that the hidden island of TreasureLand has many unsolved mysteries and undiscovered t...
J. Arrange the Bricks!
You have $N$ bricks two dimensional bricks of the dimension $1 \times 2$. The bricks are rotatable i...
Toph uses cookies. By continuing you agree to our Cookie Policy.