Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
63159 | laichihao | 递归求等差数列第n项的值 | C++ | Accepted | 0 MS | 248 KB | 113 | 2025-03-21 15:09:38 |
#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; cout<<2*x+1; return 0; }