/in/foo.cc:44:11: error: redefinition of 'const int N'
const int N = 10010;
^
/in/foo.cc:6:11: note: 'const int N' previously defined here
const int N = 10010;
^
/in/foo.cc:46:17: error: redefinition of 'long long int F [10010][10010]'
long long F[N][N];
^
/in/foo.cc:8:11: note: 'long long int F [10010][10010]' previously declared here
long long F[N][N];
^
/in/foo.cc:47:11: error: redefinition of 'int s [10010][10010]'
int s[N][N];
^
/in/foo.cc:9:5: note: 'int s [10010][10010]' previously declared here
int s[N][N];
^
/in/foo.cc:48:14: error: redefinition of 'long long int a [10010]'
long long a[N], p[N];
^
/in/foo.cc:10:11: note: 'long long int a [10010]' previously declared here
long long a[N], p[N];
^
/in/foo.cc:48:20: error: redefinition of 'long long int p [10010]'
long long a[N], p[N];
^
/in/foo.cc:10:17: note: 'long long int p [10010]' previously declared here
long long a[N], p[N];
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:50:5: error: redefinition of 'int main()'
int main() {
^~~~
/in/foo.cc:12:5: note: 'int main()' previously defined here
int main() {
^~~~