-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathout.txt
106 lines (106 loc) · 1.88 KB
/
out.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
==========
Task1
==========
9 1,2,3,4,5,6,7,8,9
8 1,3,4,5,6,7,8,9
7 3,4,5,6,7,8,9
6 3,4,5,6,7,8
5 3,5,6,7,8
==========
Task2
==========
### Print Board ###
---------------------
| - 6 2 | - - - |
| 3 - - | - - - |
---------------------
| 6 - 3 | - 5 - |
| - 5 - | 4 - 3 |
---------------------
| - - - | - - 6 |
| - - - | 3 4 - |
---------------------
### testLinks ###
Rows forward
Row 0 0 1 2 3 4 5
Row 1 6 7 8 9 10 11
Row 2 12 13 14 15 16 17
Row 3 18 19 20 21 22 23
Row 4 24 25 26 27 28 29
Row 5 30 31 32 33 34 35
Cols forward
Col 0 0 6 12 18 24 30
Col 1 1 7 13 19 25 31
Col 2 2 8 14 20 26 32
Col 3 3 9 15 21 27 33
Col 4 4 10 16 22 28 34
Col 5 5 11 17 23 29 35
Blocks
Block 0 0 1 2 6 7 8
Block 1 3 4 5 9 10 11
Block 2 12 13 14 18 19 20
Block 3 15 16 17 21 22 23
Block 4 24 25 26 30 31 32
Block 5 27 28 29 33 34 35
### testCells ###
Cell Coord Block toString
0 (0,0) 0 -
1 (0,1) 0 6
2 (0,2) 0 2
3 (0,3) 1 -
4 (0,4) 1 -
5 (0,5) 1 -
6 (1,0) 0 3
7 (1,1) 0 -
8 (1,2) 0 -
9 (1,3) 1 -
10 (1,4) 1 -
11 (1,5) 1 -
12 (2,0) 2 6
13 (2,1) 2 -
14 (2,2) 2 3
15 (2,3) 3 -
16 (2,4) 3 5
17 (2,5) 3 -
18 (3,0) 2 -
19 (3,1) 2 5
20 (3,2) 2 -
21 (3,3) 3 4
22 (3,4) 3 -
23 (3,5) 3 3
24 (4,0) 4 -
25 (4,1) 4 -
26 (4,2) 4 -
27 (4,3) 5 -
28 (4,4) 5 -
29 (4,5) 5 6
30 (5,0) 4 -
31 (5,1) 4 -
32 (5,2) 4 -
33 (5,3) 5 3
34 (5,4) 5 4
35 (5,5) 5 -
==========
Task3
==========
---------------------
| - 6 2 | - - - |
| 3 - - | - - - |
---------------------
| 6 - 3 | - 5 - |
| - 5 - | 4 - 3 |
---------------------
| - - - | - - 6 |
| - - - | 3 4 - |
---------------------
Number of moves: 24
---------------------
| 4 6 2 | 5 3 1 |
| 3 1 5 | 6 2 4 |
---------------------
| 6 4 3 | 1 5 2 |
| 2 5 1 | 4 6 3 |
---------------------
| 5 3 4 | 2 1 6 |
| 1 2 6 | 3 4 5 |
---------------------