Given two non-negative integers num1
and num2
rePResented as strings, return the product of num1
and num2
.
Note:
The length of bothnum1
and num2
is < 110.Both num1
and num2
contains only digits 0-9
.Both num1
and num2
does not contain any leading zero.You must not use any built-in BigInteger library or convert the inputs to integer directly.把字符串转换为整形数据,然后相乘
新闻热点
疑难解答