← All problemsSign in

Nobita in Love

As you all know Nobita always tries to impress Shizuka. This year he proposed her on Valentine's day and now they are in love, but Shizuka is very moody. She is happy with Nobita only if he gives her a chocolate per day. Nobita has $A$ chocolate/chocolates with him and with the help of Doraemon's gadget he can make one chocolate out of $B$ chocolate wrappers(already eaten by Shizuka). As

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