Explain Editorial

Plz use prime seive optimisation in your code as given under number theory section,