We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d2e6aa commit e8bf660Copy full SHA for e8bf660
BAEKJOON/2Silver/시리얼 번호.py
@@ -1,4 +1,4 @@
1
-#
+# 정렬
2
# https://www.acmicpc.net/problem/1431
3
4
"""
@@ -26,4 +26,5 @@
26
lists.append((serial_len, serial_sum, serial))
27
28
lists.sort()
29
-print("\n".join(list(map(lambda x: x[2], lists))))
+print("\n".join(list(map(lambda x: x[2], lists))))
30
+
BAEKJOON/2Silver/이친수.py
@@ -0,0 +1,7 @@
+# 다이나믹 프로그래밍
+# https://www.acmicpc.net/problem/2193
+dp = [0, 1, 1]
5
+for i in range(2, int(input())):
6
+ dp.append(dp[i]+dp[i-1])
7
+print(dp[-1])
0 commit comments