← All problemsSign in

Rino and his CAB

Rino is a cab addict. He always prefers to take a cab whenever he travels. Rino lives in OMR. One fine day, he decides to go to college which is also in OMR and decides to book a cab. Let us assume the OMR to be a straight road (A number line). The cab driver, who has his car parked at point $I$ in OMR (initial position) takes the booking, goes to Rino's house situated at point $H$ , picks him up

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