Cody

Solution 2011261

Submitted on 9 Nov 2019 by Doan Quang Manh
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
a=6; b=12; y_correct=30 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 30 c = 1 -36 180 y = 30

2   Pass
a=7; b=14; y_correct=35 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 35 c = 1 -42 245 y = 35

3   Pass
a=3; b=6; y_correct=15 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 15 c = 1 -18 45 y = 15

4   Pass
a=5; b=40; y_correct=65 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 65 c = 1 -90 1625 y = 65

5   Pass
a=5; b=90; y_correct=125 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 125 c = 1 -190 8125 y = 125

6   Pass
a=12; b=54; y_correct=102 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 102 c = 1 -132 3060 y = 102

7   Pass
a=16; b=18; y_correct=58 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 58 c = 1 -68 580 y = 58

8   Pass
a=16; b=72; y_correct=136 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 136 c = 1 -176 5440 y = 136