定点数的表示
上一节
下一节
阿里笔试中有这样一道题目:
在一台主流配置的PC上,调用f(35)所需要的时间大概是( )。
int f(int x) {
int s = 0;
while(x++ >0) s+= f(x);
return max(s,1);
}
A.几毫秒 B.几秒
C.几分钟 D.几小时
目录
阿里笔试中有这样一道题目:
在一台主流配置的PC上,调用f(35)所需要的时间大概是( )。
int f(int x) {
int s = 0;
while(x++ >0) s+= f(x);
return max(s,1);
}
A.几毫秒 B.几秒
C.几分钟 D.几小时