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 768.0 KiB
#2 Accepted 4ms 536.0 KiB
#3 Accepted 64ms 1.273 MiB
#4 Accepted 63ms 1.273 MiB
#5 Accepted 65ms 1.523 MiB
#6 Accepted 149ms 2.883 MiB
#7 Accepted 150ms 3.266 MiB
#8 Accepted 157ms 3.715 MiB
#9 Accepted 3ms 320.0 KiB
#10 Accepted 132ms 3.023 MiB

信息

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