http://oj.91xbc.com/p/1527

郝宸菲  •  1个月前


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


评论: