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: 107ms
Memory: 24436kB
Author: lifeiying
In contest: 1123

n,m,k = list(map(int,input().split()))
c = [[0 for i in range(k)] for j in range(n)]
a = []
b = []
for i in range(n):
    a.append(list(map(int,input().split())))

for i in range(m):
    b.append(list(map(int,input().split())))

for i in range(n):
    for h in range(k):
        for j in range(m):
            c[i][h] += a[i][j]*b[j][h]
        print (c[i][h],end=" ")
    print()