Cody

# Problem 44066. Number of paths on a 3d grid

Solution 1953381

Submitted on 30 Sep 2019
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 ; l = 5; y_correct = 30; assert(isequal(count3dPath(m,n,l),y_correct))

Error using count3dPath Too many input arguments. Error in Test1 (line 3) assert(isequal(count3dPath(m,n,l),y_correct))

2   Fail
m = 8; n = 5 ; l = 2; y_correct = 3960; assert(isequal(count3dPath(m,n,l),y_correct))

Error using count3dPath Too many input arguments. Error in Test2 (line 3) assert(isequal(count3dPath(m,n,l),y_correct))

3   Fail
m = 5; n = 5 ; l = 10; y_correct = 1701700; assert(isequal(count3dPath(m,n,l),y_correct))

Error using count3dPath Too many input arguments. Error in Test3 (line 3) assert(isequal(count3dPath(m,n,l),y_correct))

4   Fail
m = 8; n = 4 ; l=2; y_correct = 1320; assert(isequal(count3dPath(m,n,l),y_correct))

Error using count3dPath Too many input arguments. Error in Test4 (line 3) assert(isequal(count3dPath(m,n,l),y_correct))