Lazzelles Row
CodeChefOpen on judge ↗
Lazelle is a stubborn and rebellious child. On the morning of her 6th birthday, she decides to distribute candies to her classmates. Her class comprises of students seated in different rows of varying sizes. Known for her attitude, to dislike people, Lazzelle chooses to give candies only to certain people. After sharing candies, to the entire class, Lazzelle noticed that there was no row -that had
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