Not able to solve all test cases in deepak and primes problem


this is my code

@saisri you are checking prime numbers upto 500000 only but as per question you may have to print 500000th prime number that lies around 10^8 so make your code according to this.

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.