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 |
晕,原来用prim这题过不去...In Reply To:Re:who can tell me where I am wrong???help!! thx!! Posted by:a024014 at 2007-08-25 16:45:22 不妨,假设A有两条边,A->D,A->E,他们的权值一样, 则会先选择A->D,然后又选择D-X 假设权值为20,然而有可能,E->B有边而且权值也等于20,这样就出错了.因为B->E明显优于D->X这条边 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator