0_0_17200832_24350.cpp:211:8: error: redefinition of 'struct node'
struct node
^
0_0_17200832_24350.cpp:36:8: error: previous definition of 'struct node'
struct node
^
0_0_17200832_24350.cpp:215:16: error: invalid type in declaration before ';' token
}tree[4 * MAXN];
^
0_0_17200832_24350.cpp:215:16: error: conflicting declaration 'int tree [182220]'
0_0_17200832_24350.cpp:40:2: note: previous declaration as 'node tree [2040020]'
}tree[4 * MAXN];
^
0_0_17200832_24350.cpp:216:11: error: conflicting declaration 'int a [45555]'
int a[MAXN], pos[555555], x[MAXN], ax[MAXN];
^
0_0_17200832_24350.cpp:41:5: note: previous declaration as 'int a [510005]'
int a[MAXN], pos[MAXN];
^
0_0_17200832_24350.cpp:216:24: error: conflicting declaration 'int pos [555555]'
int a[MAXN], pos[555555], x[MAXN], ax[MAXN];
^
0_0_17200832_24350.cpp:41:14: note: previous declaration as 'int pos [510005]'
int a[MAXN], pos[MAXN];
^
0_0_17200832_24350.cpp: In function 'void up(int)':
0_0_17200832_24350.cpp:217:6: error: redefinition of 'void up(int)'
void up(int C)
^
0_0_17200832_24350.cpp:42:6: note: 'void up(int)' previously defined here
void up(int C)
^
0_0_17200832_24350.cpp: In function 'void make_tree(int, int, int)':
0_0_17200832_24350.cpp:221:6: error: redefinition of 'void make_tree(int, int, int)'
void make_tree(int s, int e, int C)
^
0_0_17200832_24350.cpp:46:6: note: 'void make_tree(int, int, int)' previously defined here
void make_tree(int s, int e, int C)
^
0_0_17200832_24350.cpp: In function 'void update(int, int)':
0_0_17200832_24350.cpp:231:6: error: redefinition of 'void update(int, int)'
void update(int p, int C)
^
0_0_17200832_24350.cpp:56:6: note: 'void update(int, int)' previously defined here
void update(int p, int C)
^
0_0_17200832_24350.cpp: At global scope:
0_0_17200832_24350.cpp:243:5: error: redefinition of 'int ans'
int ans;
^
0_0_17200832_24350.cpp:68:5: note: 'int ans' previously declared here
int ans;
^
0_0_17200832_24350.cpp: In function 'void query(int, int, int)':
0_0_17200832_24350.cpp:244:6: error: redefinition of 'void query(int, int, int)'
void query(int s, int e, int C)
^
0_0_17200832_24350.cpp:69:6: note: 'void query(int, int, int)' previously defined here
void query(int s, int e, int C)
^
0_0_17200832_24350.cpp: In function 'int in()':
0_0_17200832_24350.cpp:255:5: error: redefinition of 'int in()'
int in()
^
0_0_17200832_24350.cpp:80:5: note: 'int in()' previously defined here
int in()
^
0_0_17200832_24350.cpp: In function 'void out(int)':
0_0_17200832_24350.cpp:271:6: error: redefinition of 'void out(int)'
void out(int a)
^
0_0_17200832_24350.cpp:96:6: note: 'void out(int)' previously defined here
void out(int a)
^
0_0_17200832_24350.cpp: In function 'int main()':
0_0_17200832_24350.cpp:289:5: error: redefinition of 'int main()'
int main()
^
0_0_17200832_24350.cpp:101:5: note: 'int main()' previously defined here
int main()
^
|