Treasure Hunt
CodeChefOpen on judge ↗
Suraj is a treasure hunter who came across a map that leads to the treasure. But his assistant betrayed him by sharing the information of the treasure and the map with a rival gang. Now Suraj has limited time to reach the treasure before the rival gang. The treasure is situated within a maze surrounded by giant boulders which are **blocking** the roads to the treasure *(possibly all the roads are
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