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()
^
|