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_30739577_22736.cpp:76:11: error: redefinition of 'const int maxn'
 const int maxn=100005;
           ^
0_0_30739577_22736.cpp:3:11: note: 'const int maxn' previously defined here
 const int maxn=100005;
           ^
0_0_30739577_22736.cpp:77:8: error: redefinition of 'struct Node'
 struct Node
        ^
0_0_30739577_22736.cpp:4:8: error: previous definition of 'struct Node'
 struct Node
        ^
0_0_30739577_22736.cpp:82:21: error: redefinition of 'std::vector<Node> v [100005]'
 vector <Node> v[maxn];
                     ^
0_0_30739577_22736.cpp:9:15: note: 'std::vector<Node> v [100005]' previously declared here
 vector <Node> v[maxn];
               ^
0_0_30739577_22736.cpp:83:13: error: redefinition of 'int vis [100005]'
 int vis[maxn];
             ^
0_0_30739577_22736.cpp:10:5: note: 'int vis [100005]' previously declared here
 int vis[maxn];
     ^
0_0_30739577_22736.cpp:84:5: error: redefinition of 'int ans'
 int ans,dis[maxn];
     ^
0_0_30739577_22736.cpp:11:5: note: 'int ans' previously declared here
 int ans,dis[maxn];
     ^
0_0_30739577_22736.cpp:84:17: error: redefinition of 'int dis [100005]'
 int ans,dis[maxn];
                 ^
0_0_30739577_22736.cpp:11:9: note: 'int dis [100005]' previously declared here
 int ans,dis[maxn];
         ^
0_0_30739577_22736.cpp:85:5: error: redefinition of 'int qd'
 int qd,i;
     ^
0_0_30739577_22736.cpp:12:5: note: 'int qd' previously declared here
 int qd,i;
     ^
0_0_30739577_22736.cpp:85:8: error: redefinition of 'int i'
 int qd,i;
        ^
0_0_30739577_22736.cpp:12:8: note: 'int i' previously declared here
 int qd,i;
        ^
0_0_30739577_22736.cpp: In function 'int ss(int)':
0_0_30739577_22736.cpp:86:5: error: redefinition of 'int ss(int)'
 int ss(int x)
     ^
0_0_30739577_22736.cpp:13:5: note: 'int ss(int)' previously defined here
 int ss(int x)
     ^
0_0_30739577_22736.cpp: In function 'int main()':
0_0_30739577_22736.cpp:115:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_30739577_22736.cpp:42: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-23 01:03:08, Gzip enabled