0_0_35202936_23227.cpp:40:11: error: redefinition of 'const int M'
const int M=1000005;
^
0_0_35202936_23227.cpp:5:11: note: 'const int M' previously defined here
const int M=1000005;
^
0_0_35202936_23227.cpp:41:5: error: redefinition of 'int n'
int n,m,ans,a[M],b[M],nxt[M],T;
^
0_0_35202936_23227.cpp:6:5: note: 'int n' previously declared here
int n,m,ans,a[M],b[M],nxt[M],T;
^
0_0_35202936_23227.cpp:41:7: error: redefinition of 'int m'
int n,m,ans,a[M],b[M],nxt[M],T;
^
0_0_35202936_23227.cpp:6:7: note: 'int m' previously declared here
int n,m,ans,a[M],b[M],nxt[M],T;
^
0_0_35202936_23227.cpp:41:9: error: redefinition of 'int ans'
int n,m,ans,a[M],b[M],nxt[M],T;
^
0_0_35202936_23227.cpp:6:9: note: 'int ans' previously declared here
int n,m,ans,a[M],b[M],nxt[M],T;
^
0_0_35202936_23227.cpp:41:16: error: redefinition of 'int a [1000005]'
int n,m,ans,a[M],b[M],nxt[M],T;
^
0_0_35202936_23227.cpp:6:13: note: 'int a [1000005]' previously declared here
int n,m,ans,a[M],b[M],nxt[M],T;
^
0_0_35202936_23227.cpp:41:21: error: redefinition of 'int b [1000005]'
int n,m,ans,a[M],b[M],nxt[M],T;
^
0_0_35202936_23227.cpp:6:18: note: 'int b [1000005]' previously declared here
int n,m,ans,a[M],b[M],nxt[M],T;
^
0_0_35202936_23227.cpp:41:28: error: redefinition of 'int nxt [1000005]'
int n,m,ans,a[M],b[M],nxt[M],T;
^
0_0_35202936_23227.cpp:6:23: note: 'int nxt [1000005]' previously declared here
int n,m,ans,a[M],b[M],nxt[M],T;
^
0_0_35202936_23227.cpp:41:30: error: redefinition of 'int T'
int n,m,ans,a[M],b[M],nxt[M],T;
^
0_0_35202936_23227.cpp:6:30: note: 'int T' previously declared here
int n,m,ans,a[M],b[M],nxt[M],T;
^
0_0_35202936_23227.cpp: In function 'int main()':
0_0_35202936_23227.cpp:42:5: error: redefinition of 'int main()'
int main(){
^
0_0_35202936_23227.cpp:7:5: note: 'int main()' previously defined here
int main(){
^
|