First Test Case is not getting passed

At line no. 16
for(ll j= i * i;j<=49000000;j+=i)
change j+=i to j+=2*i
as we can skip even numbers this way and optimize our code further

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.