restructure zeta/** to storage/zeta/**
This commit is contained in:
8
storage/zeta/py/completed/1904.py
Normal file
8
storage/zeta/py/completed/1904.py
Normal file
@@ -0,0 +1,8 @@
|
||||
N = int(input())
|
||||
|
||||
M = [1, 2] + [0 for _ in range(1000000 - 1 - 1)]
|
||||
|
||||
for i in range(2, N):
|
||||
M[i] = (M[i - 1] + M[i - 2]) % 15746
|
||||
|
||||
print(M[N - 1])
|
||||
Reference in New Issue
Block a user