| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 75419 | sh25_shenpy | 递归求等差数列第n项的值 | C++ | 编译错误 | 0 MS | 0 KB | 190 | 2025-12-06 16:00:42 |
#include <bits/stdc++.h> using namespace std; int n(int n) { if(n=0) return 1; else return (1+2*n); } int main() { int n; cin>>n; cout<<n(n); return 0; }