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:?.?In Reply To:?.? Posted by:humanjustic at 2006-12-03 19:51:10 > 没啊,我比较傻,保存了从一个顶点到另一顶点的所有边,反正边的总数才10000.. > 然后从小到大排序,接着BFS... bfs的时候要保证一下顺序吧,你的具体逻辑我不清楚,不过做成a*的样子是可以的 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator