You are viewing a single comment's thread. Return to all comments →
import numpy N, _ = input().split() N = int(N) con = [] for _ in range(2*N): con.append(list(map(int, input().split()))) a = numpy.array(con[:N], int) b = numpy.array(con[-N:], int) print(a+b, a-b, a*b, a//b, a%b, a**b, sep='\n')
Seems like cookies are disabled on this browser, please enable them to open this website
Array Mathematics
You are viewing a single comment's thread. Return to all comments →