Deepak and primes doubt


sir 2 testcases are coming wrong please help

https://ide.codingblocks.com/s/217450 sir please check this updated code

@Shivanchal-Agarwal-2530139037020445 you have to print 5000000th prime number that lies around 10^8 and you have taken your max size as 10^7,take your MAX as 10^8 it will work fine.

yes sir it worked thank you

1 Like