Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- assert(pathExists(maze1, 10, 10, 8, 6, 1, 1));
- assert(!pathExists(maze2, 10, 10, 8, 6, 1, 1));
- assert(pathExists(maze3, 10, 10, 4, 3, 7, 1));
- assert(!pathExists(maze4, 10, 10, 4, 3, 7, 1));
- printMaze(maze1, 10, 10);
- printMaze(maze2, 10, 10);
- pathExists(maze5, 6, 6, 3, 2, 1, 2);
- findDirections(maze5, 6, 3, 2, 3, 1, 2);
- printMaze(maze5, 6, 6);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement