You are viewing a single comment's thread. Return to all comments →
My compact solution…
import sys import numpy as np print(list( map( lambda n: (ab := np.loadtxt(sys.stdin, int))[:n] @ ab[n:], [int(input())]) )[0])
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 →
My compact solution…