foo.cc: In function 'void DestroyList_L(LNode*&)':
foo.cc:26:14: warning: statement has no effect [-Wunused-value]
26 | for(L->prior==NULL; p; p=p->prior) //从后向前逐个销毁
| ^
foo.cc: In function 'int CreateList_L(LNode*&)':
foo.cc:84:6: warning: unused variable 'i' [-Wunused-variable]
84 | int i,n;
| ^
foo.cc: In function 'int Merg_L(LinkList, LinkList, LNode*&)':
foo.cc:135:17: warning: unused variable 'pc' [-Wunused-variable]
135 | LinkList pa,pb,pc,t; //定义指向三个链表元素的指针
| ^~
foo.cc: In function 'int CreateList_L(LNode*&)':
foo.cc:98:1: warning: control reaches end of non-void function [-Wreturn-type]
98 | }
| ^
foo.cc: In function 'int Merg_L(LinkList, LinkList, LNode*&)':
foo.cc:149:1: warning: control reaches end of non-void function [-Wreturn-type]
149 | }
| ^
Found 1 testcases.
[Hydro](https://hydro.ac)提供评测服务