回答編集履歴
1
修正
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
int n = 0;
|
14
14
|
|
15
|
-
while (
|
15
|
+
while (n < a.length && sc.hasNext()){
|
16
16
|
|
17
17
|
a[n] = sc.nextInt();
|
18
18
|
|