题解 | #矩阵乘法#
矩阵乘法
https://www.nowcoder.com/practice/ebe941260f8c4210aa8c17e99cbc663b
x = int(input())
y = int(input())
z = int(input())
A,B = [],[]
for i in range(x):
A.append(list(map(int,input().split())))
for i in range(y):
B.append(list(map(int,input().split())))
C = []
for i in range(x):
l = []
for j in range(z):
c = 0
for k in range(y):
c += A[i][k]*B[k][j]
l.append(c)
C.append(l)
for i in C:
print(*i)