Cody

Solution 1197907

Submitted on 25 May 2017 by Augusto Mazzei
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))

c = 'abaco' a = '124' b = 545 c = '545'

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

c = 'abaco' a = '150' b = 201 c = '201' a = '201' b = 303 c = '303'

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

c = 'abaco' a = '291' b = 483 c = '483' a = '483' b = 867 c = '867' a = '867' b = 1635 c = '1635' a = '1635' b = 6996 c = '6996'

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

c = 'abaco' a = '178' b = 1049 c = '1049' a = '1049' b = 10450 c = '10450' a = '10450' b = 15851 c = '15851'

Suggested Problems

More from this Author95