回答編集履歴

1

typo

2016/06/10 14:33

投稿

Chironian
Chironian

スコア23274

test CHANGED
@@ -20,19 +20,19 @@
20
20
 
21
21
  ```C++
22
22
 
23
- struct cell *p;
23
+ struct cell *p;
24
24
 
25
- if(n==1){
25
+ if(n==1){
26
26
 
27
- p = (struct cell *)malloc(sizeof(struct cell));
27
+ p = (struct cell *)malloc(sizeof(struct cell));
28
28
 
29
- p->num = val;
29
+ p->num = val;
30
30
 
31
- p->next = NULL;
31
+ p->next = NULL;
32
32
 
33
- *head = *tail = p;
33
+ *head = *tail = p;
34
34
 
35
- }
35
+ }
36
36
 
37
37
  ```
38
38