Start: Apr, 17, 2017 10:00:00
Python程序设计基础培训第三次作业
End: Apr, 23, 2017 14:00:00
Time elapsed:
Time remaining:

Problem_ID: F
Result: Accepted
Time: 122ms
Memory: 21432kB
Author: shanzhenyu
In contest: 1087

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

for i in range(m):
	b.append(map(int,raw_input().strip().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],
	print