| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 45956 | 石利伟 | 数列求和 | C++ | Wrong Answer | 0 | 0 MS | 248 KB | 204 | 2022-07-12 09:04:09 |
#include<iostream> using namespace std; int main(){ int a,counter; cin>>a; for(int i=1;i<=a;i++){ counter+=i*i; } cout<<counter-1; return 0; }