MAximum Circles WA on Case 4

Could anyone please check the error in my code? And how do I deal with concentric circles?
Thanks!

they have considered circle with intersection point also so…

    if(val<=v[i].first)
    {
        ans++;
        val=v[i].second;
    }

Worked! Thank you :smiley: