Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135014 晏莞煜 桃子问题 C++ Accepted 0 MS 264 KB 178 2025-11-02 10:47:48

Tests(1/1):


Code:

#include<iostream> using namespace std; int i=1; void tao (int a){ i++; a=(a+1)*2; if(i<10){ tao(a); }else{ cout<<a; } } int main(){ tao(1); return 0; }