64,666
社区成员
发帖
与我相关
我的任务
分享
#include "stdafx.h"
void fun();
int max = 1000;
static int count = 1;
int _tmain(int argc, _TCHAR* argv[])
{
fun();
printf("count : %i\n",count);
return 0;
}
void fun()
{
if(max == 1)
return;
max /= 2;
count++;
return fun();
}
不知分析的对不对,这道题确实不太严谨