← All problemsSign in

Two Circles

CodeChefRating 2391Open on judge ↗

There are two circles in a plane. The radius of the first circle is $R_1$, while the radius of the second circle is $R_2$. The coordinates of the centre of the first circle are $(X_1, Y_1)$, while the coordinates the centre of the second circle are $(X_2, Y_2)$. Consider all points $P$ with the following properties: - $P$ lies strictly inside the first circle or on its perimeter. - $P$ lies stric

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