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_29567088_18402.cpp:137:11: error: redefinition of 'const int N'
 const int N = 1e4 + 5;
           ^
0_0_29567088_18402.cpp:26:11: note: 'const int N' previously defined here
 const int N = 1e4 + 5;
           ^
0_0_29567088_18402.cpp:138:11: error: redefinition of 'const int mod'
 const int mod = 1e5 + 7;
           ^
0_0_29567088_18402.cpp:27:11: note: 'const int mod' previously defined here
 const int mod = 1e5 + 7;
           ^
0_0_29567088_18402.cpp:141:6: error: redefinition of 'int index'
 int  index, tot, temp;
      ^
0_0_29567088_18402.cpp:30:6: note: 'int index' previously declared here
 int  index, tot, temp;
      ^
0_0_29567088_18402.cpp:141:13: error: redefinition of 'int tot'
 int  index, tot, temp;
             ^
0_0_29567088_18402.cpp:30:13: note: 'int tot' previously declared here
 int  index, tot, temp;
             ^
0_0_29567088_18402.cpp:141:18: error: redefinition of 'int temp'
 int  index, tot, temp;
                  ^
0_0_29567088_18402.cpp:30:18: note: 'int temp' previously declared here
 int  index, tot, temp;
                  ^
0_0_29567088_18402.cpp:142:10: error: redefinition of 'int dfn [10005]'
 int dfn[N], low[N], scc[N], re[N], cost[N], kk[N];
          ^
0_0_29567088_18402.cpp:31:5: note: 'int dfn [10005]' previously declared here
 int dfn[N], low[N], scc[N], re[N], cost[N], kk[N];
     ^
0_0_29567088_18402.cpp:142:18: error: redefinition of 'int low [10005]'
 int dfn[N], low[N], scc[N], re[N], cost[N], kk[N];
                  ^
0_0_29567088_18402.cpp:31:13: note: 'int low [10005]' previously declared here
 int dfn[N], low[N], scc[N], re[N], cost[N], kk[N];
             ^
0_0_29567088_18402.cpp:142:26: error: redefinition of 'int scc [10005]'
 int dfn[N], low[N], scc[N], re[N], cost[N], kk[N];
                          ^
0_0_29567088_18402.cpp:31:21: note: 'int scc [10005]' previously declared here
 int dfn[N], low[N], scc[N], re[N], cost[N], kk[N];
                     ^
0_0_29567088_18402.cpp:142:33: error: redefinition of 'int re [10005]'
 int dfn[N], low[N], scc[N], re[N], cost[N], kk[N];
                                 ^
0_0_29567088_18402.cpp:31:29: note: 'int re [10005]' previously declared here
 int dfn[N], low[N], scc[N], re[N], cost[N], kk[N];
                             ^
0_0_29567088_18402.cpp:142:42: error: redefinition of 'int cost [10005]'
 int dfn[N], low[N], scc[N], re[N], cost[N], kk[N];
                                          ^
0_0_29567088_18402.cpp:31:36: note: 'int cost [10005]' previously declared here
 int dfn[N], low[N], scc[N], re[N], cost[N], kk[N];
                                    ^
0_0_29567088_18402.cpp:142:49: error: redefinition of 'int kk [10005]'
 int dfn[N], low[N], scc[N], re[N], cost[N], kk[N];
                                                 ^
0_0_29567088_18402.cpp:31:45: note: 'int kk [10005]' previously declared here
 int dfn[N], low[N], scc[N], re[N], cost[N], kk[N];
                                             ^
0_0_29567088_18402.cpp:143:13: error: redefinition of 'std::stack<int> s'
 stack <int >s;
             ^
0_0_29567088_18402.cpp:32:13: note: 'std::stack<int> s' previously declared here
 stack <int >s;
             ^
0_0_29567088_18402.cpp:144:16: error: redefinition of 'std::vector<int> g [10005]'
 vector<int >g[N];
                ^
0_0_29567088_18402.cpp:33:13: note: 'std::vector<int> g [10005]' previously declared here
 vector<int >g[N];
             ^
0_0_29567088_18402.cpp: In function 'void tarjan(int)':
0_0_29567088_18402.cpp:146:6: error: redefinition of 'void tarjan(int)'
 void tarjan(int u){
      ^
0_0_29567088_18402.cpp:35:6: note: 'void tarjan(int)' previously defined here
 void tarjan(int u){
      ^
0_0_29567088_18402.cpp: In function 'void clean()':
0_0_29567088_18402.cpp:176:6: error: redefinition of 'void clean()'
 void clean(){
      ^
0_0_29567088_18402.cpp:65:6: note: 'void clean()' previously defined here
 void clean(){
      ^
0_0_29567088_18402.cpp: In function 'int main()':
0_0_29567088_18402.cpp:185:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_29567088_18402.cpp:74: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-11-01 20:18:28, Gzip enabled