Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85560 丁俊杰 求点积 Python3 Accepted 39 MS 3768 KB 154 2024-07-18 12:04:38

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): s=a[i]*b[i] res+=s print(res)