Burn Calories, no kidding!
CodeChefOpen on judge ↗
Mark loves eating chocolates and also likes to be fit. Given the calorie count for every chocolate he eats, find what he has to do to burn the calories. The name of the chocolates along with its calorie count are given as follows: Calories per one whole bar: Dairy milk (D) 238 Twix (T) 244 Milky Bar (M) 138 Bounty (B) 279 Crunchie (C) 186 The exercises preferred by him and the
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