Please help me solve this problem

Правка en1, от 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/

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский om1429888 2022-07-26 22:14:17 934
en1 Английский om1429888 2022-07-26 21:48:19 178 Initial revision (published)