Run ID:67668
提交时间:2024-03-17 11:58:54
#include<bits/stdc++.h> using namespace std; int fun(int x){ if(x==10){ return 1; }else{ return (fun(x+1)+1)*2; } } int main(){ int x=fun(1); cout<<x; return 0; }