| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 73117 | sh25_shenpy | 递归求等差数列第n项的值 | C++ | Accepted | 0 MS | 240 KB | 173 | 2025-11-05 20:58:20 |
#include <bits/stdc++.h> using namespace std; int main( ) { int h,t=1; cin>>h; for(int i=1;i<=h;i++){ t+=2; } cout<<t; return 0; }