会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Young children
博客园
首页
新随笔
联系
订阅
管理
2019年10月9日
线段树
摘要: 参考博客:线段树详解 线段树入门&lazy思想 模板: #define Mid ((l+r)>>1) //注意括号 #define lson rt<<1,l,Mid //左结点 #define rson rt<<1|1,Mid+1,r //右结点 //线段树模板(单点更新) #define Mid
阅读全文
posted @ 2019-10-09 23:57 Young-children
阅读(199)
评论(0)
推荐(0)
编辑
公告