| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 75649 | sh25_zhuwy | 求和 | C++ | Accepted | 0 MS | 248 KB | 186 | 2025-12-08 20:42:11 |
#include<bits/stdc++.h> using namespace std; int main() { int n,sum=0; cin>>n; for(int i=1;i<=n;i++) { sum+=(i+1)*i/2; } cout<<sum; return 0; }