0_0_32847448_9567.cpp: In member function 'void segment_tree::pushdown(int)':
0_0_32847448_9567.cpp:5:9: error: 'tree' was not declared in this scope
tree[rt*2].flag[0]+=tree[rt].flag[0];
^
0_0_32847448_9567.cpp: In member function 'void segment_tree::build(int, int, int)':
0_0_32847448_9567.cpp:15:9: error: 'tree' was not declared in this scope
tree[rt].flag[0]=0;
^
0_0_32847448_9567.cpp:19:30: error: 'st' was not declared in this scope
tree[rt].flag[0]=st[l];
^
0_0_32847448_9567.cpp:20:30: error: 'ol' was not declared in this scope
tree[rt].flag[1]=ol[l];
^
0_0_32847448_9567.cpp: In member function 'void segment_tree::update(int, int, int, int, int)':
0_0_32847448_9567.cpp:33:13: error: 'tree' was not declared in this scope
tree[rt].flag[type]+=d;
^
0_0_32847448_9567.cpp: In member function 'void segment_tree::query(int, int, int&, int&, int, int)':
0_0_32847448_9567.cpp:51:16: error: 'tree' was not declared in this scope
mi=tree[rt].flag[0];
^
|