← All problemsSign in

Cold-Drink

Ram needs to transport cold-drink bottles. He takes a box and divides the box into AxB cells. In each cell he can place atmost one bottle. He then decides that he wants to put cushion around each bottle so now he will not be able to put two bottles adjacent to each other. He must just have placed the bottle in alternate fashion. But when he saw the box there were certain locations that were not su

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