开了10倍大的数组还是三个点RE

P3366 【模板】最小生成树

把 ``` for(i=1;i<=m;i++) { scanf("%d%d%d",&bian[i].start,&bian[i].to,&bian[i].val); f[i]=i; } ``` 改成 ``` for(i=1;i<=n;i++) f[i]=i; for(i=1;i<=m;i++) scanf("%d%d%d",&bian[i].start,&bian[i].to,&bian[i].val); ```
by lrj124 @ 2018-05-27 09:24:42


@[哥66666](/space/show?uid=58556)
by lrj124 @ 2018-05-27 09:44:46


lrj!!!
by star_magic_young @ 2018-05-27 10:22:56


哦,谢谢了
by 哥66666 @ 2018-05-27 13:45:35


刘汝佳!!!
by yqh123 @ 2018-07-03 20:47:10


|