Pick Chocolates
CodeChefOpen on judge ↗
Chomu, a statistics-lover is fond of eating chocolates while solving problem. One of his friend Monu is jealous of him so he wanted to take advantage of his chocolate eating habit to check his statistical analysis skill. Monu asked Chomu to play a game with him, in game Monu will distribute chocolates on number line and Chomu has to choose a position from one of the points having chocolates and st
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