经典指数          
原因
665
浏览数
0
收藏数
 

该段代码的输出结果是? 1 #include using namespace std; int nest(int i) {     if (i < 0 )         return 0;     else if (i == 0)         return 1;     else         return nest(i-1) + nest(i-2) + i; } int main( ) {     cout << nest(7)<< endl;     return 1; }

     举报   纠错  
 
切换
暂时还没有答案,欢迎分享你的解答 . . .
撰写答案
扫描后移动端查看本题