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 |
我知道原因了。。。= =In Reply To:Re:ISAP如果一开始bfs就错!为什么 Posted by:151052 at 2016-07-07 17:21:04 是这样的,bfs前,我把d值全部初始化为-1用来标记"还没有搜过",事实上不能用-1来标记,要用正无穷来标记! Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator