Spoj problem Prime1(segmented sieve)

Правка en2, от n8118, 2015-06-09 23:01:01

I have been trying to solve a problem on segmented sieve i.e prime1(http://www.spoj.com/problems/PRIME1/) in spoj but i am getting wrong answer and unable to find the bug in the code. So please help me..

http://ideone.com/JiSxel

Теги spoj, primes, sieve of eratosthenes

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский n8118 2015-06-09 23:01:01 970
en1 Английский n8118 2015-06-09 22:57:59 1221 Initial revision (published)