Cody

Solution 1149877

Submitted on 30 Mar 2017 by H M Dipu Kabir
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
x = 1; b = 2; y_correct = 12; assert(isequal(combineUs(x,b),y_correct))

y = 1 -16 -16 2 a = 12

2   Pass
x = 2; b = 1; c = 0; y_correct = 210; assert(isequal(combineUs(x,b,c),y_correct))

y = 2 -16 -16 1 -16 -16 0 a = 210

3   Pass
x = 1; b = 3; c = 0; d = 9 y_correct = 1309; assert(isequal(combineUs(x,b,c,d),y_correct))

d = 9 y = 1 -16 -16 3 -16 -16 0 -16 -16 9 a = 1309

Suggested Problems

More from this Author43