求一个整数位数的终极方法

来源:互联网 发布:基础架构java 编辑:程序博客网 时间:2024/06/05 14:42
int main(void){    int n = 32561;    cout << 1+(int)log10(n);    return 0;}
原创粉丝点击