0_0_30321036_16544.cpp:94:11: error: redefinition of 'const int maxn'
const int maxn = 2001;
^
0_0_30321036_16544.cpp:10:11: note: 'const int maxn' previously defined here
const int maxn = 2001;
^
0_0_30321036_16544.cpp:98:16: error: redefinition of 'bool valid [2001]'
bool valid[maxn];
^
0_0_30321036_16544.cpp:14:6: note: 'bool valid [2001]' previously declared here
bool valid[maxn];
^
0_0_30321036_16544.cpp:99:21: error: redefinition of 'long long int prime [2001]'
long long prime[maxn];
^
0_0_30321036_16544.cpp:15:11: note: 'long long int prime [2001]' previously declared here
long long prime[maxn];
^
0_0_30321036_16544.cpp: In function 'long long int isprime()':
0_0_30321036_16544.cpp:101:11: error: redefinition of 'long long int isprime()'
long long isprime()
^
0_0_30321036_16544.cpp:17:11: note: 'long long int isprime()' previously defined here
long long isprime()
^
0_0_30321036_16544.cpp: In function 'long long int Rank(int (*)[2001], long long int, long long int)':
0_0_30321036_16544.cpp:119:11: error: redefinition of 'long long int Rank(int (*)[2001], long long int, long long int)'
long long Rank(Matrix A,long long m,long long n)
^
0_0_30321036_16544.cpp:35:11: note: 'long long int Rank(int (*)[2001], long long int, long long int)' previously defined here
long long Rank(Matrix A,long long m,long long n)
^
0_0_30321036_16544.cpp: At global scope:
0_0_30321036_16544.cpp:137:8: error: redefinition of 'int A [2001][2001]'
Matrix A;
^
0_0_30321036_16544.cpp:53:8: note: 'int A [2001][2001]' previously declared here
Matrix A;
^
0_0_30321036_16544.cpp: In function 'int main()':
0_0_30321036_16544.cpp:139:5: error: redefinition of 'int main()'
int main()
^
0_0_30321036_16544.cpp:55:5: note: 'int main()' previously defined here
int main()
^
|