
树状数组
Achanss
My life is good, and u just make it better!
展开
-
2018徐州网络赛- H-Ryuji doesn't want to study(树状数组/线段树)
Ryuji is not a good student, and he doesn't want to study. But there are n books he should learn, each book has its knowledge a[i]a[i].Unfortunately, the longer he learns, the fewer he gets.That m...原创 2018-09-13 19:55:13 · 296 阅读 · 0 评论 -
树状数组---区间更新(差分数组实现)
/** @Author: Achan* @Date: 2018-10-28 12:55:01* @Last Modified by: Achan* @Last Modified time: 2018-10-28 19:59:13*/#include<bits/stdc++.h>#include<algorithm>#include<iostre...原创 2018-10-28 20:00:59 · 366 阅读 · 0 评论