Circle
CodeChefOpen on judge ↗
Problem description. Given center of two circles C1 (x1, y1) and C2 (x2, y2) and radius(r) same for both circles. Now player P1 and P2 starts running on circle C1(x1, y1) and C2(x2, y2) resp. with same speed and at same time from the topmost point of circle i.e. (x1, y1+r) for circle C1 and (x2, y2+r) for circle C2. Any player can run in any direction (either clockwise or anticlockwise) Find m
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