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_17783399_2689.cpp:88:15: error: redefinition of 'std::vector<int> v [100005]'
 vector<int>v[N];
               ^
0_0_17783399_2689.cpp:10:12: note: 'std::vector<int> v [100005]' previously declared here
 vector<int>v[N];
            ^
0_0_17783399_2689.cpp:90:15: error: redefinition of 'int f [100005][10][2]'
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
               ^
0_0_17783399_2689.cpp:12:5: note: 'int f [100005][10][2]' previously declared here
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
     ^
0_0_17783399_2689.cpp:90:17: error: redefinition of 'int i'
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                 ^
0_0_17783399_2689.cpp:12:17: note: 'int i' previously declared here
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                 ^
0_0_17783399_2689.cpp:90:19: error: redefinition of 'int j'
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                   ^
0_0_17783399_2689.cpp:12:19: note: 'int j' previously declared here
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                   ^
0_0_17783399_2689.cpp:90:21: error: redefinition of 'int m'
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                     ^
0_0_17783399_2689.cpp:12:21: note: 'int m' previously declared here
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                     ^
0_0_17783399_2689.cpp:90:23: error: redefinition of 'int n'
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                       ^
0_0_17783399_2689.cpp:12:23: note: 'int n' previously declared here
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                       ^
0_0_17783399_2689.cpp:90:25: error: redefinition of 'int p'
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                         ^
0_0_17783399_2689.cpp:12:25: note: 'int p' previously declared here
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                         ^
0_0_17783399_2689.cpp:90:27: error: redefinition of 'int k'
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                           ^
0_0_17783399_2689.cpp:12:27: note: 'int k' previously declared here
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                           ^
0_0_17783399_2689.cpp:90:33: error: redefinition of 'int fa [100005]'
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                                 ^
0_0_17783399_2689.cpp:12:29: note: 'int fa [100005]' previously declared here
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                             ^
0_0_17783399_2689.cpp:90:42: error: redefinition of 'int R [10][2]'
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                                          ^
0_0_17783399_2689.cpp:12:35: note: 'int R [10][2]' previously declared here
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                                   ^
0_0_17783399_2689.cpp:90:44: error: redefinition of 'int l'
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                                            ^
0_0_17783399_2689.cpp:12:44: note: 'int l' previously declared here
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                                            ^
0_0_17783399_2689.cpp:90:46: error: redefinition of 'int T'
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                                              ^
0_0_17783399_2689.cpp:12:46: note: 'int T' previously declared here
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                                              ^
0_0_17783399_2689.cpp:90:48: error: redefinition of 'int x'
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                                                ^
0_0_17783399_2689.cpp:12:48: note: 'int x' previously declared here
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                                                ^
0_0_17783399_2689.cpp:90:50: error: redefinition of 'int y'
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                                                  ^
0_0_17783399_2689.cpp:12:50: note: 'int y' previously declared here
 int f[N][10][2],i,j,m,n,p,k,fa[N],R[10][2],l,T,x,y;
                                                  ^
0_0_17783399_2689.cpp: In function 'void add(int, int)':
0_0_17783399_2689.cpp:92:6: error: redefinition of 'void add(int, int)'
 void add(int x,int y)
      ^
0_0_17783399_2689.cpp:14:6: note: 'void add(int, int)' previously defined here
 void add(int x,int y)
      ^
0_0_17783399_2689.cpp: In function 'void up(int&, int)':
0_0_17783399_2689.cpp:97:6: error: redefinition of 'void up(int&, int)'
 void up(int &x,int y)
      ^
0_0_17783399_2689.cpp:19:6: note: 'void up(int&, int)' previously defined here
 void up(int &x,int y)
      ^
0_0_17783399_2689.cpp: In function 'void dfs(int)':
0_0_17783399_2689.cpp:102:6: error: redefinition of 'void dfs(int)'
 void dfs(int x)
      ^
0_0_17783399_2689.cpp:24:6: note: 'void dfs(int)' previously defined here
 void dfs(int x)
      ^
0_0_17783399_2689.cpp: In function 'int read()':
0_0_17783399_2689.cpp:128:12: error: redefinition of 'int read()'
 inline int read()
            ^
0_0_17783399_2689.cpp:50:12: note: 'int read()' previously defined here
 inline int read()
            ^
0_0_17783399_2689.cpp: In function 'int main()':
0_0_17783399_2689.cpp:138:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_17783399_2689.cpp:60: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-28 15:15:51, Gzip enabled