← All problemsSign in

Chocolates Production

Chef produces chocolates in bulk. He produces the chocolates inside a microwave. The microwave has the capacity to produce $A$ chocolates per day. Since the microwave is a bit defective nowadays, productivity has been reduced to the production of $B$ chocolates per day. The productivity of the microwave can be restored to its full production, after $K$ days of maintenance and construction. Che

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