Cody

Solution 451501

Submitted on 6 Jun 2014 by goc3
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))

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

===== a = 201 b = 102 c = 303 d = 0

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

===== a = 483 b = 384 c = 867 d = 99 ===== a = 867 b = 768 c = 1635 d = -3726 ===== a = 1635 b = 5361 c = 6996 d = 0

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

===== a = 1049 b = 9401 c = 10450 d = 5049 ===== a = 10450 b = 5401 c = 15851 d = 0

Suggested Problems

More from this Author95