| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 134981 | 晏莞煜 | 年龄问题 | C++ | Accepted | 1 MS | 260 KB | 248 | 2025-11-01 21:49:48 |
#include <iostream> #include<cmath> using namespace std; int i=1; void nian_ling (int a){ i++; if(i<6){ nian_ling(a+=2); }else{ cout<<a; } } int main(){ nian_ling(10); return 0; }