本帖最后由 lsr314 于 2020-5-19 17:01 编辑
将最左边的作为x轴,最右边的作为y轴,最上面的顶点A标记为{0,0},B标记为{1,0},B右边的为{0,1},以此类推。
8步有37种,路径如下:
序号 路径
1 {{1,0},{2,0},{3,0},{4,0},{3,1},{2,1},{1,1},{0,1},{0,0}}
2 {{1,0},{2,0},{3,0},{3,1},{2,1},{1,1},{0,2},{0,1},{0,0}}
3 {{1,0},{2,0},{3,0},{3,1},{2,1},{1,2},{0,2},{0,1},{0,0}}
4 {{1,0},{2,0},{3,0},{3,1},{2,1},{1,2},{1,1},{0,1},{0,0}}
5 {{1,0},{2,0},{3,0},{3,1},{2,2},{1,2},{0,2},{0,1},{0,0}}
6 {{1,0},{2,0},{3,0},{3,1},{2,2},{1,2},{1,1},{0,1},{0,0}}
7 {{1,0},{2,0},{3,0},{3,1},{2,2},{2,1},{1,1},{0,1},{0,0}}
8 {{1,0},{2,0},{3,0},{2,1},{1,1},{1,2},{0,2},{0,1},{0,0}}
9 {{1,0},{2,0},{3,0},{2,1},{2,2},{1,2},{0,2},{0,1},{0,0}}
10 {{1,0},{2,0},{3,0},{2,1},{2,2},{1,2},{1,1},{0,1},{0,0}}
11 {{1,0},{2,0},{3,0},{2,1},{1,2},{0,2},{1,1},{0,1},{0,0}}
12 {{1,0},{2,0},{3,0},{2,1},{1,2},{1,1},{0,2},{0,1},{0,0}}
13 {{1,0},{2,0},{3,0},{2,1},{1,2},{0,3},{0,2},{0,1},{0,0}}
14 {{1,0},{2,0},{2,1},{3,1},{2,2},{1,2},{0,2},{0,1},{0,0}}
15 {{1,0},{2,0},{2,1},{3,1},{2,2},{1,2},{1,1},{0,1},{0,0}}
16 {{1,0},{2,0},{2,1},{1,1},{1,2},{0,3},{0,2},{0,1},{0,0}}
17 {{1,0},{2,0},{2,1},{2,2},{1,2},{0,2},{1,1},{0,1},{0,0}}
18 {{1,0},{2,0},{2,1},{2,2},{1,2},{1,1},{0,2},{0,1},{0,0}}
19 {{1,0},{2,0},{2,1},{2,2},{1,2},{0,3},{0,2},{0,1},{0,0}}
20 {{1,0},{2,0},{2,1},{2,2},{1,3},{0,3},{0,2},{0,1},{0,0}}
21 {{1,0},{2,0},{2,1},{2,2},{1,3},{1,2},{0,2},{0,1},{0,0}}
22 {{1,0},{2,0},{2,1},{2,2},{1,3},{1,2},{1,1},{0,1},{0,0}}
23 {{1,0},{2,0},{2,1},{1,2},{1,3},{0,3},{0,2},{0,1},{0,0}}
24 {{1,0},{2,0},{2,1},{1,2},{0,3},{0,2},{1,1},{0,1},{0,0}}
25 {{1,0},{2,0},{1,1},{2,1},{2,2},{1,2},{0,2},{0,1},{0,0}}
26 {{1,0},{2,0},{1,1},{2,1},{1,2},{0,3},{0,2},{0,1},{0,0}}
27 {{1,0},{2,0},{1,1},{1,2},{1,3},{0,3},{0,2},{0,1},{0,0}}
28 {{1,0},{1,1},{2,1},{3,1},{2,2},{1,2},{0,2},{0,1},{0,0}}
29 {{1,0},{1,1},{2,1},{2,2},{1,2},{0,3},{0,2},{0,1},{0,0}}
30 {{1,0},{1,1},{2,1},{2,2},{1,3},{0,3},{0,2},{0,1},{0,0}}
31 {{1,0},{1,1},{2,1},{2,2},{1,3},{1,2},{0,2},{0,1},{0,0}}
32 {{1,0},{1,1},{2,1},{1,2},{1,3},{0,3},{0,2},{0,1},{0,0}}
33 {{1,0},{1,1},{1,2},{2,2},{1,3},{0,3},{0,2},{0,1},{0,0}}
34 {{1,0},{1,1},{1,2},{1,3},{0,4},{0,3},{0,2},{0,1},{0,0}}
35 {{1,0},{1,1},{2,0},{3,0},{2,1},{1,2},{0,2},{0,1},{0,0}}
36 {{1,0},{1,1},{2,0},{2,1},{2,2},{1,2},{0,2},{0,1},{0,0}}
37 {{1,0},{1,1},{2,0},{2,1},{1,2},{0,3},{0,2},{0,1},{0,0}}
|