Cody

Solution 109310

Submitted on 10 Jul 2012 by Nigel Davies
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 = 421

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

b = 51 b = 102

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

b = 192 b = 384 b = 768 b = 5361

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

b = 871 b = 9401 b = 5401