LA DISTANCE COMPTE
CodeChefOpen on judge ↗
Recently the city of Champs decided to organize a marathon to promote “The Community Spirit” among its residents. Aloha, Inova, Sam, and Jakarta decided to participate. Unfortunately, Sam got injured a previous day before the marathon and hence decided not to participate, rather thought to find the minimum distance between his friends during the race. Positions of Aloha, Inova, and Jakarta ar
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