回答編集履歴

2

インデントの修正

2018/12/30 23:54

投稿

退会済みユーザー
test CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  }
28
28
 
29
- free(dt);
29
+ free(dt);
30
30
 
31
31
  getch();
32
32
 

1

return文の書き忘れ

2018/12/30 23:54

投稿

退会済みユーザー
test CHANGED
@@ -8,9 +8,7 @@
8
8
 
9
9
  int main(void){
10
10
 
11
-
12
-
13
- printf("Please diceid n(the length of an array).\n");
11
+ printf("Please diceid n(the length of an array).\n");
14
12
 
15
13
  int yo=0;
16
14
 
@@ -32,7 +30,7 @@
32
30
 
33
31
  getch();
34
32
 
35
-
33
+ return 0;
36
34
 
37
35
  }
38
36