TESTCASES NOT RUN

i have used logic to sort in terms of starting point…
and then comapre if ending point of first is less than starting point of next to add next circle

According to your latest submission, you have to sort circles such that the end point is small so your compare should be:
bool compare(circle c1,circle c2)
{
if(c1.c+c1.r<c2.c+c2.r)
return true;
else
return false;
}
also count stores valid circles hence circles to remove = t-count.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.