We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6a6e65 commit ad28429Copy full SHA for ad28429
Level_2/멀리 뛰기/main.py
@@ -0,0 +1,7 @@
1
+def solution(n):
2
+ if n < 3:
3
+ return n
4
+ a, b = 1, 2
5
+ for i in range(3, n+1):
6
+ a, b = b, a + b
7
+ return b % 1234567
0 commit comments