Runtime Error(OTHER)

i’m getting Runtime Error(OTHER) in

my solution
i’m applying sieve of eratosthenes. Please help what to do for this RUNTIME ERROR. It is the first time i’m getting this runtime error message.

You cant declare array of 10^9 size.

array of size 35000 will be enough…

I think the declaration of the global array with size 9999999999 is the reason for that error.You can’t declare that much size like this. As said by @ravi0213 35000 will be enough.