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_23260429_16839.cpp:140:16: error: redefinition of 'std::vector<int> g [103]'
 vector<int> g[N];
                ^
0_0_23260429_16839.cpp:15:13: note: 'std::vector<int> g [103]' previously declared here
 vector<int> g[N]; 
             ^
0_0_23260429_16839.cpp:142:5: error: redefinition of 'int n'
 int n, low[N], dfn[N], f[N];
     ^
0_0_23260429_16839.cpp:17:5: note: 'int n' previously declared here
 int n, low[N], dfn[N], f[N]; 
     ^
0_0_23260429_16839.cpp:142:13: error: redefinition of 'int low [103]'
 int n, low[N], dfn[N], f[N];
             ^
0_0_23260429_16839.cpp:17:8: note: 'int low [103]' previously declared here
 int n, low[N], dfn[N], f[N]; 
        ^
0_0_23260429_16839.cpp:142:21: error: redefinition of 'int dfn [103]'
 int n, low[N], dfn[N], f[N];
                     ^
0_0_23260429_16839.cpp:17:16: note: 'int dfn [103]' previously declared here
 int n, low[N], dfn[N], f[N]; 
                ^
0_0_23260429_16839.cpp:142:27: error: redefinition of 'int f [103]'
 int n, low[N], dfn[N], f[N];
                           ^
0_0_23260429_16839.cpp:17:24: note: 'int f [103]' previously declared here
 int n, low[N], dfn[N], f[N]; 
                        ^
0_0_23260429_16839.cpp:144:11: error: redefinition of 'bool vis [103]'
 bool vis[N];
           ^
0_0_23260429_16839.cpp:19:6: note: 'bool vis [103]' previously declared here
 bool vis[N]; 
      ^
0_0_23260429_16839.cpp: In function 'void dfs(int, int, const int&)':
0_0_23260429_16839.cpp:147:7: error: redefinition of 'void dfs(int, int, const int&)'
 void  dfs(int u, int depth, const int &root) {
       ^
0_0_23260429_16839.cpp:23:7: note: 'void dfs(int, int, const int&)' previously defined here
 void  dfs(int u, int depth, const int &root) { 
       ^
0_0_23260429_16839.cpp: In function 'int main()':
0_0_23260429_16839.cpp:177:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_23260429_16839.cpp:53: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-06-29 08:18:33, Gzip enabled