Start: Nov, 12, 2017 10:00:00
2017秋Python程序设计基础培训第三次作业
End: Nov, 19, 2017 12:00:00
Time elapsed:
Time remaining:

Problem_ID: F
Result: Accepted
Time: 112ms
Memory: 24436kB
Author: zzzhanghc
In contest: 1123

n,m,k=map(int,input().split())
li1=[]
li2=[]
li=[[0 for i in range(k)] for j in range(n)]

for i in range(n):
	li1.append(list(map(int,input().split())))
for j in range(m):
	li2.append(list(map(int,input().split())))
for i in range(n):
    for h in range(k):
        for j in range(m):
            li[i][h]+=li1[i][j]*li2[j][h]
        print (li[i][h],end=' ')
    print()