first commit
This commit is contained in:
BIN
p10/__pycache__/solution.cpython-37.pyc
Normal file
BIN
p10/__pycache__/solution.cpython-37.pyc
Normal file
Binary file not shown.
7
p10/solution.py
Normal file
7
p10/solution.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from util.sieve import sieve
|
||||
|
||||
def solution(n):
|
||||
p, s = sieve(n)
|
||||
return sum(p)
|
||||
|
||||
print(solution(2000000))
|
||||
Reference in New Issue
Block a user