Cody

Solution 1124506

Submitted on 16 Feb 2017
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
b = 18; e = 7; s = 9; d = 24; y_correct = 217728; assert(isequal(lunch(b,e,s,d),y_correct))

Assertion failed.

2   Fail
b = 2; d = 3; s = 10; e = 4; y_correct = 2160; assert(isequal(lunch(b,e,s,d),y_correct))

Assertion failed.

3   Fail
b = 1; d = 2; s = 11; e = 3; y_correct = 660; assert(isequal(lunch(b,e,s,d),y_correct))

Assertion failed.

4   Fail
b = 5; d = 2; s = 9; e = 100; y_correct = 72000; assert(isequal(lunch(b,e,s,d),y_correct))

Assertion failed.