티스토리 뷰

 

//입력값 : 10 20 30 40 50 60 70 80 90 100

int[] arr = 
Arrays.stream(br.readLine().split(" "))
.mapToInt(Integer::parseInt)
.toArray();