← All problemsSign in

BOOKS IN SHELF

Dhanu had been to the NEW YEAR PARTY, she had got some gifts to her friends and even her friends had bought books as a new year present, as she is a book lover. After returning from the party, Dhanu has to arrange the books in shelf(single row shelf) which is of length $N$ cm. Let $M$ be the number of books that she got as a present. Assuming, that the width of each book is $3$ cm. How many books

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