📅  最后修改于: 2022-03-11 14:52:07.436000             🧑  作者: Mango
String[] integersInString = br.readLine().split(" ");
int a[] = new int[integersInString.length];
for (int i = 0; i < integersInString.length; i++) {
a[i] = Integer.parseInt(integersInString[i]);
}