Cody

Solution 1914137

Submitted on 28 Aug 2019
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   Fail
n = 400; b=5; rb=8; y_correct = 144; assert(isequal(base_base(n,b,rb),y_correct))

ans = '144'

Assertion failed.

2   Fail
n = 200; b=8; rb=5; y_correct = 1003; assert(isequal(base_base(n,b,rb),y_correct))

ans = '1003'

Assertion failed.

3   Fail
n = 125; b=6; rb=7; y_correct = 104; assert(isequal(base_base(n,b,rb),y_correct))

ans = '104'

Assertion failed.

4   Fail
n = 143; b=8; rb=4; y_correct = 1203; assert(isequal(base_base(n,b,rb),y_correct))

ans = '1203'

Assertion failed.