/in/foo.cc:23:2: error: stray '#' in program
}#include<bits/stdc++.h>
^
/in/foo.cc:23:3: error: 'include' does not name a type
}#include<bits/stdc++.h>
^~~~~~~
/in/foo.cc:25:5: error: redefinition of 'int n'
int n,m,a[1000005],b[1000005];
^
/in/foo.cc:3:5: note: 'int n' previously declared here
int n,m,a[1000005],b[1000005];
^
/in/foo.cc:25:7: error: redefinition of 'int m'
int n,m,a[1000005],b[1000005];
^
/in/foo.cc:3:7: note: 'int m' previously declared here
int n,m,a[1000005],b[1000005];
^
/in/foo.cc:25:18: error: redefinition of 'int a [1000005]'
int n,m,a[1000005],b[1000005];
^
/in/foo.cc:3:9: note: 'int a [1000005]' previously declared here
int n,m,a[1000005],b[1000005];
^
/in/foo.cc:25:29: error: redefinition of 'int b [1000005]'
int n,m,a[1000005],b[1000005];
^
/in/foo.cc:3:20: note: 'int b [1000005]' previously declared here
int n,m,a[1000005],b[1000005];
^
/in/foo.cc: In function 'void FindMaxs(int, int*, bool)':
/in/foo.cc:26:6: error: redefinition of 'void FindMaxs(int, int*, bool)'
void FindMaxs(int n,int a[1000005],bool ok)
^~~~~~~~
/in/foo.cc:4:6: note: 'void FindMaxs(int, int*, bool)' previously defined here
void FindMaxs(int n,int a[1000005],bool ok)
^~~~~~~~
/in/foo.cc:30:11: error: 'i' was not declared in this scope
cout<<a[i];
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:40:5: error: redefinition of 'int main()'
int main()
^~~~
/in/foo.cc:12:5: note: 'int main()' previously defined here
int main()
^~~~