← All problemsSign in

Jealous Boy

It is time of i.fest'16 and deadline is till 2 am for girls. Last night one newly formed couple (Mr.X and Miss.Y) was going on CR. Seeing this Mr.Z who has a big crush on Miss Y since first year, wants to follow them and see what they are doing this late.So assuming CR as a circular track of radius r. Both the couple and Mr.Z starts from canteen. They start either in same direction or in the oppos

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