You are viewing a single comment's thread. Return to all comments →
from numpy import matmul, array n = int(input()) A = array([list(map(int, input().split())) for i in range(n)]) B = array([[*map(int, input().split())] for _ in range(n)]) print(matmul(A, B))
Seems like cookies are disabled on this browser, please enable them to open this website
Dot and Cross
You are viewing a single comment's thread. Return to all comments →