BallBox
CodeChefOpen on judge ↗
Anu is playing with balls of two different colours red and green which came in a tightly packed box(no space between balls and walls of box) of dimensions $LxBxH$.After playing when Anu started putting balls back in boxes in the same way it came before,he realised that some balls were missing as there were empty space in box. Anu has no clue about the number of balls came in the box and the num
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