Cody

Solution 1207558

Submitted on 8 Jun 2017 by Said BOUREZG
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 = 8; b=6; y_correct = 24; assert(isequal(mul(a,b),y_correct))

ans = Columns 1 through 29 6 12 18 24 30 36 42 48 54 60 66 72 78 84 90 96 102 108 114 120 126 132 138 144 150 156 162 168 174 Columns 30 through 58 180 186 192 198 204 210 216 222 228 234 240 246 252 258 264 270 276 282 288 294 300 306 312 318 324 330 336 342 348 Columns 59 through 87 354 360 366 372 378 384 390 396 402 408 414 420 426 432 438 444 450 456 462 468 474 480 486 492 498 504 510 516 522 Columns 88 through 116 528 534 540 546 552 558 564 570 576 582 588 594 600 606 612 618 624 630 636 642 648 654 660 666 672 678 684 690 696 Columns 117 through 145 702 708 714 720 726 732 738 744 750 756 762 768 774 780 786 792 798 804 810 816 822 828 834 840 846 852 858 864 870 Columns 146 through 166 876 882 888 894 900 906 912 918 924 930 936 942 948 954 960 966 972 978 984 990 996 ans = Columns 1 through 29 24 48 72 96 120 144 168 192 216 240 264 288 312 336 360 384 408 432 456 480 504 528 552 576 600 624 648 672 696 Columns 30 through 41 720 744 768 792 816 840 864 888 912 936 960 984 ans = 24

2   Pass
a = 13; b=17; y_correct = 221; assert(isequal(mul(a,b),y_correct))

ans = Columns 1 through 29 13 26 39 52 65 78 91 104 117 130 143 156 169 182 195 208 221 234 247 260 273 286 299 312 325 338 351 364 377 Columns 30 through 58 390 403 416 429 442 455 468 481 494 507 520 533 546 559 572 585 598 611 624 637 650 663 676 689 702 715 728 741 754 Columns 59 through 76 767 780 793 806 819 832 845 858 871 884 897 910 923 936 949 962 975 988 ans = 221 442 663 884 ans = 221

3   Pass
a = 12; b=18; y_correct = 36; assert(isequal(mul(a,b),y_correct))

ans = Columns 1 through 29 12 24 36 48 60 72 84 96 108 120 132 144 156 168 180 192 204 216 228 240 252 264 276 288 300 312 324 336 348 Columns 30 through 58 360 372 384 396 408 420 432 444 456 468 480 492 504 516 528 540 552 564 576 588 600 612 624 636 648 660 672 684 696 Columns 59 through 83 708 720 732 744 756 768 780 792 804 816 828 840 852 864 876 888 900 912 924 936 948 960 972 984 996 ans = 36 72 108 144 180 216 252 288 324 360 396 432 468 504 540 576 612 648 684 720 756 792 828 864 900 936 972 ans = 36