Accepted

/in/foo.cc: In member function 'bool student::operator<(const student&) const':
/in/foo.cc:9:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    9 |                 return ch>x.ch||ch ==x.ch&&ma>x.ma;
      |                                 ~~~~~~~~~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 500.0 KiB
#2 Accepted 1ms 476.0 KiB
#3 Accepted 1ms 536.0 KiB
#4 Accepted 1ms 340.0 KiB

信息

递交者
类型
递交
比赛
2025.2.6高级班练习
语言
C++
递交时间
2025-02-06 15:02:32
评测时间
2025-02-06 15:02:32
评测机
分数
100
总耗时
7ms
峰值内存
536.0 KiB