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

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