0_0_30019939_1549.cpp:10:9: error: 'vos' does not name a type
vos update(long long x){
^
0_0_30019939_1549.cpp:15:5: error: 'vos' does not name a type
vos Push_up(int x){
^
0_0_30019939_1549.cpp:18:5: error: 'vos' does not name a type
vos Push_down(int x){
^
0_0_30019939_1549.cpp:35:5: error: 'vos' does not name a type
vos Build(int l, int r,int x = 1){
^
0_0_30019939_1549.cpp:48:5: error: 'vos' does not name a type
vos Update(int l, int r, long long val, int x = 1){
^
0_0_30019939_1549.cpp: In member function 'long long int SegmentTree::Query(int, int, int)':
0_0_30019939_1549.cpp:67:24: error: 'Push_down' was not declared in this scope
Push_down(x);
^
0_0_30019939_1549.cpp:74:22: error: 'Push_up' was not declared in this scope
Push_up(x);
^
0_0_30019939_1549.cpp: In function 'int main()':
0_0_30019939_1549.cpp:91:13: error: 'class SegmentTree' has no member named 'Build'
st->Build(1,N);
^
0_0_30019939_1549.cpp:101:21: error: 'class SegmentTree' has no member named 'Update'
st->Update(x, x, y);
^
0_0_30019939_1549.cpp:103:21: error: 'class SegmentTree' has no member named 'Update'
st->Update(x, x, -y);
^
|