← All problemsSign in

Meena and Library job

It’s the summer vacation in DBATU. Meena decided to get a part-time job in the vacations to support his living. Finally, he found a job at the local library, which has opened recently. There are $N$ books in the library. Meena was assigned a job to label all the books serial-wise from 1 to $N$. Meena approached to the only printing press in DBATU. The printing press had a policy of printing each

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start