记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:290:27: warning: unused variable 'c' [-Wunused-variable]
  290 |     int a[10000],b[10000],c[10000];
      |                           ^
foo.cc: In function 'int FindMaxNeg(Node*)':
foo.cc:45:1: warning: control reaches end of non-void function [-Wreturn-type]
   45 | }
      | ^
foo.cc: In function 'void remove(Node*, int, Node**)':
foo.cc:163:15: warning: 'tmp2' may be used uninitialized [-Wmaybe-uninitialized]
  163 |     tmp2->next=tmp->next;
      |     ~~~~~~~~~~^~~~~~~~~~
foo.cc:146:10: note: 'tmp2' was declared here
  146 |     Node*tmp2;
      |          ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB

信息

递交者
类型
自测
题目
A9-3 数组中最大的负数
语言
C++
递交时间
2023-11-25 19:47:58
评测时间
2023-11-25 19:47:58
评测机
分数
10
总耗时
4ms
峰值内存
412.0 KiB