0_0_3892291_22464.cpp:127: error: redefinition of `struct seg_tree'
0_0_3892291_22464.cpp:4: error: previous definition of `struct seg_tree'
0_0_3892291_22464.cpp:133: error: invalid type in declaration before ';' token
0_0_3892291_22464.cpp:133: error: conflicting declaration 'int tree[400040]'
0_0_3892291_22464.cpp:10: error: 'tree' has a previous declaration as `seg_tree tree[400040]'
0_0_3892291_22464.cpp:133: error: type mismatch with previous external decl of `int tree[400040]'
0_0_3892291_22464.cpp:10: error: previous external decl of `seg_tree tree[400040]'
0_0_3892291_22464.cpp:133: error: declaration of `int tree[400040]'
0_0_3892291_22464.cpp:10: error: conflicts with previous declaration `seg_tree tree[400040]'
0_0_3892291_22464.cpp:134: error: redefinition of `int val[100010]'
0_0_3892291_22464.cpp:11: error: `int val[100010]' previously declared here
0_0_3892291_22464.cpp: In function `int max(int, int)':
0_0_3892291_22464.cpp:135: error: redefinition of `int max(int, int)'
0_0_3892291_22464.cpp:12: error: `int max(int, int)' previously defined here
0_0_3892291_22464.cpp: In function `int min(int, int)':
0_0_3892291_22464.cpp:139: error: redefinition of `int min(int, int)'
0_0_3892291_22464.cpp:16: error: `int min(int, int)' previously defined here
0_0_3892291_22464.cpp: In function `void build(int, int, int)':
0_0_3892291_22464.cpp:143: error: redefinition of `void build(int, int, int)'
0_0_3892291_22464.cpp:20: error: `void build(int, int, int)' previously defined here
0_0_3892291_22464.cpp: In function `void update(int, int)':
0_0_3892291_22464.cpp:176: error: redefinition of `void update(int, int)'
0_0_3892291_22464.cpp:53: error: `void update(int, int)' previously defined here
0_0_3892291_22464.cpp: In function `int query(int, int, int)':
0_0_3892291_22464.cpp:209: error: redefinition of `int query(int, int, int)'
0_0_3892291_22464.cpp:86: error: `int query(int, int, int)' previously defined here
0_0_3892291_22464.cpp: In function `int main()':
0_0_3892291_22464.cpp:223: error: redefinition of `int main()'
0_0_3892291_22464.cpp:100: error: `int main()' previously defined here
|