Cody

Solution 876717

Submitted on 18 Apr 2016
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
n = 3; t = 0.15; L_correct = 7; f_correct = 7; [L,f] = Britney_Unfolded(n,t) assert(isequal([L,f],[L_correct,f_correct]))

Error: File: solution.m Line: 2 Column: 36 Unexpected MATLAB expression.

2   Fail
n = 6; t = 0.02; L_correct = 45; f_correct = 63; [L,f] = Britney_Unfolded(n,t) assert(isequal([L,f],[L_correct,f_correct]))

Error: File: solution.m Line: 2 Column: 36 Unexpected MATLAB expression.

3   Fail
n = 7; t = 0.05; L_correct = 439; f_correct = 127; [L,f] = Britney_Unfolded(n,t) assert(isequal([L,f],[L_correct,f_correct]))

Error: File: solution.m Line: 2 Column: 36 Unexpected MATLAB expression.

4   Fail
n = 10; t = 0.29; L_correct = 159686; f_correct = 1023; [L,f] = Britney_Unfolded(n,t) assert(isequal([L,f],[L_correct,f_correct]))

Error: File: solution.m Line: 2 Column: 36 Unexpected MATLAB expression.

5   Fail
n = 12; t = 0.06; L_correct = 527458; f_correct = 4095; [L,f] = Britney_Unfolded(n,t) assert(isequal([L,f],[L_correct,f_correct]))

Error: File: solution.m Line: 2 Column: 36 Unexpected MATLAB expression.

Suggested Problems

More from this Author34