Cody

Problem 553. How to multiply?

Solution 71744

Submitted on 5 Apr 2012 by James
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
%% 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)))

n1 = Columns 1 through 10 0 63 110 142 201 233 240 257 280 275 Columns 11 through 20 268 272 288 276 341 392 405 449 505 531 Columns 21 through 30 560 601 622 692 743 757 814 786 796 800 Columns 31 through 40 796 785 785 780 809 728 708 704 608 619 Columns 41 through 50 585 580 592 603 597 651 608 664 626 565 Columns 51 through 60 572 528 479 479 407 398 358 297 238 203 Columns 61 through 68 142 147 107 93 71 60 45 28