Nuts and Honey
CodeChefOpen on judge ↗
There was once a squirrel chief who found a treasure of nuts and small pots of honey inside a hollow trunk of an ancient tree. He moved all the nuts and honey back to his village, then came the distribution day. Chief asked you to distribute the nuts and pots of honey among the different villages of squirrels, But There is a problem -- the nuts and honey are batched for different villages, a
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