File size: 854 Bytes
45f037d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<Analysis> At the beginning:
- The player is at Row 1, Column 5;
- There are 1 holes, and they are at: Row 4, Column 3;
The current action is: Left
After this action, the player is now at Row 1, Column 4. There is no holes at this grid, so we move to next action.

The current action is: Down
After this action, the player is now at Row 2, Column 4. There is no holes at this grid, so we move to next action.

The current action is: Up
After this action, the player is now at Row 1, Column 4. There is no holes at this grid, so we move to next action.

The current action is: Down
After this action, the player is now at Row 2, Column 4. There is no holes at this grid, so we move to next action.

The current action is: Down
After this action, the player is now at Row 3, Column 4. There is no holes at this grid, so we move to next action.
<Output> Yes