Cody

Solution 1803740

Submitted on 2 May 2019 by Tom Holz
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 = 23; n = 2 y_correct = 29; assert(isequal(findLeastInBig(x,n),y_correct))

n = 2

2   Pass
x = 123; n = 3; y_correct = 867; assert(isequal(findLeastInBig(x,n),y_correct))

3   Pass
x = 9876; n = 1024; y_correct = 1376; assert(isequal(findLeastInBig(x,n),y_correct))

4   Pass
x = 1234; n = 45; y_correct = 7824; assert(isequal(findLeastInBig(x,n),y_correct))

5   Pass
x = 201; n = 100; y_correct = 1; assert(isequal(findLeastInBig(x,n),y_correct))