0_0_13540744_17330.cpp:97:14: error: redefinition of 'const double PI'
const double PI = acos(-1.0);
^
0_0_13540744_17330.cpp:19:14: note: 'const double PI' previously defined here
const double PI = acos(-1.0);
^
0_0_13540744_17330.cpp: In function 'void pushup(int)':
0_0_13540744_17330.cpp:109:6: error: redefinition of 'void pushup(int)'
void pushup(int rt){
^
0_0_13540744_17330.cpp:25:6: note: 'void pushup(int)' previously defined here
void pushup(int rt){
^
0_0_13540744_17330.cpp: In function 'void build(int, int, int)':
0_0_13540744_17330.cpp:113:6: error: redefinition of 'void build(int, int, int)'
void build(int l, int r, int rt){
^
0_0_13540744_17330.cpp:29:6: note: 'void build(int, int, int)' previously defined here
void build(int l, int r, int rt){
^
0_0_13540744_17330.cpp: In function 'void update(int, int, int, int)':
0_0_13540744_17330.cpp:121:6: error: redefinition of 'void update(int, int, int, int)'
void update(int x, int l, int r, int rt){
^
0_0_13540744_17330.cpp:37:6: note: 'void update(int, int, int, int)' previously defined here
void update(int p, int l, int r, int rt){
^
0_0_13540744_17330.cpp: In function 'int main()':
0_0_13540744_17330.cpp:139:5: error: redefinition of 'int main()'
int main(){
^
0_0_13540744_17330.cpp:59:5: note: 'int main()' previously defined here
int main(){
^
|