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