Pythonで標準入力を受け取る
空白区切りの複数の整数を受け取る。
入力
X Y
コード
x, y = [int(n) for n in input().split()]
# リスト
arr = [int(n) for n in input().split()]
X Y
x, y = [int(n) for n in input().split()]
# リスト
arr = [int(n) for n in input().split()]
Select a result to preview