Sir, can you please provide some hint regarding the first test case of this question
Not able to solve the 1st test case
@kodivine0 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.