Accepted

/in/foo.cc: In function 'bool cmp(stu, stu)':
/in/foo.cc:9:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    9 |         return x.ch>y.ch||x.ch==y.ch&&x.ma>y.ma;
      |                           ~~~~~~~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 480.0 KiB
#2 Accepted 2ms 484.0 KiB
#3 Accepted 2ms 528.0 KiB
#4 Accepted 1ms 480.0 KiB

信息

递交者
类型
递交
语言
C++
递交时间
2025-02-06 13:24:25
评测时间
2025-02-06 13:24:25
评测机
分数
100
总耗时
8ms
峰值内存
528.0 KiB