Cody

# Problem 45. Make a Palindrome Number

Solution 2011090

Submitted on 9 Nov 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
a = 124; b = 545; assert(isequal(find_palindrome(a),b))

a = 545 pal = 1

Unrecognized function or variable 'b'. Error in find_palindrome (line 10) a = b; Error in Test1 (line 3) assert(isequal(find_palindrome(a),b))

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

a = 201 a = 303 pal = 1

Unrecognized function or variable 'b'. Error in find_palindrome (line 10) a = b; Error in Test2 (line 3) assert(isequal(find_palindrome(a),b))

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

a = 483 a = 867 a = 1635 a = 6996 pal = 1

Unrecognized function or variable 'b'. Error in find_palindrome (line 10) a = b; Error in Test3 (line 3) assert(isequal(find_palindrome(a),b))

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

a = 1049 a = 10450 a = 15851 pal = 1

Unrecognized function or variable 'b'. Error in find_palindrome (line 10) a = b; Error in Test4 (line 3) assert(isequal(find_palindrome(a),b))