← All problemsSign in

Bundle of Notebooks

The class teacher gave a bundle of $n$ notebooks(where $n$ is even) to the class monitor. These notebooks have to distribute between $n/2$ students of the class. Each notebook has a distinct positive number written on it. Each student will get two notebooks and each notebook is given to exactly one student. The task of the class monitor is that, he has to distribute all the notebooks such that the

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