wlsgud2075   2년 전

a,b = map(int,input().split())
c, d = [],[]

for _ in range(a):
    a2 = list(map(int,input().split()))
    c.append(a2)

for _ in range(a):
    a2 = list(map(int,input().split()))
    d.append(a2)

for i in range(a):
    for j in range(b):
        print(c[i][j] + d[i][j], end=" ")
    print()

protarie   2년 전

이 코드는 정답입니다.

wlsgud2075   2년 전

근데 왜 자꾸 런타임 에러가 뜰까요..? ㅠㅠㅠ

댓글을 작성하려면 로그인해야 합니다.