Binod and Chocolates
CodeChefOpen on judge ↗
$Binod$ is giving chocolates to his three daughters.He has two chocolates boxes.One contains$ A$ chocolates, and the other contains$B$ chocolates. He can thus give A chocolates,$ B $ chocolates or $A+B$ chocolates to his daughters (He cannot open the boxes). Your task is to determine whether $Binod$ can give chocolates to his three daughters so that each of them can have the same number of chocol
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