/in/foo.cc:33:11: error: redefinition of 'const int N'
33 | const int N=1e6+5;
| ^
/in/foo.cc:3:11: note: 'const int N' previously defined here
3 | const int N=1e6+5;
| ^
/in/foo.cc:34:5: error: redefinition of 'int n'
34 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:5: note: 'int n' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:34:7: error: redefinition of 'int m'
34 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:7: note: 'int m' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:34:9: error: redefinition of 'int x'
34 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:9: note: 'int x' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:34:11: error: redefinition of 'int y'
34 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:11: note: 'int y' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:34:13: error: redefinition of 'int s [1000005][1000005]'
34 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:13: note: 'int s [1000005][1000005]' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:34:21: error: redefinition of 'int sum'
34 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~~
/in/foo.cc:4:21: note: 'int sum' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~~
/in/foo.cc:34:25: error: redefinition of 'int s1'
34 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~
/in/foo.cc:4:25: note: 'int s1' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~
/in/foo.cc:34:28: error: redefinition of 'int ans'
34 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~~
/in/foo.cc:4:28: note: 'int ans' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~~
/in/foo.cc:34:32: error: redefinition of 'int a [1000005][1000005]'
34 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:32: note: 'int a [1000005][1000005]' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:35:5: error: redefinition of 'int main()'
35 | int main()
| ^~~~
/in/foo.cc:5:5: note: 'int main()' previously defined here
5 | int main()
| ^~~~
/in/foo.cc:63:11: error: redefinition of 'const int N'
63 | const int N=1e6+5;
| ^
/in/foo.cc:3:11: note: 'const int N' previously defined here
3 | const int N=1e6+5;
| ^
/in/foo.cc:64:5: error: redefinition of 'int n'
64 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:5: note: 'int n' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:64:7: error: redefinition of 'int m'
64 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:7: note: 'int m' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:64:9: error: redefinition of 'int x'
64 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:9: note: 'int x' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:64:11: error: redefinition of 'int y'
64 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:11: note: 'int y' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:64:13: error: redefinition of 'int s [1000005][1000005]'
64 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:13: note: 'int s [1000005][1000005]' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:64:21: error: redefinition of 'int sum'
64 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~~
/in/foo.cc:4:21: note: 'int sum' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~~
/in/foo.cc:64:25: error: redefinition of 'int s1'
64 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~
/in/foo.cc:4:25: note: 'int s1' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~
/in/foo.cc:64:28: error: redefinition of 'int ans'
64 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~~
/in/foo.cc:4:28: note: 'int ans' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~~
/in/foo.cc:64:32: error: redefinition of 'int a [1000005][1000005]'
64 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:32: note: 'int a [1000005][1000005]' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:65:5: error: redefinition of 'int main()'
65 | int main()
| ^~~~
/in/foo.cc:5:5: note: 'int main()' previously defined here
5 | int main()
| ^~~~
/in/foo.cc:93:11: error: redefinition of 'const int N'
93 | const int N=1e6+5;
| ^
/in/foo.cc:3:11: note: 'const int N' previously defined here
3 | const int N=1e6+5;
| ^
/in/foo.cc:94:5: error: redefinition of 'int n'
94 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:5: note: 'int n' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:94:7: error: redefinition of 'int m'
94 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:7: note: 'int m' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:94:9: error: redefinition of 'int x'
94 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:9: note: 'int x' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:94:11: error: redefinition of 'int y'
94 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:11: note: 'int y' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:94:13: error: redefinition of 'int s [1000005][1000005]'
94 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:13: note: 'int s [1000005][1000005]' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:94:21: error: redefinition of 'int sum'
94 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~~
/in/foo.cc:4:21: note: 'int sum' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~~
/in/foo.cc:94:25: error: redefinition of 'int s1'
94 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~
/in/foo.cc:4:25: note: 'int s1' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~
/in/foo.cc:94:28: error: redefinition of 'int ans'
94 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~~
/in/foo.cc:4:28: note: 'int ans' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^~~
/in/foo.cc:94:32: error: redefinition of 'int a [1000005][1000005]'
94 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:4:32: note: 'int a [1000005][1000005]' previously declared here
4 | int n,m,x,y,s[N][N],sum,s1,ans,a[N][N];
| ^
/in/foo.cc:95:5: error: redefinition of 'int main()'
95 | int main()
| ^~~~
/in/foo.cc:5:5: