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_21932489_16419.cpp:55:31: error: redefinition of 'const int N'
 using namespace std;const int N=502;
                               ^
0_0_21932489_16419.cpp:9:31: note: 'const int N' previously defined here
 using namespace std;const int N=502;
                               ^
0_0_21932489_16419.cpp:56:11: error: redefinition of 'double p [502]'
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
           ^
0_0_21932489_16419.cpp:10:8: note: 'double p [502]' previously declared here
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
        ^
0_0_21932489_16419.cpp:56:13: error: redefinition of 'double sum'
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
             ^
0_0_21932489_16419.cpp:10:13: note: 'double sum' previously declared here
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
             ^
0_0_21932489_16419.cpp:56:23: error: redefinition of 'double A [502][502]'
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                       ^
0_0_21932489_16419.cpp:10:17: note: 'double A [502][502]' previously declared here
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                 ^
0_0_21932489_16419.cpp:56:25: error: redefinition of 'double val'
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                         ^
0_0_21932489_16419.cpp:10:25: note: 'double val' previously declared here
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                         ^
0_0_21932489_16419.cpp:56:33: error: redefinition of 'int T'
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                 ^
0_0_21932489_16419.cpp:10:33: note: 'int T' previously declared here
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                 ^
0_0_21932489_16419.cpp:56:35: error: redefinition of 'int n'
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                   ^
0_0_21932489_16419.cpp:10:35: note: 'int n' previously declared here
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                   ^
0_0_21932489_16419.cpp:56:37: error: redefinition of 'int m'
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                     ^
0_0_21932489_16419.cpp:10:37: note: 'int m' previously declared here
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                     ^
0_0_21932489_16419.cpp:56:39: error: redefinition of 'int s'
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                       ^
0_0_21932489_16419.cpp:10:39: note: 'int s' previously declared here
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                       ^
0_0_21932489_16419.cpp:56:41: error: redefinition of 'int t'
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                         ^
0_0_21932489_16419.cpp:10:41: note: 'int t' previously declared here
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                         ^
0_0_21932489_16419.cpp:56:43: error: redefinition of 'int D'
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                           ^
0_0_21932489_16419.cpp:10:43: note: 'int D' previously declared here
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                           ^
0_0_21932489_16419.cpp:56:45: error: redefinition of 'int v'
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                             ^
0_0_21932489_16419.cpp:10:45: note: 'int v' previously declared here
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                             ^
0_0_21932489_16419.cpp:56:47: error: redefinition of 'int I'
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                               ^
0_0_21932489_16419.cpp:10:47: note: 'int I' previously declared here
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                               ^
0_0_21932489_16419.cpp:56:59: error: redefinition of 'bool vis [502]'
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                                           ^
0_0_21932489_16419.cpp:10:54: note: 'bool vis [502]' previously declared here
 double p[N],sum,A[N][N],val;int T,n,m,s,t,D,v,I;bool vis[N];
                                                      ^
0_0_21932489_16419.cpp: In function 'bool BFS()':
0_0_21932489_16419.cpp:57:6: error: redefinition of 'bool BFS()'
 bool BFS()
      ^
0_0_21932489_16419.cpp:11:6: note: 'bool BFS()' previously defined here
 bool BFS()
      ^
0_0_21932489_16419.cpp: In function 'void Gauss()':
0_0_21932489_16419.cpp:64:6: error: redefinition of 'void Gauss()'
 void Gauss()
      ^
0_0_21932489_16419.cpp:18:6: note: 'void Gauss()' previously defined here
 void Gauss()
      ^
0_0_21932489_16419.cpp: In function 'int main()':
0_0_21932489_16419.cpp:81:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_21932489_16419.cpp:35: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-16 09:18:25, Gzip enabled