There are two circle A and B with their centers C1(x1, y1) and C2(x2, y2) and radius R1 and R2. Task is to check both circles A and B touch or intersect each other or not.
First line consists of T test cases. Only line of every test cases consists of 6 integers, x1, y1, x2, y2, r1 and r2.
Single line output, print "1" if both circles touch each other else "0".
3 4 14 18 5 8
3 4 14 18 5 18
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.