比如说用户连续输入多个数字6 365 6013 781 3805 2251 683599该怎么读入呢?总不可能用多个Scanner sc=new Scanner(System.in); int variable=sc.nextInt();解决吧。我想自己写循环,但又看到每行数据有回车,不知道怎么下手。