| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 12436 | 罗炜翰 | 数数小木块 | C++ | Time Limit Exceeded | 0 | 1000 MS | 248 KB | 205 | 2025-07-12 16:36:01 |
#include<bits/stdc++.h> using namespace std; int c(int x){ int y=1,sum=0; for(int i=1;i<=y;i++,y++){ sum+=i; } return sum; } int main() { int n; cin>>n; cout<<c(n); return 0; }