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_17200439_25667.cpp:105:11: error: redefinition of 'const int INF'
 const int INF = 0x7fffffff;
           ^
0_0_17200439_25667.cpp:8:11: note: 'const int INF' previously defined here
 const int INF = 0x7fffffff;
           ^
0_0_17200439_25667.cpp:106:11: error: redefinition of 'const int VN'
 const int VN  = 100;
           ^
0_0_17200439_25667.cpp:9:11: note: 'const int VN' previously defined here
 const int VN  = 100;
           ^
0_0_17200439_25667.cpp:108:8: error: redefinition of 'struct Matrix'
 struct Matrix{
        ^
0_0_17200439_25667.cpp:11:8: error: previous definition of 'struct Matrix'
 struct Matrix{
        ^
0_0_17200439_25667.cpp:134:9: error: invalid type in declaration before ';' token
 }arr[VN];
         ^
0_0_17200439_25667.cpp:134:9: error: conflicting declaration 'int arr [100]'
0_0_17200439_25667.cpp:46:8: note: previous declaration as 'Matrix arr [100]'
 Matrix arr[VN];
        ^
0_0_17200439_25667.cpp:147:5: error: redefinition of 'int n'
 int n, m;
     ^
0_0_17200439_25667.cpp:47:5: note: 'int n' previously declared here
 int n, m;
     ^
0_0_17200439_25667.cpp:147:8: error: redefinition of 'int m'
 int n, m;
        ^
0_0_17200439_25667.cpp:47:8: note: 'int m' previously declared here
 int n, m;
        ^
0_0_17200439_25667.cpp:148:13: error: redefinition of 'int d [100][100]'
 int d[VN][VN];
             ^
0_0_17200439_25667.cpp:48:5: note: 'int d [100][100]' previously declared here
 int d[VN][VN];
     ^
0_0_17200439_25667.cpp: In function 'void init()':
0_0_17200439_25667.cpp:150:6: error: redefinition of 'void init()'
 void init(){
      ^
0_0_17200439_25667.cpp:50:6: note: 'void init()' previously defined here
 void init(){
      ^
0_0_17200439_25667.cpp: In function 'void Floyd()':
0_0_17200439_25667.cpp:163:6: error: redefinition of 'void Floyd()'
 void Floyd(){
      ^
0_0_17200439_25667.cpp:58:6: note: 'void Floyd()' previously defined here
 void Floyd(){
      ^
0_0_17200439_25667.cpp: In function 'int main()':
0_0_17200439_25667.cpp:171:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_17200439_25667.cpp:66: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-10-02 21:25:19, Gzip enabled