Cody

Solution 1944921

Submitted on 21 Sep 2019 at 12:38
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 = 124; b = 545; assert(isequal(find_palindrome(a),b))

b = 545

2   Fail
a = 150; b = 303; assert(isequal(find_palindrome(a),b))

b = 201 b = 303 ans = 303

Assertion failed.

3   Fail
a = 291; b = 6996; assert(isequal(find_palindrome(a),b))

b = 483 b = 867 b = 1635 b = 6996 ans = 6996 ans = 1635 ans = 867

Assertion failed.

4   Fail
a = 178; b = 15851; assert(isequal(find_palindrome(a),b))

b = 1049 b = 10450 b = 15851 ans = 15851 ans = 10450

Assertion failed.

Suggested Problems

More from this Author95