Accepted

/in/foo.cc: In function 'bool cmp(st, st)':
/in/foo.cc:9:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  return x.l<y.l||x.l==y.l&&x.w<y.w;
                  ~~~~~~~~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 380.0 KiB
#2 Accepted 1ms 356.0 KiB
#3 Accepted 1ms 344.0 KiB
#4 Accepted 1ms 352.0 KiB
#5 Accepted 3ms 428.0 KiB
#6 Accepted 2ms 376.0 KiB
#7 Accepted 2ms 436.0 KiB
#8 Accepted 2ms 340.0 KiB
#9 Accepted 2ms 376.0 KiB
#10 Accepted 3ms 428.0 KiB

信息

递交者
类型
递交
题目
P2698 加工小木棒
比赛
2024.8.3暑期高级2班练习 记忆化搜索改DP
语言
C++
递交时间
2024-08-03 19:49:59
评测时间
2024-08-03 19:49:59
评测机
分数
100
总耗时
21ms
峰值内存
436.0 KiB