Please help me to correct the code be it implementation or logic
Where did my logic go wrong?
Hello @Senjuti256 your logic is partial correct but even correcting and removing errors it is not passing test cases.
because we apply you method on the vector of pairs which are sorted according to ‘c+r’.that is the ending arc with x-axis of the circle.
i have corrected your code and it is not passing all test cases.
Yea but why it is not passing all tcs that i am not understanding.
becuase this logic works when we sort the data according to the point centre+radius coordinate that is given to us.
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.