Accepted

/in/foo.cc: In function 'bool comp1(node, node)':
/in/foo.cc:10:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  return p.l<q.l||p.l==q.l&&p.r<q.r; 
                  ~~~~~~~~^~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:23:6: warning: unused variable 'pd' [-Wunused-variable]
  int pd=0;ans=1;
      ^~
# 状态 耗时 内存占用
#1 Accepted 1ms 400.0 KiB
#2 Accepted 1ms 376.0 KiB
#3 Accepted 1ms 356.0 KiB
#4 Accepted 1ms 352.0 KiB
#5 Accepted 2ms 424.0 KiB
#6 Accepted 1ms 436.0 KiB
#7 Accepted 1ms 356.0 KiB
#8 Accepted 1ms 376.0 KiB
#9 Accepted 1ms 356.0 KiB
#10 Accepted 1ms 376.0 KiB

信息

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