Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
151412 孔声豪 求点积 C++ Wrong Answer 1 MS 280 KB 281 2026-04-12 12:11:44

Tests(0/10):


Code:

#include <bits/stdc++.h> using namespace std; int main(){ int m,a[1001]={},b[1001]={},h; cin>>m; for(int i=0;i<=m;i++){ cin>>a[i]; } for(int i=0;i<=m;i++){ cin>>b[i]; } for(int i=0;i<=m;i++){ h+=a[i]*b[1]; } cout<<h<<endl; return 0; }


Run Info:

------Input------
7 6 57 59 87 37 85 85 24 51 86 80 70 52 52
------Answer-----
26515
------Your output-----
8070120