Accepted

foo.cc: In function 'bool cmp(hw, hw)':
foo.cc:10:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   10 |         return a.nd>b.nd||a.nd==b.nd&&a.bh<b.bh;
      |                           ~~~~~~~~~~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 6ms 412.0 KiB
#2 Accepted 6ms 412.0 KiB
#3 Accepted 94ms 1.844 MiB
#4 Accepted 96ms 1.812 MiB
#5 Accepted 100ms 2.004 MiB
#6 Accepted 244ms 4.91 MiB
#7 Accepted 200ms 4.375 MiB
#8 Accepted 248ms 4.645 MiB
#9 Accepted 199ms 4.52 MiB
#10 Accepted 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1900 假期作业
语言
C++
递交时间
2023-08-20 14:45:29
评测时间
2023-08-20 15:00:53
评测机
分数
100
总耗时
1200ms
峰值内存
4.91 MiB