Cody

Solution 368270

Submitted on 11 Dec 2013 by Zikobrelli
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 = 1 2 4 b = 545 b = 5 4 5 b = 545

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

b = 1 5 0 b = 201 b = 2 0 1 b = 303 b = 3 0 3 b = 303

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

b = 2 9 1 b = 483 b = 4 8 3 b = 867 b = 8 6 7 b = 1635 b = 1 6 3 5 b = 6996 b = 6 9 9 6 b = 6996

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

b = 1 7 8 b = 1049 b = 1 0 4 9 b = 10450 b = 1 0 4 5 0 b = 15851 b = 1 5 8 5 1 b = 15851