123141234123423412341234123412341234123412341234123412341234AA1A2AA1A2B1B2B3C1C2AA1A2B1B2B3C1C2D1D2D3E1AA1A2B1B2B3C2E2BD4E1F11234增量数组:dx=(1,2,2,1)dy=(-2,-1,1,2)若马所处的位置为(x,y),则其下一步可以到达的四个位置分别是(x+1,y-2),(x+2,y-1),(x+2,y+1),(x+1,y+2)。在使用增量数组后,只要知道方向t,下一步的位置就是(x+dxt,y+dyt)。123141234123423412341234123412341234123412341234123412341234123141234123423412341234123412341234123412341234123412341234123141234123423412341234123412341234123412341234123412341234