| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 67629 | 殷震博 | 年龄问题 | C++ | Wrong Answer | 1 MS | 260 KB | 201 | 2024-03-17 11:29:00 |
#include<bits/stdc++.h> using namespace std; void up_and_down(int x,int n){ cout<<x<<endl; n-=1; x+=2; if(n>0){ up_and_down(x,n); } } int main(){ up_and_down(10,5); return 0; }
------Input------
0
------Answer-----
18
------Your output-----
10 12 14 16 18