Prime Generator

Revision en1, by Sabid_, 2023-11-17 13:35:41

I am trying to solve this problem using Segmented Sieve Algorithm. But I am getting runtime error but why this happening I don't understand. So, please help me. Problem link : https://www.spoj.com/problems/PRIME1/ My code : https://pastebin.com/TCacpXnQ

Tags number theory, sieve of eratosthenes

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Sabid_ 2023-11-17 13:35:41 271 Initial revision (published)