0_0_37673234_6223.cpp:95:3: error: stray '#' in program
} #include <iostream>
^
0_0_37673234_6223.cpp:95:4: error: 'include' does not name a type
} #include <iostream>
^
0_0_37673234_6223.cpp:99:11: error: redefinition of 'const int N'
const int N = 5e4+5;
^
0_0_37673234_6223.cpp:5:11: note: 'const int N' previously defined here
const int N = 5e4+5;
^
0_0_37673234_6223.cpp:100:11: error: redefinition of 'int f [200020]'
int f[N<<2];
^
0_0_37673234_6223.cpp:6:5: note: 'int f [200020]' previously declared here
int f[N<<2];
^
0_0_37673234_6223.cpp:101:12: error: redefinition of 'char a [200020]'
char a[N<<2];
^
0_0_37673234_6223.cpp:7:6: note: 'char a [200020]' previously declared here
char a[N<<2];
^
0_0_37673234_6223.cpp:102:5: error: redefinition of 'int n'
int n, m;
^
0_0_37673234_6223.cpp:8:5: note: 'int n' previously declared here
int n, m;
^
0_0_37673234_6223.cpp:102:8: error: redefinition of 'int m'
int n, m;
^
0_0_37673234_6223.cpp:8:8: note: 'int m' previously declared here
int n, m;
^
0_0_37673234_6223.cpp:103:5: error: redefinition of 'int t'
int t;
^
0_0_37673234_6223.cpp:9:5: note: 'int t' previously declared here
int t;
^
0_0_37673234_6223.cpp: In function 'void build(int, int, int)':
0_0_37673234_6223.cpp:104:6: error: redefinition of 'void build(int, int, int)'
void build(int root, int left, int right){
^
0_0_37673234_6223.cpp:10:6: note: 'void build(int, int, int)' previously defined here
void build(int root, int left, int right){
^
0_0_37673234_6223.cpp: In function 'void update(int, int, int, int, int)':
0_0_37673234_6223.cpp:115:6: error: redefinition of 'void update(int, int, int, int, int)'
void update(int root, int loc, int val, int left, int right){
^
0_0_37673234_6223.cpp:21:6: note: 'void update(int, int, int, int, int)' previously defined here
void update(int root, int loc, int val, int left, int right){
^
0_0_37673234_6223.cpp: In function 'int query(int, int, int, int, int)':
0_0_37673234_6223.cpp:130:5: error: redefinition of 'int query(int, int, int, int, int)'
int query(int root, int left, int right, int qleft, int qright){
^
0_0_37673234_6223.cpp:36:5: note: 'int query(int, int, int, int, int)' previously defined here
int query(int root, int left, int right, int qleft, int qright){
^
0_0_37673234_6223.cpp: In function 'int main()':
0_0_37673234_6223.cpp:146:5: error: redefinition of 'int main()'
int main(){
^
0_0_37673234_6223.cpp:52:5: note: 'int main()' previously defined here
int main(){
^
|