Note: This article is available in Chinese only. 本文暂无英文版本。
View original
hdu 1242 Rescue(bfs+优先队列)
Related
codeforces 520 B. Two Buttons (bfs)
做过一道类似的题
因为是问最短,很容易想到是bfs
对于点x,可以到达点x-1,和点2*x
poj 2688 Cleaning Robot (tsp问题)
______
好蠢,竟然没看出来这道题的不同之处,以为就是个搜
然后样例什么的都过了…