会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
麦客_zeng
博客园
首页
新随笔
联系
管理
订阅
2019年10月26日
线段树模板
摘要: 区间修改: #include<bits/stdc++.h> using namespace std; const int N=1e5+5; int sum[N<<2],lazy[N<<2],a[N]; void pushup(int rt) { sum[rt]=sum[rt<<1]+sum[rt<<
阅读全文
posted @ 2019-10-26 19:46 麦客_zeng
阅读(87)
评论(0)
推荐(0)
公告