-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathass2-test1.txt
43 lines (43 loc) · 1.01 KB
/
ass2-test1.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
==STAGE 0=======================================
The grid has 10 rows and 10 columns.
The grid has 3 block(s).
The initial cell in the grid is [0,0].
The goal cell in the grid is [9,9].
The proposed route in the grid is:
[0,0]->[0,1]->[0,2]->[0,3]->[0,4]->
[1,4]->[2,4]->[3,4]->[4,4]->[5,4]->
[6,4]->[7,4]->[8,4]->[9,4]->[9,5]->
[9,6]->[9,7]->[9,8]->[9,9].
There is a block on this route!
==STAGE 1=======================================
0123456789
0I****
1 *
2 *
3 *
4 *
5 ###
6 *
7 *
8 *
9 *****G
------------------------------------------------
0123456789
0I****
1 *
2 *
3 *
4 ***
5 *###
6 ***
7 *
8 *
9 *****G
------------------------------------------------
[0,0]->[0,1]->[0,2]->[0,3]->[0,4]->
[1,4]->[2,4]->[3,4]->[4,4]->[4,3]->
[4,2]->[5,2]->[6,2]->[6,3]->[6,4]->
[7,4]->[8,4]->[9,4]->[9,5]->[9,6]->
[9,7]->[9,8]->[9,9].
The route is valid!
================================================