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_24623766_11880.cpp:140:16: error: conflicting declaration 'int id [1101]'
 int pre[M],id[M],vis[M],in[M];
                ^
0_0_24623766_11880.cpp:16:14: note: previous declaration as 'int id [1005]'
 int fa[maxn],id[maxn],val[maxn],vis[maxn];
              ^
0_0_24623766_11880.cpp:140:23: error: conflicting declaration 'int vis [1101]'
 int pre[M],id[M],vis[M],in[M];
                       ^
0_0_24623766_11880.cpp:16:33: note: previous declaration as 'int vis [1005]'
 int fa[maxn],id[maxn],val[maxn],vis[maxn];
                                 ^
0_0_24623766_11880.cpp:141:7: error: redefinition of 'int m'
 int n,m,X,Y,Z;
       ^
0_0_24623766_11880.cpp:18:8: note: 'int m' previously declared here
 int np,m,ans;   // ans有向生成树的最小权值 m所有边的总数   np树中的节点数 
        ^
0_0_24623766_11880.cpp: In function 'int main()':
0_0_24623766_11880.cpp:205:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_24623766_11880.cpp:79: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-09-29 13:18:59, Gzip enabled