懵懂冷风

文章
3
资源
1
加入时间
3年1月15天

POJ-3278 Catch the cow(BFS)

Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a pointN (0 ≤ N ≤ 100,000) on a number line and the cow is at a point K (0 ≤ K ≤ 10