记录详情

Accepted

foo.cc: In function 'void findmaxs(node*)':
foo.cc:32:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   32 |         for(;p->next->next!=NULL;p=p->next)
      |         ^~~
foo.cc:35:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   35 |                 cout<<p->next->data<<" ";//尾部
      |                 ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 3ms 412.0 KiB
#4 Accepted 3ms 412.0 KiB
#5 Accepted 3ms 412.0 KiB

信息

递交者
类型
递交
题目
A9-7 数组中所有极大值
比赛
2023 程序设计与竞赛(作业8:链表的世界)
语言
C++
递交时间
2023-11-25 10:13:58
评测时间
2023-11-25 10:13:58
评测机
分数
100
总耗时
20ms
峰值内存
412.0 KiB