-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
34 lines (18 loc) · 1.39 KB
/
Program.cs
File metadata and controls
34 lines (18 loc) · 1.39 KB
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
// var reuslt1 = NearestExitFromEntranceInMaze.NearestExit([['+', '+', '.', '+'], ['.', '.', '.', '+'], ['+', '+', '+', '.']], [1, 2]);
// Console.WriteLine(reuslt1);
// var reuslt2 = NearestExitFromEntranceInMaze.NearestExit([['+', '+', '+'], ['.', '.', '.'], ['+', '+', '+']], [1, 0]);
// Console.WriteLine(reuslt2);
// var reuslt3 = NearestExitFromEntranceInMaze.NearestExit([['.','+','+','+','+'],
// ['.','+','.','.','.'],
// ['.','+','.','+','.'],
// ['.','.','.','+','.'],
// ['+','+','+','+','.']],
// [0, 0]);
// Console.WriteLine(reuslt3);
var reuslt4 = NearestExitFromEntranceInMaze.NearestExit([[ '+', '.', '+', '+', '+', '+', '+' ],
[ '+', '.', '+', '.', '.', '.', '+' ],
[ '+', '.', '+', '.', '+', '.', '+' ],
[ '+', '.', '.', '.', '.', '.', '+' ],
['+', '+', '+', '+', '.', '+', '.' ]],
[0, 1]);
Console.WriteLine(reuslt4);