记录详情

Accepted

foo.cc: In function 'void Merge(Node*, Node*)':
foo.cc:57:30: warning: left operand of comma operator has no effect [-Wunused-value]
   57 |         for(p=head1,q=head2;p!=NULL,q!=NULL;)
      |                              ^
foo.cc: In function 'void Unique(Node*, Node*)':
foo.cc:114:18: warning: unused variable 'q' [-Wunused-variable]
  114 |         Node *p,*q;
      |                  ^
foo.cc: In function 'void FindMaxNeg(Node*)':
foo.cc:52:21: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized]
   52 |         cout << x <<" ";
      |                     ^~~
foo.cc:37:13: note: 'x' was declared here
   37 |         int x;
      |             ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 456.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 3ms 412.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Accepted 4ms 412.0 KiB

信息

递交者
类型
递交
题目
A9-3 数组中最大的负数
比赛
2023 程序设计与竞赛(作业8:链表的世界)
语言
C++
递交时间
2023-11-25 20:41:25
评测时间
2023-11-25 20:41:25
评测机
分数
100
总耗时
21ms
峰值内存
456.0 KiB