0_0_30381159_15009.cpp:19:1: error: expected initializer before 'void'
void pushup(int rt)
^
0_0_30381159_15009.cpp: In function 'void build(int, int, int)':
0_0_30381159_15009.cpp:27:3: error: 'add' was not declared in this scope
add[rt]=0;
^
0_0_30381159_15009.cpp:34:11: error: 'pushup' was not declared in this scope
pushup(rt);
^
0_0_30381159_15009.cpp: In function 'void pushdown(int, int, int)':
0_0_30381159_15009.cpp:38:5: error: 'add' was not declared in this scope
if(add[rt])
^
0_0_30381159_15009.cpp: In function 'void updata(int, int, int, int, int, int)':
0_0_30381159_15009.cpp:50:3: error: 'add' was not declared in this scope
add[rt]=c;
^
0_0_30381159_15009.cpp:58:11: error: 'pushup' was not declared in this scope
pushup(rt);
^
|