樹狀數組筆記

鳴謝:QYQYQYQYQYQ。 ______________________________________分割線___________________________________________ 更優秀的樹狀數組模板 struct szsz{ int tree[maxn]; void add(int pos,int num) {for(int i=pos;i<=n;i+=i&-i)
相關文章
相關標籤/搜索