提交时间:2025-07-16 14:43:43

运行 ID: 333321

#include<bits/stdc++.h> using namespace std; int f(int n){ if(n>=10){ return 1; }else{ return 2*(f(n+1)+1); } } int main(){ cout<<f(1); return 0; }