Cody

Solution 231643

Submitted on 17 Apr 2013 by Gwendolyn Fischer
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))

ans = 0 a = 124 ans = 421 a = 545 ans = 545

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

ans = 0 a = 150 ans = 51 a = 201 ans = 102 a = 303 ans = 303

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

ans = 0 a = 291 ans = 192 a = 483 ans = 384 a = 867 ans = 768 a = 1635 ans = 5361 a = 6996 ans = 6996

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

ans = 0 a = 178 ans = 871 a = 1049 ans = 9401 a = 10450 ans = 5401 a = 15851 ans = 15851