Contents Implementation,Update And Lazy Segment Tree. #include <bits/stdc++.h> #include <iostream> using namespace std; int lazy[1000]={0}; void UpdateRangeLazy(int tree[],int S,int E,int l,int r,int inc,int index){ if(lazy[index]!=0){ ...
Markdown supported · ⌘↵ to post
No responses yet.