Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
126607 唐钧 计算数列和 C++ 通过 100 0 MS 248 KB 210 2024-01-24 16:46:21

Tests(4/4):


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


测评信息: