← All problemsSign in

Nobita and The Magic Jar

Problem description Once Doraemon showed Nobita his new gadget,which was called magic jar. The speciality of the jar was that if at once it gets fully filled by a juice,then even after taking out juice from it many times, it automatically gets refilled by a particular quantity i. e. 'L' litres every hour. As always, he took the gadget from Doraemon and to flaunt to his friends he organised a par

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