Run ID:67431

提交时间:2024-03-16 15:30:50

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