回答編集履歴
2
コード修正
test
CHANGED
@@ -17,8 +17,6 @@
|
|
17
17
|
}
|
18
18
|
|
19
19
|
private void printParseInts(String[] sList) {
|
20
|
-
|
21
|
-
int[] x = new int[sList.length];
|
22
20
|
|
23
21
|
for (int i = 0; i < sList.length; i++) {
|
24
22
|
|
1
コード修正
test
CHANGED
@@ -8,11 +8,23 @@
|
|
8
8
|
|
9
9
|
for (int i = 0; i < sList.length; i++) {
|
10
10
|
|
11
|
-
|
11
|
+
x[i] = Integer.parseInt(sList[i]);
|
12
12
|
|
13
13
|
}
|
14
14
|
|
15
15
|
return x;
|
16
|
+
|
17
|
+
}
|
18
|
+
|
19
|
+
private void printParseInts(String[] sList) {
|
20
|
+
|
21
|
+
int[] x = new int[sList.length];
|
22
|
+
|
23
|
+
for (int i = 0; i < sList.length; i++) {
|
24
|
+
|
25
|
+
System.out.println(Integer.parseInt(sList[i]));
|
26
|
+
|
27
|
+
}
|
16
28
|
|
17
29
|
}
|
18
30
|
|