| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 136707 | 杜禹轩 | 求点积 | C++ | Wrong Answer | 1 MS | 276 KB | 276 | 2025-11-15 14:58:19 |
#include<bits/stdc++.h> using namespace std; int main(){ int a[1001],b[1001]; long long n, m=0; cin>>n; for(int i=1;i<=n;i++){ cin>>a[i]; } for(int i=1;i<=n;i++){ cin>>b[i]; } for(int i=1;i<=n;i++){ m+=a[i]*a[i]; } cout<<m; return 0; }
------Input------
7 6 57 59 87 37 85 85 24 51 86 80 70 52 52
------Answer-----
26515
------Your output-----
30154