Prime visit query (not getting the result do check and tell me the changes i have to make)
You’re getting an error in the loops part. Please see the code again and try to make the seive again corrctly.
Also, it would be more efficient if you make the seive only once for all the constraints and not again for every test case
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.