← All problemsSign in

Movie Time

There are three friend living on the straight line in chefland. The first friend lives at the point p1, the second friend lives at the point p2, and the third friend lives at the point p3. They plan to go for a movie, so they need to meet at one point. What is the minimum total distance (in Km) they have to travel in order to meet at some point and go for a movie. ### Input: - First line will

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start