Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67045 胡海峰老师 求点积 Python3 Accepted 37 MS 3768 KB 149 2024-03-13 15:53:51

Tests(10/10):


Code:

n = int(input()) a = list(map(int,input().split())) b = list(map(int,input().split())) res =0 for i in range(n): res += a[i]*b[i] print(res)