← All problemsSign in

Childrens Day

On the occasion of Children’s Day, you were invited as a guest in a school. During celebration you were asked to distribute chocolates among children such that maximum children can get the chocolate. You have a box full of chocolates with different width & height. You can only distribute largest shape chocolate. So if you have chocolate of length 10 and width 5, then you need to break it in 5x5 sq

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