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_31894236_20270.cpp:61:11: error: redefinition of 'const int N'
 const int N=2e5+10,M=1e6+10;
           ^
0_0_31894236_20270.cpp:5:11: note: 'const int N' previously defined here
 const int N=2e5+10,M=1e6+10;
           ^
0_0_31894236_20270.cpp:61:20: error: redefinition of 'const int M'
 const int N=2e5+10,M=1e6+10;
                    ^
0_0_31894236_20270.cpp:5:20: note: 'const int M' previously defined here
 const int N=2e5+10,M=1e6+10;
                    ^
0_0_31894236_20270.cpp:62:5: error: redefinition of 'int n'
 int n,m,x[M],y[M],vis[N],s,d[N];
     ^
0_0_31894236_20270.cpp:6:5: note: 'int n' previously declared here
 int n,m,x[M],y[M],vis[N],s,d[N];
     ^
0_0_31894236_20270.cpp:62:7: error: redefinition of 'int m'
 int n,m,x[M],y[M],vis[N],s,d[N];
       ^
0_0_31894236_20270.cpp:6:7: note: 'int m' previously declared here
 int n,m,x[M],y[M],vis[N],s,d[N];
       ^
0_0_31894236_20270.cpp:62:12: error: redefinition of 'int x [1000010]'
 int n,m,x[M],y[M],vis[N],s,d[N];
            ^
0_0_31894236_20270.cpp:6:9: note: 'int x [1000010]' previously declared here
 int n,m,x[M],y[M],vis[N],s,d[N];
         ^
0_0_31894236_20270.cpp:62:17: error: redefinition of 'int y [1000010]'
 int n,m,x[M],y[M],vis[N],s,d[N];
                 ^
0_0_31894236_20270.cpp:6:14: note: 'int y [1000010]' previously declared here
 int n,m,x[M],y[M],vis[N],s,d[N];
              ^
0_0_31894236_20270.cpp:62:24: error: redefinition of 'int vis [200010]'
 int n,m,x[M],y[M],vis[N],s,d[N];
                        ^
0_0_31894236_20270.cpp:6:19: note: 'int vis [200010]' previously declared here
 int n,m,x[M],y[M],vis[N],s,d[N];
                   ^
0_0_31894236_20270.cpp:62:26: error: redefinition of 'int s'
 int n,m,x[M],y[M],vis[N],s,d[N];
                          ^
0_0_31894236_20270.cpp:6:26: note: 'int s' previously declared here
 int n,m,x[M],y[M],vis[N],s,d[N];
                          ^
0_0_31894236_20270.cpp:62:31: error: redefinition of 'int d [200010]'
 int n,m,x[M],y[M],vis[N],s,d[N];
                               ^
0_0_31894236_20270.cpp:6:28: note: 'int d [200010]' previously declared here
 int n,m,x[M],y[M],vis[N],s,d[N];
                            ^
0_0_31894236_20270.cpp:63:10: error: redefinition of 'int dfn [200010]'
 int dfn[N],low[N],col[N],brige[M<<1],cnt,co;
          ^
0_0_31894236_20270.cpp:7:5: note: 'int dfn [200010]' previously declared here
 int dfn[N],low[N],col[N],brige[M<<1],cnt,co;
     ^
0_0_31894236_20270.cpp:63:17: error: redefinition of 'int low [200010]'
 int dfn[N],low[N],col[N],brige[M<<1],cnt,co;
                 ^
0_0_31894236_20270.cpp:7:12: note: 'int low [200010]' previously declared here
 int dfn[N],low[N],col[N],brige[M<<1],cnt,co;
            ^
0_0_31894236_20270.cpp:63:24: error: redefinition of 'int col [200010]'
 int dfn[N],low[N],col[N],brige[M<<1],cnt,co;
                        ^
0_0_31894236_20270.cpp:7:19: note: 'int col [200010]' previously declared here
 int dfn[N],low[N],col[N],brige[M<<1],cnt,co;
                   ^
0_0_31894236_20270.cpp:63:36: error: redefinition of 'int brige [2000020]'
 int dfn[N],low[N],col[N],brige[M<<1],cnt,co;
                                    ^
0_0_31894236_20270.cpp:7:26: note: 'int brige [2000020]' previously declared here
 int dfn[N],low[N],col[N],brige[M<<1],cnt,co;
                          ^
0_0_31894236_20270.cpp:63:38: error: redefinition of 'int cnt'
 int dfn[N],low[N],col[N],brige[M<<1],cnt,co;
                                      ^
0_0_31894236_20270.cpp:7:38: note: 'int cnt' previously declared here
 int dfn[N],low[N],col[N],brige[M<<1],cnt,co;
                                      ^
0_0_31894236_20270.cpp:63:42: error: redefinition of 'int co'
 int dfn[N],low[N],col[N],brige[M<<1],cnt,co;
                                          ^
0_0_31894236_20270.cpp:7:42: note: 'int co' previously declared here
 int dfn[N],low[N],col[N],brige[M<<1],cnt,co;
                                          ^
0_0_31894236_20270.cpp:64:11: error: redefinition of 'int head [200010]'
 int head[N],nex[M<<1],to[M<<1],tot;
           ^
0_0_31894236_20270.cpp:8:5: note: 'int head [200010]' previously declared here
 int head[N],nex[M<<1],to[M<<1],tot;
     ^
0_0_31894236_20270.cpp:64:21: error: redefinition of 'int nex [2000020]'
 int head[N],nex[M<<1],to[M<<1],tot;
                     ^
0_0_31894236_20270.cpp:8:13: note: 'int nex [2000020]' previously declared here
 int head[N],nex[M<<1],to[M<<1],tot;
             ^
0_0_31894236_20270.cpp:64:30: error: redefinition of 'int to [2000020]'
 int head[N],nex[M<<1],to[M<<1],tot;
                              ^
0_0_31894236_20270.cpp:8:23: note: 'int to [2000020]' previously declared here
 int head[N],nex[M<<1],to[M<<1],tot;
                       ^
0_0_31894236_20270.cpp:64:32: error: redefinition of 'int tot'
 int head[N],nex[M<<1],to[M<<1],tot;
                                ^
0_0_31894236_20270.cpp:8:32: note: 'int tot' previously declared here
 int head[N],nex[M<<1],to[M<<1],tot;
                                ^
0_0_31894236_20270.cpp:65:12: error: redefinition of 'std::stack<int> st'
 stack<int> st;
            ^
0_0_31894236_20270.cpp:9:12: note: 'std::stack<int> st' previously declared here
 stack<int> st;
            ^
0_0_31894236_20270.cpp: In function 'void ade(int, int)':
0_0_31894236_20270.cpp:66:13: error: redefinition of 'void ade(int, int)'
 inline void ade(int a,int b){to[++tot]=b; nex[tot]=head[a]; head[a]=tot;}
             ^
0_0_31894236_20270.cpp:10:13: note: 'void ade(int, int)' previously defined here
 inline void ade(int a,int b){to[++tot]=b; nex[tot]=head[a]; head[a]=tot;}
             ^
0_0_31894236_20270.cpp: In function 'void add(int, int)':
0_0_31894236_20270.cpp:67:13: error: redefinition of 'void add(int, int)'
 inline void add(int a,int b){ade(a,b); ade(b,a);}
             ^
0_0_31894236_20270.cpp:11:13: note: 'void add(int, int)' previously defined here
 inline void add(int a,int b){ade(a,b); ade(b,a);}
             ^
0_0_31894236_20270.cpp: In function 'void init()':
0_0_31894236_20270.cpp:68:13: error: redefinition of 'void init()'
 inline void init(){
             ^
0_0_31894236_20270.cpp:12:13: note: 'void init()' previously defined here
 inline void init(){
             ^
0_0_31894236_20270.cpp: In function 'void Tarjan(int)':
0_0_31894236_20270.cpp:73:6: error: redefinition of 'void Tarjan(int)'
 void Tarjan(int x){
      ^
0_0_31894236_20270.cpp:17:6: note: 'void Tarjan(int)' previously defined here
 void Tarjan(int x){
      ^
0_0_31894236_20270.cpp: In function 'int bfs(int)':
0_0_31894236_20270.cpp:88:12: error: redefinition of 'int bfs(int)'
 inline int bfs(int s){
            ^
0_0_31894236_20270.cpp:32:12: note: 'int bfs(int)' previously defined here
 inline int bfs(int s){
            ^
0_0_31894236_20270.cpp: In function 'int main()':
0_0_31894236_20270.cpp:101:8: error: redefinition of 'int main()'
 signed main(){
        ^
0_0_31894236_20270.cpp:45:8: note: 'int main()' previously defined here
 signed 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-24 04:29:47, Gzip enabled