Nth prime number problem

shows run-error for first two test cases -
my code is:


rest of thecases have given right answer

@adityathaker28
hello aditya,
which question it is?

Deepak and primes in number theory challenges

@adityathaker28
check 5000 000th prime number on internet and declare ur sieve array size bigger than that.
and modify ur primesieve function accordingly

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.