Time limit exceed

why am i getting time limit exceed

Please send the link to your code

i am not able to see the responses

What is the problem that you are facing? Getting TLE or wrong answer in your code?

sir i am not able to see the replies on ide so please chat with ta option

Chat with TA option is not available currently.
You can tell me here

https://ide.codingblocks.com/s/223284 link of the given code

Just create a sieve array of size 100000001 and fill it.
And then display accordingly

i made the sieve now i am getting tle in every case link https://ide.codingblocks.com/s/223877


I modified your sieve function a bit. Please check it.