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_20910354_17085.cpp:95:2: error: stray '#' in program
 }#include <iostream>
  ^
0_0_20910354_17085.cpp:95:3: error: 'include' does not name a type
 }#include <iostream>
   ^
0_0_20910354_17085.cpp:113:14: error: redefinition of 'const double PI'
 const double PI=acos(-1.0);
              ^
0_0_20910354_17085.cpp:19:14: note: 'const double PI' previously defined here
 const double PI=acos(-1.0);
              ^
0_0_20910354_17085.cpp:114:14: error: redefinition of 'const double eps'
 const double eps=1e-6;
              ^
0_0_20910354_17085.cpp:20:14: note: 'const double eps' previously defined here
 const double eps=1e-6;
              ^
0_0_20910354_17085.cpp:115:11: error: redefinition of 'const int INF'
 const int INF=1000000000;
           ^
0_0_20910354_17085.cpp:21:11: note: 'const int INF' previously defined here
 const int INF=1000000000;
           ^
0_0_20910354_17085.cpp:116:11: error: redefinition of 'const int maxn'
 const int maxn=60;
           ^
0_0_20910354_17085.cpp:22:11: note: 'const int maxn' previously defined here
 const int maxn=60;
           ^
0_0_20910354_17085.cpp:117:5: error: redefinition of 'int T'
 int T,n,m;
     ^
0_0_20910354_17085.cpp:23:5: note: 'int T' previously declared here
 int T,n,m;
     ^
0_0_20910354_17085.cpp:117:7: error: redefinition of 'int n'
 int T,n,m;
       ^
0_0_20910354_17085.cpp:23:7: note: 'int n' previously declared here
 int T,n,m;
       ^
0_0_20910354_17085.cpp:117:9: error: redefinition of 'int m'
 int T,n,m;
         ^
0_0_20910354_17085.cpp:23:9: note: 'int m' previously declared here
 int T,n,m;
         ^
0_0_20910354_17085.cpp:118:18: error: redefinition of 'char s [60][60]'
 char s[maxn][maxn];
                  ^
0_0_20910354_17085.cpp:24:6: note: 'char s [60][60]' previously declared here
 char s[maxn][maxn];
      ^
0_0_20910354_17085.cpp:119:13: error: redefinition of 'int dis [60]'
 int dis[maxn],f[maxn];
             ^
0_0_20910354_17085.cpp:25:5: note: 'int dis [60]' previously declared here
 int dis[maxn],f[maxn];
     ^
0_0_20910354_17085.cpp:119:21: error: redefinition of 'int f [60]'
 int dis[maxn],f[maxn];
                     ^
0_0_20910354_17085.cpp:25:15: note: 'int f [60]' previously declared here
 int dis[maxn],f[maxn];
               ^
0_0_20910354_17085.cpp:120:12: error: redefinition of 'int in [60]'
 int in[maxn];
            ^
0_0_20910354_17085.cpp:26:5: note: 'int in [60]' previously declared here
 int in[maxn];
     ^
0_0_20910354_17085.cpp: In function 'void spfa()':
0_0_20910354_17085.cpp:121:6: error: redefinition of 'void spfa()'
 void spfa()
      ^
0_0_20910354_17085.cpp:27:6: note: 'void spfa()' previously defined here
 void spfa()
      ^
0_0_20910354_17085.cpp: In function 'int main()':
0_0_20910354_17085.cpp:154:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_20910354_17085.cpp:60: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-09-28 22:20:07, Gzip enabled