题解 | #矩阵乘法#
https://www.nowcoder.com/practice/ebe941260f8c4210aa8c17e99cbc663b
x = int(input())
y = int(input())
z = int(input())
mat1 = []
mat2 = []
results = [] #x行z列
for i in range(x):
mat1.append(list(map(int,input().split())))
for i in range(y):
mat2.append(list(map(int,input().split())))
for i in range(x): #第一个矩阵的行
hang = []
for j in range(z): #第二个矩阵的列
sum = 0
for k in range(y):#第二个矩阵的行k
values = mat1[i][k]*mat2[k][j]
sum += values
hang.append(str(sum))
print(' '.join(hang))