Cody

Solution 1229542

Submitted on 11 Jul 2017 by Salvatore Lacava
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))

r = 421 a = 545 b = 545

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

r = 51 a = 201 b = 201 a = 303 b = 303

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

r = 192 a = 483 b = 483 a = 867 b = 867 a = 1635 b = 1635 a = 6996 b = 6996

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

r = 871 a = 1049 b = 1049 a = 10450 b = 10450 a = 15851 b = 15851