The Travelling Students
CodeChefOpen on judge ↗
The Students of $Tritvi$ $College$ are shifting to their new hostels at $Sabar$. Since $Sabar$ is a little far away from $GEC$ where they usually go for studying, and $Infocity$, where they go for shopping; they decide that in order to visit all of them in a single day, they would first go to $GEC$ from $Sabar$ and then later, from $GEC$ to $Infocity$ and then back to $Sabar$ from $Infocity$. Th
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