记录详情

Accepted

foo.cc: In function 'int unique(node*)':
foo.cc:15:13: warning: unused variable 'i' [-Wunused-variable]
   15 |         int i=0;
      |             ^
foo.cc: In function 'int main(int, char**)':
foo.cc:90:15: warning: 'list2' may be used uninitialized [-Wmaybe-uninitialized]
   90 |         output(list2);
      |         ~~~~~~^~~~~~~
foo.cc:56:22: note: 'list2' was declared here
   56 |         struct node *list2;
      |                      ^~~~~
foo.cc:89:15: warning: 'list1' may be used uninitialized [-Wmaybe-uninitialized]
   89 |         output(list1);
      |         ~~~~~~^~~~~~~
foo.cc:55:22: note: 'list1' was declared here
   55 |         struct node *list1;
      |                      ^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 3ms 412.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Accepted 3ms 516.0 KiB
#5 Accepted 3ms 412.0 KiB

信息

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