Cody

# Problem 42803. Britney unfolded

Solution 876719

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]))

L = 3 f = 7

Assertion failed.

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]))

L = 3 f = 63

Assertion failed.

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]))

L = 11 f = 127

Assertion failed.

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]))

L = 467 f = 1023

Assertion failed.

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]))

L = 387 f = 4095

Assertion failed.