回答編集履歴
1
演算子ミス
answer
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
max = a[i];
|
9
9
|
index = new ArrayList<Integer>();
|
10
10
|
}
|
11
|
-
if(a[i] = max){
|
11
|
+
if(a[i] == max){
|
12
12
|
index.add(i);
|
13
13
|
}
|
14
14
|
}
|