Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
344899 王铖渝 【C2-6】平方求和 C++ 通过 100 4 MS 248 KB 177 2025-08-28 14:59:54

Tests(2/2):


#include<bits/stdc++.h> using namespace std; int main(){ int n,a,x; long long s=0; cin>>n; for(int i=1;i<=n;i++){ cin>>x; s+=x*x; } cout<<s; return 0; }


测评信息: