Cody

Solution 1073942

Submitted on 5 Dec 2016 by MIN HYEOK LEE
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
n1 = 758; n2 = 469; y_correct = 2453; assert(isequal(digitrange(n1,n2),y_correct))

d = 758 62300 e = 1×2 logical array 1 0 f = 2453 124623 result = 2453

2   Pass
n1 = 6.23e4; n2 = 12; y_correct = 124623; assert(isequal(digitrange(n1,n2),y_correct))

d = 758 62300 e = 1×2 logical array 0 1 f = 2453 124623 result = 124623