![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ZKW线段树
布呗之路
每个人都有不同的路,所以每个人都会孤独。
展开
-
HDU 1166 ZKW线段树 单点修改+区间求和
/** HDU 1166 ZKW线段树 https://vjudge.net/problem/HDU-1166 区间和+单点更新 */ #include<bits/stdc++.h> #define ll long long using namespace std; const int maxn = 1e5+7; int M,n,a[maxn<<2]; int d[...原创 2019-01-23 20:34:27 · 244 阅读 · 0 评论 -
POJ - 3468 ZKW 线段树 区间更新+区间求和;
POJ-3468 A Simple Problem with Integers /** POJ - 3468 ZKW 线段树 区间更新+区间求和; */ #include<iostream> #include<algorithm> #include<cstdio> #include<string> #include<map> ...原创 2019-01-24 15:02:20 · 421 阅读 · 1 评论