Match The Rhyme
CodeChefOpen on judge ↗
Mr. $X$ now decides to conduct a party for all the participants of the rhyme match participants. There he placed $n$ led tiles from led to the right. Initially, all tiles are off. Each tile is connected to its own piezoelectric disc. When a person stamps at the $ith$ piezoelectric disc the $ith$ tiles get switched on to yellow color. The tile once switched on will not be switched off. The tile wil
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start