Cody

Solution 1733787

Submitted on 23 Feb 2019 by Alfonso Nieto-Castanon
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   Pass
assert(isequal(ToadsFrogs(0,0),0))

2   Pass
assert(isequal(ToadsFrogs(1,1),3))

3   Pass
assert(isequal(ToadsFrogs(3,4),19))

4   Pass
assert(isequal(ToadsFrogs(2,7),23))

5   Pass
assert(isequal(ToadsFrogs(4,6),34))

6   Pass
assert(isequal(ToadsFrogs(8,3),35))

7   Pass
assert(isequal(ToadsFrogs(4,8),44))

8   Pass
assert(isequal(ToadsFrogs(7,6),55))

9   Pass
assert(isequal(ToadsFrogs(5,9),59))

10   Pass
assert(isequal(ToadsFrogs(9,7),79))

Suggested Problems

More from this Author18