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: 97ms
Memory: 24300kB
Author: lijian3256
In contest: 1123

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

b = [[0 for i in range(20)] for j in range(20)]

for i in range(m):
        b[i] = list(map(int, input().split()))
for i in range(n):
	for j in range(k):
		ans = 0
		for p in range(m):
			ans += a[i][p] * b[p][j]
		print(ans, end = " ")
	print()