Desired output is not comming

desired output is not comming

you have not initialised n2

why the code is not submitting is there any problem in site

https://ide.codingblocks.com/s/180526 THIS IS THE CODE

@mohdkaifalam041
Your code is giving TLE because you are computing prime numbers upto 100000 each time.instead try and call a seive function for each input