4 ms·
The numbers used as examples are too large. I've had the same wrong-answer behavior when multiplying smaller numbers, down to 3 x 3 digits: 98372 * 72934 = 716
by geenew 4y ago
The numbers used as examples are too large. I've had the same wrong-answer behavior when multiplying smaller numbers, down to 3 x 3 digits:
98372 * 72934 = 716,949,168,428
9837 * 7293 = 71,927,121
983 * 729 = 7,168,717
98 * 72 = 7,056
Edit: to be clear, twice in there it's not just off, but off by an order of magnitude
- geenew 4y agoAdditional: It's worth noting that it preserves the correct starting numeral in each case