| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 150938 | 卢语宸 | 求点积 | C++ | Wrong Answer | 1 MS | 276 KB | 260 | 2026-04-02 14:08:09 |
#include<bits/stdc++.h> using namespace std; int main(){ int q,a[1003],b[1003],c; cin>>q; for(int r=0;r<q;r++){ cin>>a[r]; } for(int r=0;r<q;r++){ cin>>b[r]; } for(int r=0;r<q;r++){ c=c+a[r]*b[r]; } cout<<c; return 0; }
------Input------
7 6 57 59 87 37 85 85 24 51 86 80 70 52 52
------Answer-----
26515
------Your output-----
4221579