F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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()
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 16:38:47, Gzip enabled