Accepted

/in/foo.cc: In function 'bool cmp(student, student)':
/in/foo.cc:11:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   11 |         || a.y+a.sh+a.yi+a.w+a.h==b.y+b.sh+b.yi+b.w+b.h &&
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
   12 |         a.y>b.y) return 1;
      |         ~~~~~~~                                          
# 状态 耗时 内存占用
#1 Accepted 2ms 428.0 KiB
#2 Accepted 2ms 524.0 KiB
#3 Accepted 2ms 476.0 KiB
#4 Accepted 2ms 584.0 KiB
#5 Accepted 3ms 584.0 KiB

信息

递交者
类型
递交
题目
P1005 学生信息记录
语言
C++
递交时间
2025-02-07 10:12:54
评测时间
2025-02-07 10:12:54
评测机
分数
100
总耗时
13ms
峰值内存
584.0 KiB