What’s the issue with my code as when I try it for the default test-case it is giving me the correct answer.
please see to it
What's the issue with my code
hi @Riya-Verma-1207263756078812,
write flags >= units
not ==
and use int not long long u will get TLE for more mem consumption
but why greater than and equal to?.. if the cases are equal to units then only we need to print yes otherwise we will print no!
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.