wanxue

博客园 首页 新随笔 联系 订阅 管理
  7 随笔 :: 0 文章 :: 0 评论 :: 110 阅读

05 2024 档案

摘要:线段树是一种维护区间和等功能的数据结构 struct SegTree{ struct node{ int l,r,sum,len,laz; }tree[N<<2]; inline void pushdown(int u){ int lson=u<<1,rson=lson|1; tree[lson]. 阅读全文
posted @ 2024-05-26 15:00 thelatersnow 阅读(12) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示