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_36150613_23905.cpp:29:11: error: redefinition of 'const int N'
 const int N = 110000;
           ^
0_0_36150613_23905.cpp:19:11: note: 'const int N' previously defined here
 const int N = 110000;
           ^
0_0_36150613_23905.cpp:30:5: error: redefinition of 'int n'
 int n, m;
     ^
0_0_36150613_23905.cpp:21:5: note: 'int n' previously declared here
 int n, m;
     ^
0_0_36150613_23905.cpp:30:8: error: redefinition of 'int m'
 int n, m;
        ^
0_0_36150613_23905.cpp:21:8: note: 'int m' previously declared here
 int n, m;
        ^
0_0_36150613_23905.cpp:31:5: error: redefinition of 'int cnt'
 int cnt = 0; // 时间戳
     ^
0_0_36150613_23905.cpp:23:5: note: 'int cnt' previously defined here
 int cnt = 0; // 时间戳
     ^
0_0_36150613_23905.cpp:32:10: error: redefinition of 'int dfn [110000]'
 int dfn[N], low[N]; // 当前时间戳、最早时间戳
          ^
0_0_36150613_23905.cpp:24:5: note: 'int dfn [110000]' previously declared here
 int dfn[N], low[N]; // 当前时间戳、最早时间戳 
     ^
0_0_36150613_23905.cpp:32:18: error: redefinition of 'int low [110000]'
 int dfn[N], low[N]; // 当前时间戳、最早时间戳
                  ^
0_0_36150613_23905.cpp:24:13: note: 'int low [110000]' previously declared here
 int dfn[N], low[N]; // 当前时间戳、最早时间戳 
             ^
0_0_36150613_23905.cpp:33:10: error: redefinition of 'int vis [110000]'
 int vis[N], stk[N], top = 0; // 当前栈中的点(连通路径)
          ^
0_0_36150613_23905.cpp:25:5: note: 'int vis [110000]' previously declared here
 int vis[N], stk[N], top = 0; // 当前路径栈 
     ^
0_0_36150613_23905.cpp:33:18: error: redefinition of 'int stk [110000]'
 int vis[N], stk[N], top = 0; // 当前栈中的点(连通路径)
                  ^
0_0_36150613_23905.cpp:25:13: note: 'int stk [110000]' previously declared here
 int vis[N], stk[N], top = 0; // 当前路径栈 
             ^
0_0_36150613_23905.cpp:33:21: error: redefinition of 'int top'
 int vis[N], stk[N], top = 0; // 当前栈中的点(连通路径)
                     ^
0_0_36150613_23905.cpp:25:21: note: 'int top' previously defined here
 int vis[N], stk[N], top = 0; // 当前路径栈 
                     ^
0_0_36150613_23905.cpp:34:12: error: redefinition of 'int color [110000]'
 int color[N], tot = 0; // 节点染色、强连通分量的数量
            ^
0_0_36150613_23905.cpp:26:5: note: 'int color [110000]' previously declared here
 int color[N], tot = 0; // 节点染色、强连通分量的数量 
     ^
0_0_36150613_23905.cpp:34:15: error: redefinition of 'int tot'
 int color[N], tot = 0; // 节点染色、强连通分量的数量
               ^
0_0_36150613_23905.cpp:26:15: note: 'int tot' previously defined here
 int color[N], tot = 0; // 节点染色、强连通分量的数量 
               ^
0_0_36150613_23905.cpp:35:17: error: redefinition of 'std::vector<int> eg [110000]'
 vector<int> eg[N];     // 所有边
                 ^
0_0_36150613_23905.cpp:27:13: note: 'std::vector<int> eg [110000]' previously declared here
 vector<int> eg[N];     // 所有边 
             ^


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-22 21:30:06, Gzip enabled