Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 204 Bytes
"""
Problem 10. Summation of primes.
http://static.projecteuler.net/problem=10
"""
import misc
def main():
res = misc.sieve_Erat(2000000)
print(sum(res))
if __name__ == '__main__':
main()