记录详情

Wrong Answer

foo.cc: In function 'int max(Node*)':
foo.cc:29:14: warning: statement has no effect [-Wunused-value]
   29 |         for (p; p != NULL; p = p->next)
      |              ^
foo.cc:37:14: warning: statement has no effect [-Wunused-value]
   37 |         for (p; p != NULL; p = p->next)
      |              ^
foo.cc:42:16: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
   42 |         return m;
      |                ^
foo.cc:28:13: note: 'm' was declared here
   28 |         int m;
      |             ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 4ms 412.0 KiB
#2 Wrong Answer Standard answer longer than user output. 3ms 412.0 KiB
#3 Wrong Answer Standard answer longer than user output. 3ms 412.0 KiB
#4 Wrong Answer Standard answer longer than user output. 3ms 412.0 KiB
#5 Wrong Answer Standard answer longer than user output. 3ms 412.0 KiB

信息

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