Catch That Cow POJ - 3278 [bfs][最短路]Catch That CowInputOutputSample InputSample OutputHint
Catch That Cow 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