Accepted
foo.cc: In member function 'void LinkList::pop_front()':
foo.cc:44:7: warning: unused variable 'x' [-Wunused-variable]
44 | int x=head->data;
| ^
foo.cc: In function 'int main()':
foo.cc:39:13: warning: 'e.LinkList::head' may be used uninitialized in this function [-Wmaybe-uninitialized]
39 | while(head!=NULL)
| ^
foo.cc:96:11: note: 'e.LinkList::head' was declared here
96 | LinkList e;
| ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1029 OO7-3 链表对象的交集
- 比赛
- 2022春 面向对象程序设计方法的上机作业
- 语言
- C++
- 递交时间
- 2022-05-07 17:29:11
- 评测时间
- 2022-05-07 17:29:11
- 评测机
- 分数
- 100
- 总耗时
- 14ms
- 峰值内存
- 428.0 KiB