Treasure Hunt
CodeChefOpen on judge ↗
Problem description. Tintin and Captain Haddock is out for an adventure in the fantasy “World of Novels”. They have a treasure map with them, which they had come across in their last adventure. Strangely, the place is not suitable for traditional human transportation. You can ONLY teleport from one station to its neighboring station(i.e, stations connected by a single edge). The speed of teleport
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