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_15385933_31976.cpp:86:15: error: redefinition of 'int vis [100005]'
 int vis[100005],m;
               ^
0_0_15385933_31976.cpp:8:5: note: 'int vis [100005]' previously declared here
 int vis[100005],m;
     ^
0_0_15385933_31976.cpp:86:17: error: redefinition of 'int m'
 int vis[100005],m;
                 ^
0_0_15385933_31976.cpp:8:17: note: 'int m' previously declared here
 int vis[100005],m;
                 ^
0_0_15385933_31976.cpp:87:14: error: redefinition of 'long long int dis [100005]'
 LL dis[100005];
              ^
0_0_15385933_31976.cpp:9:4: note: 'long long int dis [100005]' previously declared here
 LL dis[100005];
    ^
0_0_15385933_31976.cpp:88:5: error: redefinition of 'int Now'
 int Now,Head[100005],Next[100005],Point[100005];
     ^
0_0_15385933_31976.cpp:10:5: note: 'int Now' previously declared here
 int Now,Head[100005],Next[100005],Point[100005];
     ^
0_0_15385933_31976.cpp:88:20: error: redefinition of 'int Head [100005]'
 int Now,Head[100005],Next[100005],Point[100005];
                    ^
0_0_15385933_31976.cpp:10:9: note: 'int Head [100005]' previously declared here
 int Now,Head[100005],Next[100005],Point[100005];
         ^
0_0_15385933_31976.cpp:88:33: error: redefinition of 'int Next [100005]'
 int Now,Head[100005],Next[100005],Point[100005];
                                 ^
0_0_15385933_31976.cpp:10:22: note: 'int Next [100005]' previously declared here
 int Now,Head[100005],Next[100005],Point[100005];
                      ^
0_0_15385933_31976.cpp:88:47: error: redefinition of 'int Point [100005]'
 int Now,Head[100005],Next[100005],Point[100005];
                                               ^
0_0_15385933_31976.cpp:10:35: note: 'int Point [100005]' previously declared here
 int Now,Head[100005],Next[100005],Point[100005];
                                   ^
0_0_15385933_31976.cpp:89:15: error: redefinition of 'long long int Value [10005]'
 LL Value[10005];
               ^
0_0_15385933_31976.cpp:11:4: note: 'long long int Value [10005]' previously declared here
 LL Value[10005];
    ^
0_0_15385933_31976.cpp: In function 'void add(int, int, long long int)':
0_0_15385933_31976.cpp:90:6: error: redefinition of 'void add(int, int, long long int)'
 void add(int x,int y,LL w)
      ^
0_0_15385933_31976.cpp:12:6: note: 'void add(int, int, long long int)' previously defined here
 void add(int x,int y,LL w)
      ^
0_0_15385933_31976.cpp: In function 'void spfa(int)':
0_0_15385933_31976.cpp:97:6: error: redefinition of 'void spfa(int)'
 void spfa(int s)
      ^
0_0_15385933_31976.cpp:19:6: note: 'void spfa(int)' previously defined here
 void spfa(int s)
      ^
0_0_15385933_31976.cpp: At global scope:
0_0_15385933_31976.cpp:124:13: error: redefinition of 'int x [100005]'
 int x[100005],y[100005],c[100005],w[100005];
             ^
0_0_15385933_31976.cpp:46:5: note: 'int x [100005]' previously declared here
 int x[100005],y[100005],c[100005],w[100005];
     ^
0_0_15385933_31976.cpp:124:23: error: redefinition of 'int y [100005]'
 int x[100005],y[100005],c[100005],w[100005];
                       ^
0_0_15385933_31976.cpp:46:15: note: 'int y [100005]' previously declared here
 int x[100005],y[100005],c[100005],w[100005];
               ^
0_0_15385933_31976.cpp:124:33: error: redefinition of 'int c [100005]'
 int x[100005],y[100005],c[100005],w[100005];
                                 ^
0_0_15385933_31976.cpp:46:25: note: 'int c [100005]' previously declared here
 int x[100005],y[100005],c[100005],w[100005];
                         ^
0_0_15385933_31976.cpp:124:43: error: redefinition of 'int w [100005]'
 int x[100005],y[100005],c[100005],w[100005];
                                           ^
0_0_15385933_31976.cpp:46:35: note: 'int w [100005]' previously declared here
 int x[100005],y[100005],c[100005],w[100005];
                                   ^
0_0_15385933_31976.cpp: In function 'int main()':
0_0_15385933_31976.cpp:125:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_15385933_31976.cpp:47:5: note: 'int main()' previously defined here
 int main()
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 05:43:04, Gzip enabled