How to solve SUMPRIM1 — Sum of primes from SPOJ

Revision en1, by alfadel, 2018-04-30 14:24:22

I'v tried to solve this problem from 4 or 5 days, but the only solution that I'v wrote finish running in 84 seconds using Segmented Sieve.

So is there any hints or resources to start working on the correct solution?

Tags primes, spoj

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English alfadel 2018-04-30 14:24:22 265 Initial revision (published)