回答編集履歴

1

コード追記

2020/09/27 09:36

投稿

SHOMI
SHOMI

スコア4079

test CHANGED
@@ -1,8 +1,10 @@
1
- ```C
1
+ ```diff
2
2
 
3
- while(fscanf(fp, "%d", &a[count]) != EOF){
3
+ -while(fscanf(fp, "%d", &a[count]) != EOF){
4
4
 
5
+ +while(fscanf(fp, "%d,", &a[count]) != EOF) {
6
+
5
- count++;
7
+ count++;
6
8
 
7
9
  }
8
10