https://ide.codingblocks.com/s/291502 how can i optimize this ?
Getting TLE error
@chitranshanmol07 when you called sieve store all prime numbers in vector then for every test case you don’t have to call getprime() just print vec[n-1] that will be your nth prime number.