Skip to content

Commit 9de851a

Browse files
authored
Update 1.py
1 parent 2b665b1 commit 9de851a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

16/1.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
for tc in range(int(input())):
33
# 금광 정보 입력
44
n, m = map(int, input().split())
5-
data = list(map(int, input().split()))
5+
array = list(map(int, input().split()))
66

77
# 다이나믹 프로그래밍을 위한 2차원 DP 테이블 초기화
88
dp = []
99
index = 0
1010
for i in range(n):
11-
dp.append(data[index:index + m])
11+
dp.append(array[index:index + m])
1212
index += m
1313

1414
# 다이나믹 프로그래밍 진행

0 commit comments

Comments
 (0)