会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lost_heart_hurts
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
数据结构——树状数组
树状数组例题
摘要:树状数组例题 1.【模板】树状数组1 题意:序列单点修改,区间查询 思路:模板 #include<bits/stdc++.h> #define lowbit(x) -x&x using namespace std; const int N = 5e5+5; int n,m; int opt,x,k;
阅读全文
posted @
2021-02-21 22:47
_Famiglistimo
阅读(214)
评论(0)
推荐(0)
公告