Please help me solve this problem

Revision en1, by om1429888, 2022-07-26 21:48:19

i have been trying alot but cant comeup with a solution,i thought using segmented sieve but it gives tle. https://www.spoj.com/problems/BSPRIME/

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English om1429888 2022-07-26 22:14:17 934
en1 English om1429888 2022-07-26 21:48:19 178 Initial revision (published)