Cody

Solution 1954630

Submitted on 1 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
[g f t] = filltime(0.25, 0.1, 2); assert(isequal([g f t],[3 3 10]))

f = 3 g = 3 t = 7.5000

Assertion failed.

2   Fail
[g f t] = filltime(0.45, 0.3, 6); assert(isequal([g f t],[21 15 69]))

f = 15 g = 21 t = 22.5000

Assertion failed.

3   Fail
[g f t] = filltime(3, 0.8, 7); assert(isequal([g f t],[28 18 240]))

f = 18 g = 28 t = 67.5000

Assertion failed.

4   Fail
[g f t] = filltime(2, 8, 47); assert(isequal([g f t],[1128 138 811]))

f = 138 g = 1128 t = 34.5000

Assertion failed.