Skip to content

Commit ceeb080

Browse files
authored
Update 7.py
1 parent f3f2de0 commit ceeb080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

8/7.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
n = int(input())
33

44
# 앞서 계산된 결과를 저장하기 위한 DP 테이블 초기화
5-
d = [0] * 1000001
5+
d = [0] * 1001
66

77
# 다이나믹 프로그래밍(Dynamic Programming) 진행 (보텀업)
88
d[1] = 1

0 commit comments

Comments
 (0)