Cody

Solution 291138

Submitted on 28 Jul 2013 by JeremyR
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))

c = 124 y = 421 z = 421 a = 545 c = 545 b = 545

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

c = 150 y = 051 z = 51 a = 201 c = 201 y = 102 z = 102 a = 303 c = 303 b = 303

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

c = 291 y = 192 z = 192 a = 483 c = 483 y = 384 z = 384 a = 867 c = 867 y = 768 z = 768 a = 1635 c = 1635 y = 5361 z = 5361 a = 6996 c = 6996 b = 6996

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

c = 178 y = 871 z = 871 a = 1049 c = 1049 y = 9401 z = 9401 a = 10450 c = 10450 y = 05401 z = 5401 a = 15851 c = 15851 b = 15851