質問編集履歴

2

タグミス

2019/07/15 11:15

投稿

repurica
repurica

スコア12

test CHANGED
File without changes
test CHANGED
File without changes

1

コードみすをしていた

2019/07/15 11:15

投稿

repurica
repurica

スコア12

test CHANGED
File without changes
test CHANGED
@@ -132,21 +132,17 @@
132
132
 
133
133
  String line;
134
134
 
135
- int r = 0;
135
+
136
136
 
137
137
  while ((line = br.readLine()) != null) {
138
-
139
- System.out.print(": ");
140
138
 
141
139
  String[] cols = line.split(",", -1); // 文字列を,で区切って、,を消すため-1する。
142
140
 
143
141
  for (String datum : cols) {
144
142
 
145
- int g = 1;
143
+
146
144
 
147
- g += g;
148
-
149
- System.out.print(":" + g + datum + "\t");
145
+ System.out.print(datum + "\t");
150
146
 
151
147
 
152
148