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:1435778 frkstyc 72K 15MS GCC 5965B ---- frkstyc大牛怎么做到这么快的? Posted by:alpc04 at 2006-08-07 17:38:12 把输入字符串第i步的方向作为BFS第i层的优先方向先压入队列即可(有点估价函数的感觉) Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator