回答編集履歴

1

コードの間違いを訂正

2017/06/01 07:00

投稿

KSwordOfHaste
KSwordOfHaste

スコア18394

test CHANGED
@@ -124,7 +124,7 @@
124
124
 
125
125
  static List<Integer> anotherRandomIndices(int n) {
126
126
 
127
- List<Integer> list = IntStream.range(0, 64).boxed().collect(Collectors.toList());
127
+ List<Integer> list = IntStream.range(0, n).boxed().collect(Collectors.toList());
128
128
 
129
129
  Collections.shuffle(list);
130
130