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



