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
@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