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:KM()为什么这样写超时?求解释~~In Reply To:KM()为什么这样写超时?求解释~~ Posted by:luxiuyuan at 2011-04-18 21:52:40 个人觉得:这样写每次找出来的slack值是不对的,会偏小。因为对于当前visy[y]=0的Y中的点,visy[y]可能会在后来变为1,但是你在dfs的过程中因为当前visy[y]是0而更新了slack的值。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator