We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b665b1 commit 9de851aCopy full SHA for 9de851a
16/1.py
@@ -2,13 +2,13 @@
2
for tc in range(int(input())):
3
# 금광 정보 입력
4
n, m = map(int, input().split())
5
- data = list(map(int, input().split()))
+ array = list(map(int, input().split()))
6
7
# 다이나믹 프로그래밍을 위한 2차원 DP 테이블 초기화
8
dp = []
9
index = 0
10
for i in range(n):
11
- dp.append(data[index:index + m])
+ dp.append(array[index:index + m])
12
index += m
13
14
# 다이나믹 프로그래밍 진행
0 commit comments