Test cases failing

I cannot understand why some of the test cases are failing.Can anyone plz help?

hi @meadri17 the range of elements is really big so you will have to use segmented prime sieve for this question

i have segmented seive but still some test cases are failing

@meadri17 share your code using CB IDE

plzz help me find out the errors in my code

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.