Find the Route
CodeChefOpen on judge ↗
##Explanation A students starts from the main gate of JNEC campus and visits some places in the JNEC campus in two passes. Student starts from the west-most place (Main Gate), makes a pass to the east-most place visiting some of the other places, then makes a second pass from the east-most place back to the main gate, visiting the remaining places. In each pass Students moves steadily east or wes
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