Cody

Problem 2176. Which way to go?

Solution 402323

Submitted on 12 Feb 2014
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   Fail
%% m=2 n=2 y_correct =6; assert(isequal(wayz_in_maze(m,n),y_correct))

Error: Output argument "y" (and maybe others) not assigned during call to "/users/msssytem8/wayz_in_maze.m>wayz_in_maze".

2   Fail
%% m=3 n=4 y_correct =35; assert(isequal(wayz_in_maze(m,n),y_correct))

Error: Output argument "y" (and maybe others) not assigned during call to "/users/msssytem8/wayz_in_maze.m>wayz_in_maze".

3   Fail
%% m=5 n=6 y_correct =462; assert(isequal(wayz_in_maze(m,n),y_correct))

Error: Output argument "y" (and maybe others) not assigned during call to "/users/msssytem8/wayz_in_maze.m>wayz_in_maze".

Suggested Problems

More from this Author12

Community Treasure Hunt

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

Start Hunting!