1. 首页
  2. 编程语言
  3. C
  4. Catch That Cow

Catch That Cow

上传者: 2019-09-05 23:58:04上传 TXT文件 1.46KB 热度 63次
FarmerJohnhasbeeninformedofthelocationofafugitivecowandwantstocatchherimmediately.HestartsatapointN(0≤N≤100,000)onanumberlineandthecowisatapointK(0≤K≤100,000)onthesamenumberline.FarmerJohnhastwomodesoftransportation:walkingandteleporting.*Walking:FJcanmovefromanypoi
用户评论