回答編集履歴

1

修正

2021/07/02 07:40

投稿

karintly
karintly

スコア68

test CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  int n = 0;
14
14
 
15
- while (sc.hasNext() && n < a.length){
15
+ while (n < a.length && sc.hasNext()){
16
16
 
17
17
  a[n] = sc.nextInt();
18
18