| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 12395 | 罗炜翰 | 求S的值 | C++ | Accepted | 100 | 0 MS | 256 KB | 218 | 2025-07-11 14:26:58 |
#include<bits/stdc++.h> using namespace std; void z() { int s=2,x=2,sum=1; for(int i=1;sum<5000;i++) { s+=x; sum+=s; x++; } cout<<sum+2; } int main() { z(); return 0; }