Swadhin and his Trip
CodeChefOpen on judge ↗
Swadhin wants to visit Disneyland but cannot afford it. Navya and Chakradhar being good friends of his decided to contribute money to pay for his trip. Finally they got enough money to fund his travel expenses. Once in Disneyland, Swadhin is very confused with the directions. He takes a stance that he'll only walk in the **North,South,East** or **West** direction so that he remembers the pat
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