| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 74581 | 桑迪 | 数列求和 | C++ | Accepted | 100 | 0 MS | 248 KB | 141 | 2023-05-27 16:33:01 |
#include<bits/stdc++.h> using namespace std; int n,ans; int main(){ cin>>n; for(int i=1;i<=n;i++)ans+=i*i; cout<<ans; return 0; }