Cody

Solution 2300419

Submitted on 20 May 2020
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
t1=1; r=1; n=7; y_correct = 7; assert(isequal(your_fcn_name(t1,r,n),y_correct))

Error using your_fcn_name (line 2) Unable to run the 'fevalJSON' function because it calls the 'input' function, which is not supported for this product offering. Error in Test1 (line 3) assert(isequal(your_fcn_name(t1,r,n),y_correct))

2   Fail
t1=10; r=10; n=5; y_correct = 111110; assert(isequal(your_fcn_name(t1,r,n),y_correct))

Error using your_fcn_name (line 2) Unable to run the 'fevalJSON' function because it calls the 'input' function, which is not supported for this product offering. Error in Test2 (line 3) assert(isequal(your_fcn_name(t1,r,n),y_correct))

3   Fail
t1=7; r=3; n=5; y_correct = 847; assert(isequal(your_fcn_name(t1,r,n),y_correct))

Error using your_fcn_name (line 2) Unable to run the 'fevalJSON' function because it calls the 'input' function, which is not supported for this product offering. Error in Test3 (line 3) assert(isequal(your_fcn_name(t1,r,n),y_correct))

Suggested Problems

More from this Author100