【HDU - 2717】【POJ - 3278】Catch That Cow (经典bfs,类似dp)
题干:Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on a number line and the cow is at a point K (0 ≤ K ≤ ...