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:kaitian5201314 at 2010-09-06 19:29:35 > 所以要先BFS一遍吧所有可行解记录在hash中,然后在直接查找就行了,O(1)的复杂度啊~~~ > 刚开始就是直接的BFS,TLE了...杯具 所谓的反向广搜。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator