Can you help me by figuring out, what is the error due to which my answer is not coming correct
Please do the further changes.
Can you help me by figuring out, what is the error due to which my answer is not coming correct
Please do the further changes.
Above is the Question link
OUTPUT
1
1
3
I was getting wrong answer for 2nd test case.
Please check my code and help me figure out the mistake
I have sent u the corrected code above… its working fine and passing all test cases…l
Thank You So Much
Just a query, like was my logic wrong, because it was showing wrong answer for 2nd test case.
I will refer the content you shared. Thank You
int finish_time = 0;
if(v[i].first >= v[i-1].second)
in both these lines u have to make correction…
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.