Accepted

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

信息

递交者
类型
递交
语言
C++
递交时间
2025-02-06 13:48:38
评测时间
2025-02-06 13:48:38
评测机
分数
100
总耗时
7ms
峰值内存
536.0 KiB