Cody

Solution 499591

Submitted on 11 Sep 2014 by Aslak Grinsted
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))

f = 124 r = 421 f = 545 r = 545

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

f = 150 r = 051 f = 201 r = 102 f = 303 r = 303

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

f = 291 r = 192 f = 483 r = 384 f = 867 r = 768 f = 1635 r = 5361 f = 6996 r = 6996

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

f = 178 r = 871 f = 1049 r = 9401 f = 10450 r = 05401 f = 15851 r = 15851