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_25025329_18956.cpp:102:2: error: stray '#' in program
 }#include<set>
  ^
0_0_25025329_18956.cpp:102:3: error: 'include' does not name a type
 }#include<set>
   ^
0_0_25025329_18956.cpp:109:5: error: redefinition of 'int n'
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
     ^
0_0_25025329_18956.cpp:8:5: note: 'int n' previously declared here
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
     ^
0_0_25025329_18956.cpp:109:7: error: redefinition of 'int m'
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
       ^
0_0_25025329_18956.cpp:8:7: note: 'int m' previously declared here
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
       ^
0_0_25025329_18956.cpp:109:9: error: redefinition of 'int q'
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
         ^
0_0_25025329_18956.cpp:8:9: note: 'int q' previously declared here
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
         ^
0_0_25025329_18956.cpp:109:20: error: redefinition of 'int head [5005]'
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
                    ^
0_0_25025329_18956.cpp:8:11: note: 'int head [5005]' previously declared here
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
           ^
0_0_25025329_18956.cpp:109:22: error: redefinition of 'int cnt'
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
                      ^
0_0_25025329_18956.cpp:8:22: note: 'int cnt' previously declared here
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
                      ^
0_0_25025329_18956.cpp:109:34: error: redefinition of 'int dfn [5005]'
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
                                  ^
0_0_25025329_18956.cpp:8:26: note: 'int dfn [5005]' previously declared here
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
                          ^
0_0_25025329_18956.cpp:109:44: error: redefinition of 'int low [5005]'
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
                                            ^
0_0_25025329_18956.cpp:8:36: note: 'int low [5005]' previously declared here
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
                                    ^
0_0_25025329_18956.cpp:109:56: error: redefinition of 'int Wflag [5005]'
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
                                                        ^
0_0_25025329_18956.cpp:8:46: note: 'int Wflag [5005]' previously declared here
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
                                              ^
0_0_25025329_18956.cpp:109:58: error: redefinition of 'int bcc_cnt'
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
                                                          ^
0_0_25025329_18956.cpp:8:58: note: 'int bcc_cnt' previously declared here
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
                                                          ^
0_0_25025329_18956.cpp:109:66: error: redefinition of 'int Wcnt'
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
                                                                  ^
0_0_25025329_18956.cpp:8:66: note: 'int Wcnt' previously defined here
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
                                                                  ^
0_0_25025329_18956.cpp:109:73: error: redefinition of 'int Index'
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
                                                                         ^
0_0_25025329_18956.cpp:8:73: note: 'int Index' previously declared here
 int n,m,q,head[5005],cnt,dfn[5005],low[5005],Wflag[5005],bcc_cnt,Wcnt=0,Index;
                                                                         ^
0_0_25025329_18956.cpp:110:12: error: redefinition of 'std::stack<int> sta'
 stack<int> sta;
            ^
0_0_25025329_18956.cpp:9:12: note: 'std::stack<int> sta' previously declared here
 stack<int> sta;
            ^
0_0_25025329_18956.cpp:111:18: error: redefinition of 'std::set<int> bcc [5005]'
 set<int> bcc[5005];
                  ^
0_0_25025329_18956.cpp:10:10: note: 'std::set<int> bcc [5005]' previously declared here
 set<int> bcc[5005];
          ^
0_0_25025329_18956.cpp:112:20: error: redefinition of 'std::set<int>::iterator ite'
 set<int>::iterator ite;
                    ^
0_0_25025329_18956.cpp:11:20: note: 'std::set<int>::iterator ite' previously declared here
 set<int>::iterator ite;
                    ^
0_0_25025329_18956.cpp:113:8: error: redefinition of 'struct stu'
 struct stu
        ^
0_0_25025329_18956.cpp:12:8: error: previous definition of 'struct stu'
 struct stu
        ^
0_0_25025329_18956.cpp:116:10: error: invalid type in declaration before ';' token
 }s[10005];
          ^
0_0_25025329_18956.cpp:116:10: error: conflicting declaration 'int s [10005]'
0_0_25025329_18956.cpp:15:2: note: previous declaration as 'stu s [10005]'
 }s[10005];
  ^
0_0_25025329_18956.cpp: In function 'void Add(const int&, const int&)':
0_0_25025329_18956.cpp:117:6: error: redefinition of 'void Add(const int&, const int&)'
 void Add(const int& u,const int& v)
      ^
0_0_25025329_18956.cpp:16:6: note: 'void Add(const int&, const int&)' previously defined here
 void Add(const int& u,const int& v)
      ^
0_0_25025329_18956.cpp: In function 'void Tarjanbcc(int, int)':
0_0_25025329_18956.cpp:124:6: error: redefinition of 'void Tarjanbcc(int, int)'
 void Tarjanbcc(int curr,int father)
      ^
0_0_25025329_18956.cpp:23:6: note: 'void Tarjanbcc(int, int)' previously defined here
 void Tarjanbcc(int curr,int father)
      ^
0_0_25025329_18956.cpp: In function 'bool Pd(const int&, const int&)':
0_0_25025329_18956.cpp:158:6: error: redefinition of 'bool Pd(const int&, const int&)'
 bool Pd(const int& x,const int& y)
      ^
0_0_25025329_18956.cpp:57:6: note: 'bool Pd(const int&, const int&)' previously defined here
 bool Pd(const int& x,const int& y)
      ^
0_0_25025329_18956.cpp: In function 'int main()':
0_0_25025329_18956.cpp:172:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_25025329_18956.cpp:71: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-12-04 05:03:57, Gzip enabled