Cody

# Problem 44378. Five-dimensional maze

Solution 1373962

Submitted on 8 Dec 2017 by PowerPoint
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
maze = reshape([15 15 15 15 15 15 15 15 15 31], [1 1 1 1 10]); truth = reshape([1 2 3 4 5 6 7 8 9 10], [1 1 1 1 10]); assert(isequal(solve_maze5(maze), truth));

2   Pass
maze = reshape([28 28 30 28 30 30 29 30 28 29 29 30 31 29 28 29 30 30 31 29 29 28 30 29 29 29 28 30 31 29 29 30 29 31 29 29 30 30 28 31 30 29 28 30 31 30 30 29 30 29 28 31 30 29 28 30 29 29 28 31 29 28 30 31 30 29 30 31 29 29 29 29 28 30 30 31 28 30 31 29 29 31 29 28 29 28 31 30 30 29 30 30 31 31 30 30 30 30 30 31], [10 10 1 1 1]); truth = reshape([1 2 3 4 5 6 7 0 11 12 0 0 0 0 0 0 8 9 10 13 0 0 0 0 0 0 0 0 0 14 0 0 0 0 0 0 0 0 16 15 0 0 0 0 0 0 0 0 17 18 0 0 0 0 0 0 0 0 20 19 0 0 0 0 0 0 0 0 21 0 0 0 0 0 0 0 24 23 22 0 0 0 0 0 0 26 25 0 0 0 0 0 0 0 0 27 28 29 30 31], [10 10 1 1 1]); assert(isequal(solve_maze5(maze), truth));

3   Pass
maze = reshape([20 29 22 23 23 23 22 30 29 21 28 29 23 29 29 29 30 29 29 29 23 22 31 30 31 23 23 29 23 21 29 29 23 22 31 23 23 22 22 31 28 23 21 28 29 31 23 30 31 23 30 22 31 23 23 28 30 31 29 21 31 29 31 21 29 22 31 29 29 29 23 23 23 31 23 22 31 22 31 31 28 23 28 23 23 23 22 31 30 23 28 23 23 28 23 31 30 31 23 23 28 31 29 28 29 31 29 29 31 31 29 31 30 29 31 29 30 31 30 31 30 30 30 31 31], [5 5 1 5 1]); truth = reshape([1 2 0 0 0 0 3 0 0 0 13 14 0 0 0 12 15 16 0 0 11 18 17 0 0 0 0 0 0 0 0 4 0 0 0 0 5 0 0 0 9 8 25 28 29 10 19 26 27 30 0 0 0 0 0 0 0 0 0 0 0 6 0 0 0 0 7 24 0 0 0 20 23 0 31 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 21 22 0 32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 33], [5 5 1 5 1]); assert(isequal(solve_maze5(maze), truth));

4   Pass
maze = reshape([18 23 19 28 27 22 23 22 31 19 25 22 29 25 21 27 25 29 27 29 30 30 31 22 31 29 23 29 29 29 29 21 29 21 31 31 30 31 31 29 29 29 21 29 29 23 23 23 30 31 23 23 29 27 19 27 27 31 22 31 30 23 28 23 27 22 29 29 19 25 19 30 31 27 23 30 22 30 28 31 29 31 21 23 23 30 29 29 21 29 22 31 31 31 31 31 30 31 30 23 27 23 22 23 29 17 19 29 23 29 25 23 19 27 29 31 22 30 31 29 18 31 19 27 31 23 31 21 28 29 31 23 31 31 29 30 29 29 31 29 23 29 30 28 31 23 30 31 31 23 19 27 29 23 27 31 30 31 27 25 19 27 30 30 31 22 31 21 26 27 31 19 31 22 23 31 30 31 22 29 28 31 28 31 31 31 29 23 21 21 23 30 23 31 31 23 23 22 30 31 29 26 31 30 29 27 26 30 29 29 30 30 30 31 27 29 26 31 25 25 30 31 27 31 31 30 30 28 31 29 30 31 30 30 31 28 29 30 31 31 31 31 30 31 29 30 31 30 30 31], [5 5 2 5 1]); truth = reshape([1 2 0 0 0 0 0 0 0 0 0 24 23 0 0 0 19 22 0 0 0 20 21 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18 13 0 0 0 17 14 0 0 0 3 0 0 0 0 0 0 0 0 0 25 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10 0 0 0 0 11 0 0 0 0 12 0 0 0 16 15 0 0 0 4 0 0 0 0 0 0 0 0 0 26 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8 0 0 0 0 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 0 0 0 0 0 0 0 0 0 27 0 0 0 0 0 0 0 0 0 0 0 35 36 0 6 7 0 0 0 0 0 0 0 0 28 0 0 0 0 29 30 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 33 38 0 0 0 34 37 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 31 32 39 0 0 0 0 40], [5 5 2 5 1]); assert(isequal(solve_maze5(maze), truth));

5   Pass
maze = reshape([21 5 22 29 19 23 31 7 30 15 21 26 23 7 19 23 22 29 11 11 14 15 30 30 23 11 7 11 25 15 13 13 15 15 27 23 31 28 29 27 13 14 31 31 15 23 14 23 30 19 30 30 31 29 25 7 14 29 23 31 25 27 30 29 23 30 29 12 31 19 7 23 31 19 11 28 30 15 26 27 15 13 25 26 23 27 23 23 28 15 19 20 23 27 15 7 31 19 23 27 28 23 22 31 15 30 23 29 30 15 15 28 31 23 21 23 30 23 29 23 22 15 15 23 23 26 15 23 7 29 23 28 31 25 15 23 27 27 31 23 29 23 14 29 25 23 7 15 23 31 27 30 15 25 21 28 23 19 31 15 31 27 23 19 23 22 30 30 27 15 30 15 27 7 23 30 27 26 31 25 23 19 30 31 23 29 29 14 31 27 23 30 23 15 23 23 23 30 31 19 7 23 23 25 27 26 27 23 13 23 21 31 23 27 15 31 15 29 26 23 15 19 31 23 15 29 23 30 31 15 31 31 7 28 31 14 23 13 23 15 29 21 31 30 31 31 31 23 30 31 26 27 25 31 21 15 21 31 28 31 15 23 21 29 29 26 31 29 27 29 30 31 27 15 15 27 23 23 13 27 25 23 23 29 19 30 27 27 31 19 31 28 27 15 29 15 23 23 23 15 15 26 31 5 15 31 30 15 29 31 26 31 30 31 29 15 13 31 17 31 27 31 27 15 15 27 31 30 30 27 11 13 23 19 29 31 27 29 14 31 28 29 27 27 15 31 31 27 30 23 30 31 15 13 15 15 15 29 31 13 13 31 15 31 29 29 29 23 23 23 15 23 30 23 7 22 27 7 19 29 25 30 30 30 31 23 29 23 30 25 11 29 7 22 31 26 31 26 30 27 29 31 27 28 27 15 15 27 27 27 28 30 27 19 31 31 14 15 27 21 30 31 31 23 31 19 28 31 27 15 21 21 23 31 29 27 31 29 23 15 22 29 29 31 25 27 23 15 7 15 29 25 13 30 29 15 27 21 27 23 30 15 29 26 23 28 29 15 22 31 27 23 3 14 31 13 15 14 30 29 29 15 23 23 29 31 14 30 31 23 22 23 15 15 29 23 15 23 15 31 15 30 28 30 29 28 27 31 11 27 31 13 30 15 11 13 28 31 15 11 15 27 14 30 15 28 27 28 15 11 30 31 15 29 13 28 30 27 31 31 30 30 30 27 31 30 31 26 31 15 15 29 28 15 27 25 31 31 13 13 31 26 31 31 29 29 27 26 31 29 27 30 31 30 31 25 28 27 30 31 31 27 27 28 31 26 31 26 31 15 26 29 30 31 27 15 31 31 14 27 29 15 15 14 15 30 31 31 29 15 30 15 30 31 15 31 29 30 30 15 15 15 15 14 31 25 30 30 18 31 15 21 23 14 31 7 30 29 15 13 14 27 27 23 31 23 27 7 26 27 31 27 23 31 29 29 15 15 15 29 30 15 19 21 15 29 31 29 29 27 15 31 23 31 23 21 29 13 22 15 31 31 27 25 11 14 29 29 22 31 28 31 31 11 27 31 14 30 30 31 7 22 31 25 13 23 25 27 23 31 25 23 25 22 31 29 28 31 27 31 31 27 30 26 15 21 23 21 29 15 15 23 31 15 23 31 13 30 30 23 28 31 21 15 13 23 31 31 22 31 19 31 7 30 23 26 31 30 29 15 30 15 22 31 15 19 28 31 30 23 23 31 26 31 7 15 7 27 14 29 29 26 30 27 31 23 26 31 23 25 30 30 14 31 31 26 31 27 30 31 23 11 31 15 21 7 23 28 31 23 26 31 31 31 27 26 30 30 31 25 30 23 31 14 31 31 31 21 26 15 30 30 31 31 7 15 23 28 31 31 15 29 27 13 15 15 30 30 31 27 29 23 29 29 15 23 23 31 30 31 30 23 30 29 31 28 31 31 15 15 15 14 15 31 15 30 23 27 7 17 30 15 19 13 31 27 7 23 30 23 31 22 27 29 27 30 23 22 31 31 22 31 23 15 15 22 29 15 19 11 31 23 19 30 29 22 23 27 23 31 19 19 22 15 31 31 11 19 31 31 31 29 30 31 31 19 29 29 14 29 29 31 31 25 29 31 31 19 31 31 27 29 31 11 19 29 31 28 30 31 31 29 23 30 15 14 29 13 23 29 7 27 31 14 31 22 30 31 31 31 31 15 7 13 15 15 29 30 31 23 7 23 15 14 15 15 31 14 15 23 21 23 31 27 27 30 23 27 28 27 27 27 15 29 27 27 29 21 30 27 27 31 31 14 27 15 11 23 27 23 31 23 27 23 15 15 31 30 15 23 31 31 15 23 27 15 27 30 30 31 25 27 30 31 23 30 29 30 27 27 15 30 27 14 31 14 23 27 13 27 7 27 31 31 23 15 27 23 19 15 29 22 30 31 25 27 23 31 25 27 21 7 23 31 23 31 15 27 15 15 21 31 15 29 15 15 29 29 15 7 15 31 29 23 29 30 31 31 23 7 14 31 30 15 15 31 30 30 30 29 25 15 11 15 15 27 29 29 29 31 30 31 31 31 15 15 14 31 11 27 28 27 27 29 29 31 27 31 31 31 29 28 30 29 15 27 30 29 31 9 14 27 27 15 31 15 15 30 31 27 11 29 13 15 29 13 30 31 25 15 31 30 30 31 29 15 30 31 11 31 13 14 31 30 31 31 15 28 30 29 26 31 27 27 15 30 31 30 15 29 15 30 11 31 27 29 14 31 29 15 31 14 29 15 31 30 31 31 31 15 28 30 30 31 15 31 15 31 30 31 7 28 30 15 13 15 30 23 15 15 15 21 21 30 31 29 23 27 7 27 23 23 23 22 15 24 30 29 19 21 21 15 31 27 23 31 30 29 28 31 22 15 31 29 29 30 23 30 23 23 31 11 27 15 23 25 28 15 29 29 31 30 23 29 29 23 11 19 31 27 19 27 19 26 27 23 23 29 7 23 23 7 30 29 9 30 11 15 23 15 25 27 30 15 15 31 27 15 27 31 14 30 29 14 31 29 13 29 29 31 23 31 15 23 7 30 31 21 23 15 23 15 30 31 15 30 27 30 15 19 22 27 30 28 31 13 31 29 30 31 29 27 30 31 13 31 30 27 23 31 27 31 21 31 31 27 15 27 14 31 22 15 11 25 19 30 31 27 30 23 19 23 30 31 15 23 29 26 31 29 15 27 30 29 15 28 27 31 31 27 23 21 14 30 29 31 23 23 23 15 29 30 31 27 31 31 31 19 26 31 15 15 28 31 23 30 29 23 29 23 30 31 26 31 23 22 29 29 29 29 28 31 29 31 15 31 22 31 30 29 14 30 31 31 31 31 23 31 14 31 11 15 11 23 29 30 31 22 31 23 29 29 19 24 27 26 31 22 31 13 26 15 14 31 31 30 29 31 23 11 13 30 31 14 31 31 7 23 31 31 14 31 11 25 27 31 15 23 31 19 27 15 7 13 19 28 15 25 15 7 30 27 27 27 15 30 31 15 23 15 14 31 27 30 31 27 19 29 29 31 21 7 31 30 23 30 31 27 27 31 30 29 31 13 15 27 15 27 31 7 31 15 7 22 29 7 29 15 15 31 23 31 29 15 13 15 30 15 23 31 31 23 31 30 23 29 11 7 30 27 11 27 27 25 15 28 23 31 15 19 15 28 31 11 13 11 30 23 30 31 27 31 27 30 31 11 7 29 29 23 29 15 31 31 29 29 22 31 23 15 15 14 11 19 23 30 23 30 27 23 31 19 22 15 29 23 21 21 15 29 30 15 15 31 29 27 30 31 30 31 23 30 29 15 15 29 31 29 21 15 30 23 15 27 11 21 27 22 30 25 31 23 7 23 31 14 23 31 15 29 15 14 23 23 15 31 23 14 31 23 7 23 7 15 31 15 15 30 15 31 13 11 27 13 13 30 31 29 31 31 14 31 15 11 27 28 30 28 31 15 31 15 31 30 27 25 29 30 29 27 15 31 14 31 15 28 30 30 31 31 27 29 27 15 31 15 30 27 31 31 31 31 26 29 29 30 31 31 31 15 31 31 27 26 31 27 25 30 27 11 30 31 15 30 15 31 31 30 30 15 30 30 15 30 27 14 31 30 31 31 31 29 14 31 15 15 31 31 27 27 13 31 28 15 15 30 31 31 31 15 14 31 13 13 31 29 15 31 15 29 30 31 14 31 31 30 27 21 30 31 30 29 27 30 31 23 29 28 15 21 21 15 30 31 29 15 22 15 11 31 25 27 11 30 25 27 27 15 13 15 11 26 31 27 7 22 31 25 26 29 22 30 31 27 15 23 31 27 27 21 29 23 27 30 27 31 27 14 31 7 28 31 15 26 31 15 7 23 30 15 28 31 29 31 25 25 23 31 13 31 27 14 31 15 31 26 15 7 31 27 19 19 23 11 7 30 15 13 15 29 30 7 30 23 15 23 14 31 21 15 15 22 30 31 31 15 31 7 30 15 30 7 29 30 27 26 27 30 29 13 31 22 29 23 31 30 31 27 19 27 22 31 26 15 15 14 30 30 23 15 23 31 26 31 25 22 31 27 11 31 29 25 30 31 27 31 15 23 22 27 30 30 15 19 31 25 29 23 7 31 29 27 23 27 27 29 29 29 28 31 15 31 31 23 31 21 13 21 29 19 31 31 29 23 21 29 31 23 15 31 27 28 31 26 15 27 31 15 26 31 21 7 14 30 31 29 20 30 31 15 31 31 13 30 29 31 29 30 31 29 30 31 23 31 15 27 11 15 22 23 14 27 15 7 15 25 30 29 29 11 23 28 31 31 27 27 31 30 30 15 23 31 22 31 31 31 23 21 30 29 31 29 30 23 31 27 30 31 22 15 15 30 31 15 19 14 31 29 31 13 22 31 31 31 31 25 27 23 25 19 31 11 30 31 27 27 27 22 31 23 26 31 27 19 27 15 30 23 15 27 30 15 29 15 31 7 27 30 31 31 27 15 30 22 27 31 31 31 15 15 14 31 30 31 15 14 29 13 30 31 15 31 31 7 29 30 15 30 23 23 22 31 27 15 27 15 21 28 31 7 15 15 15 23 13 31 13 25 23 31 23 31 22 30 23 30 27 31 11 15 15 31 30 15 25 14 31 22 31 27 26 29 23 31 27 15 31 23 11 23 22 31 21 15 19 29 14 31 23 23 23 7 15 29 15 23 29 30 31 27 14 31 15 23 23 28 30 23 29 31 29 19 27 29 15 23 25 29 31 15 29 15 27 14 31 30 30 31 31 7 30 30 30 31 7 29 31 29 13 29 23 29 31 23 23 15 29 31 31 7 23 31 7 31 15 31 15 26 31 15 13 29 13 30 31 31 29 31 31 13 29 30 30 31 31 15 27 30 27 31 11 28 31 28 15 27 29 27 29 15 13 15 27 15 13 29 25 15 30 31 31 31 15 15 15 31 25 30 15 15 29 30 31 29 31 31 29 27 27 25 25 31 28 27 31 14 31 31 27 31 28 31 15 13 29 27 15 30 31 15 31 15 30 31 15 15 13 11 27 15 30 31 14 31 15 29 28 29 29 31 31 15 31 15 15 31 14 31 31 31 28 31 31 31 29 31 15 31 14 31 30 18 22 30 31 26 23 22 30 25 22 29 26 31 31 19 31 28 30 23 26 31 31 27 23 25 29 23 22 27 31 31 23 27 31 30 30 31 27 29 23 21 22 27 27 22 30 23 30 31 27 26 29 26 31 29 25 23 30 27 29 29 29 27 23 27 23 31 23 23 30 31 26 30 31 29 23 28 31 19 27 23 29 23 23 26 23 27 30 23 28 27 30 27 27 23 23 30 27 23 22 31 31 30 31 23 31 22 29 29 29 23 29 29 29 31 31 23 31 23 30 30 31 31 23 21 31 29 28 23 29 27 31 27 27 31 25 25 22 27 29 23 30 29 23 30 23 19 31 27 29 25 23 21 27 27 31 23 31 23 21 29 23 23 23 31 31 23 30 23 27 27 31 22 23 25 29 27 26 31 31 27 30 31 23 21 22 23 26 31 23 27 22 31 23 31 30 27 26 27 27 31 30 31 23 23 31 28 31 27 19 31 21 31 29 25 27 31 21 31 30 31 31 31 31 31 30 31 22 23 29 21 30 29 31 31 31 23 29 23 31 29 29 29 23 22 31 30 31 31 27 29 30 29 21 23 29 29 31 23 28 31 29 23 23 29 23 29 19 23 23 23 30 31 23 29 22 31 27 19 29 25 29 28 31 31 29 31 31 21 21 23 30 31 31 31 26 23 31 27 23 19 30 31 31 28 31 22 27 19 31 29 29 21 25 29 31 31 31 31 30 31 27 26 31 23 30 30 23 29 18 31 25 31 31 30 31 31 23 23 29 29 22 31 21 27 30 30 31 19 22 23 23 31 31 31 29 23 29 23 30 31 31 30 21 30 30 30 31 31 31 23 30 22 31 26 30 29 27 31 31 28 31 29 31 21 31 29 27 31 29 23 30 31 23 31 23 26 23 23 27 27 19 31 31 23 26 30 31 25 23 25 19 27 31 27 31 26 23 25 23 19 31 30 31 31 31 23 29 29 21 31 23 27 31 27 31 31 21 29 27 29 29 23 31 27 27 31 30 19 29 26 29 30 23 31 25 30 31 27 29 27 19 23 31 31 29 30 31 31 23 31 22 23 31 23 31 30 30 23 28 31 29 29 31 23 23 31 29 29 23 23 28 31 31 22 31 31 30 31 30 27 30 27 27 30 29 29 26 29 29 27 30 29 31 29 27 28 31 29 31 27 30 31 31 29 30 30 31 31 31 26 30 31 29 31 31 30 31 31 28 31 27 30 29 31 31 27 27 31 28 30 31 27 27 31 30 31 29 25 25 26 30 31 27 30 27 30 31 29 30 27 30 31 31 26 30 31 31 31 28 31 27 25 31 31 31 27 31 31 31 31 31 25 27 27 27 31 31 27 31 28 28 30 31 30 31 29 31 29 29 31 31 29 29 31 29 28 31 31 31 30 31 30 31], [5 5 5 5 5]); truth = reshape([1 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 93 92 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 95 94 91 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 98 0 0 0 0 99 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 96 97 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0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 0 0 0 0 0 0 0 0 0 0 0 0 71 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 78 0 0 0 70 77 0 0 0 0 24 0 0 0 26 25 0 0 0 0 0 0 0 0 0 79 0 0 0 69 22 0 0 0 68 23 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 33 34 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 116 0 0 0 0 117 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 65 0 0 0 0 54 57 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 66 67 0 43 42 55 56 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 36 0 0 41 32 35 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 38 37 0 0 40 39 122 123], [5 5 5 5 5]); assert(isequal(solve_maze5(maze), truth));

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!