Time limit exceeds

the time limit exceeds in this problem ,so what should i can do

Hey @shudhanshu20092001_af6f20d24c617008 To do this question you have to use Famous approach called sieve of eratosthenes(SOE).If you haven’t studied this approach till now then skip this question for time being bcoz SOE will be covered later in the course.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.