why am i getting time limit exceed
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
Just create a sieve array of size 100000001 and fill it.
And then display accordingly
I modified your sieve function a bit. Please check it.