题解 | #特殊乘法#
特殊乘法
https://www.nowcoder.com/practice/a5edebf0622045468436c74c3a34240f
while True: try: a,b=input().strip().split() sum=0 for i in range(len(a)): for j in range(len(b)): sum+=int(a[i])*int(b[j]) print(sum) except EOFError: break
特殊乘法
https://www.nowcoder.com/practice/a5edebf0622045468436c74c3a34240f
while True: try: a,b=input().strip().split() sum=0 for i in range(len(a)): for j in range(len(b)): sum+=int(a[i])*int(b[j]) print(sum) except EOFError: break
相关推荐