Cody

Solution 1724972

Submitted on 11 Feb 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]))

Too many output arguments. Error in filltime (line 2) [g, f, t] = [v, u, sum(1:L)] Error in Test1 (line 1) [g f t] = filltime(0.25, 0.1, 2);

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

Too many output arguments. Error in filltime (line 2) [g, f, t] = [v, u, sum(1:L)] Error in Test2 (line 1) [g f t] = filltime(0.45, 0.3, 6);

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

Too many output arguments. Error in filltime (line 2) [g, f, t] = [v, u, sum(1:L)] Error in Test3 (line 1) [g f t] = filltime(3, 0.8, 7);

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

Too many output arguments. Error in filltime (line 2) [g, f, t] = [v, u, sum(1:L)] Error in Test4 (line 1) [g f t] = filltime(2, 8, 47);