Cody

Solution 463842

Submitted on 29 Jun 2014 by RA
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))

x = 1 2 4 rsa = 421 x = 5 4 5

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

x = 1 5 0 rsa = 51 x = 2 0 1 rsa = 102 x = 3 0 3

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

x = 2 9 1 rsa = 192 x = 4 8 3 rsa = 384 x = 8 6 7 rsa = 768 x = 1 6 3 5 rsa = 5361 x = 6 9 9 6

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

x = 1 7 8 rsa = 871 x = 1 0 4 9 rsa = 9401 x = 1 0 4 5 0 rsa = 5401 x = 1 5 8 5 1