POJ3468(用lazy标记进行延迟更新)
#include<cstdio>#include<iostream>#include<cstring>using namespace std;typedef long long ll;int const N= 1000100;int p,v,ql,qr;ll sum[4*N],add[4*N];void build(int o,int l,i...