| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 67325 | jdf_sunqihang | 求1+2+3+... | C++ | Accepted | 0 MS | 240 KB | 170 | 2025-09-10 17:40:47 |
#include<bits/stdc++.h> using namespace std; int lj(int n){ if(n==1) return 1; return lj(n-1)+n; } int main(){ int n; cin>>n; cout<<lj(n); return 0; }