Cody

Solution 1600380

Submitted on 4 Aug 2018 by Joshua Richman
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 = 421 c = 545 b = 545 b = 545

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

c = 51 c = 102 c = 303 b = 303 b = 303 b = 303

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

c = 192 c = 384 c = 768 c = 5361 c = 6996 b = 6996 b = 6996 b = 6996 b = 6996 b = 6996

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

c = 871 c = 9401 c = 5401 c = 15851 b = 15851 b = 15851 b = 15851 b = 15851