Accepted

foo.cc: In member function ‘bool hw::operator<(hw) const’:
foo.cc:9:33: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
    9 |         return nd>x.nd||nd==x.nd&&bh<x.bh;
      |                         ~~~~~~~~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 536.0 KiB
#2 Accepted 4ms 324.0 KiB
#3 Accepted 63ms 1.273 MiB
#4 Accepted 63ms 1.344 MiB
#5 Accepted 65ms 1.418 MiB
#6 Accepted 153ms 3.039 MiB
#7 Accepted 172ms 3.719 MiB
#8 Accepted 153ms 3.273 MiB
#9 Accepted 2ms 536.0 KiB
#10 Accepted 133ms 2.945 MiB

信息

递交者
类型
递交
题目
P1900 假期作业
语言
C++
递交时间
2024-07-19 19:23:03
评测时间
2024-07-19 19:24:19
评测机
分数
100
总耗时
816ms
峰值内存
3.719 MiB