回答編集履歴
2
インデント修正
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
for(int i=0; i<args.length; i++) {
|
20
20
|
|
21
|
-
|
21
|
+
strList.remove(strArray[Integer.parseInt(args[i])]);
|
22
22
|
|
23
23
|
}
|
24
24
|
|
1
コード簡略化
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
public static void main(String[] args) throws Exception {
|
12
12
|
|
13
|
-
String[] strArray =
|
13
|
+
String[] strArray = {"あ", "い", "う", "え", "お"};
|
14
14
|
|
15
15
|
|
16
16
|
|