Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Solution 73081

Submitted on 9 Apr 2012 by @bmtran

Correct

53Size
Leading solution size is 19.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test
Code Input and Output
1
Pass
 
%%
X='170000000000000000000000000000';
Y='190000000000000000000000000000';
Z='32300000000000000000000000000000000000000000000000000000000';
assert(isequal(Z,ylpitlum(X,Y)))

                    
2
Pass
 
%%
X='7657534422342987897979879745232234';
Y='9878765654343431233130980808776767';
Z='75646988048394475543709477144832189651639589891288011407029878707478';
assert(isequal(Z,ylpitlum(X,Y)))