Cody

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

Solution 1961226

Submitted on 5 Oct 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 in solution: Line: 15 Column: 34 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 15 Column: 34 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 15 Column: 34 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 15 Column: 34 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.