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: 126ms
Memory: 21432kB
Author: 13185217161
In contest: 1087

n,m,k=map(int,raw_input().strip().split())
l1=[[0 for i in range(m)] for i in range(n)]
l2=[[0 for i in range(k)] for i in range(m)]
for i in range(n):
	l1[i]=map(int,raw_input().strip().split())
for i in range(m):
	l2[i]=map(int,raw_input().strip().split())
l3=[[0 for i in range(k)] for i in range(n)]
for i in range(n):
	for j in range(k):
		for q in range(m):
			l3[i][j]+=l1[i][q]*l2[q][j]
for i in range(n):
	for j in range(k):
		print l3[i][j],
	print