Circles
CodeChefOpen on judge ↗
Problem description. Raju has two circles with their centres and radii, if the area of C1 is A1 and that of C2 is A2, Help Raju calculate the area of union of the circles U , area of intersection I and if 1: U is A1 and I is A2 print C1CC2 2: U is A2 and I is A1 print C2CC1 3: U is A2 or A1 and I is A2 or A1 print c2~c1 else print NOT SATISFIED Input Input description. The first line of
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