回答編集履歴
2
修正
test
CHANGED
@@ -16,7 +16,9 @@
|
|
16
16
|
|
17
17
|
typedef struct kozotai Queue;
|
18
18
|
|
19
|
-
|
19
|
+
Queue* que = (Queue*)malloc(sizeof(Queue));
|
20
|
+
|
21
|
+
return que;
|
20
22
|
|
21
23
|
}
|
22
24
|
|
1
修正
test
CHANGED
@@ -14,7 +14,9 @@
|
|
14
14
|
|
15
15
|
struct kozotai* constructor() {
|
16
16
|
|
17
|
+
typedef struct kozotai Queue;
|
18
|
+
|
17
|
-
return (
|
19
|
+
return (Queue*)malloc(sizeof(Queue));
|
18
20
|
|
19
21
|
}
|
20
22
|
|