Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
费解……同样自己编的Kruscal+并查,先WA了N次,后来就AC了,不知道为啥题目很恶 1,从样例看,貌似只要最长边最小,不是最小(可以是第二小)生成树也可 2,Kruscal的话,貌似输出应该按原来给的顺序,不是从小到大,但好像有没这么干的过了,但我没过…… WA到AC,不知道为啥…… Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator