← All problemsSign in

New Gadgets for Doraemon

Problem Description Nobita constantly keeps getting into trouble and asks Doraemon to lend him new gadgets everytime. However, Doraemon is currently short of gadgets and has reached the 22nd century to buy new gadgets. The gadget market in the 22nd century is connected has shops where there is exactly one path between any two of them. (A tree, not a forest!) Each gadget is recognised by an

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