← All problemsSign in

Goku and the Division

Problem description. Help!! Goku is facing a VERY HARD problem!! Goku is finally back after his long training schedule. To make his kids- Gohan and Goten happy, he brought a big chocolate, weighing ‘W’ kilos. On arrival he came to know that while he was away, Gohan and Goten developed a new love for even numbers. So Goku decides to divide the chocolate into two parts such that each of the part

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