记录详情

Wrong Answer

foo.cc: In function 'void remove(Node*, int, Node**)':
foo.cc:137:15: warning: 'tmp2' may be used uninitialized [-Wmaybe-uninitialized]
  137 |     tmp2->next=tmp->next;
      |     ~~~~~~~~~~^~~~~~~~~~
foo.cc:120:10: note: 'tmp2' was declared here
  120 |     Node*tmp2;
      |          ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 5ms 412.0 KiB
#3 Accepted 3ms 328.0 KiB
#4 Accepted 3ms 412.0 KiB
#5 Wrong Answer User output longer than standard answer. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
A10-3 数组的去重
比赛
2023 程序设计与竞赛(作业8:链表的世界)
语言
C++
递交时间
2023-11-25 17:37:48
评测时间
2023-11-25 17:37:48
评测机
分数
80
总耗时
21ms
峰值内存
412.0 KiB