0_0_30079582_17382.cpp: In function 'void update(int, int)':
0_0_30079582_17382.cpp:73:17: error: 'pushdown' was not declared in this scope
pushdown(rot);
^
0_0_30079582_17382.cpp:79:15: error: 'pushup' was not declared in this scope
pushup(rot);
^
0_0_30079582_17382.cpp: In function 'int main()':
0_0_30079582_17382.cpp:101:31: error: too many arguments to function 'void update(int, int)'
update(1, id[x], 1);
^
0_0_30079582_17382.cpp:69:6: note: declared here
void update(int rot, int pos)
^
0_0_30079582_17382.cpp:102:40: error: 'updates' was not declared in this scope
printf("%d\n", updates(x, 1));
^
0_0_30079582_17382.cpp:106:31: error: too many arguments to function 'void update(int, int)'
update(1, id[x], 0);
^
0_0_30079582_17382.cpp:69:6: note: declared here
void update(int rot, int pos)
^
0_0_30079582_17382.cpp:107:40: error: 'updates' was not declared in this scope
printf("%d\n", updates(x, 0));
^
|