モチベ
AtCoderの過去問埋めでいつも忘れてしまう標準入力の備忘録
int2つ
N,Q = map(int, input().split())
横多数 str
l = [s for s in input().split()]
横多数 int
l = list(map(int,input().split()))
縦N回 int
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とか
##.#
....
##.#
.#.#
grid = np.array([list(input()) for _ in range(h)], dtype="U1")