A memorandum of standard input that you always forget when filling in the past questions of AtCoder
N,Q = map(int, input().split())
l = [s for s in input().split()]
l = list(map(int,input().split()))
i = [int(input()) for i in range(N)]
N×M int
l = [[int(i) for i in input().split()] for j in range(M)]
##.#
....
##.#
.#.#
grid = np.array([list(input()) for _ in range(h)], dtype="U1")
Recommended Posts