#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
int x;
int n = 0;
scanf("%d", &x);
n++;
x /= 10;
while (x > 0)
{
n++;
x /= 10;
}
printf("%d\n", n);
return 0;
}
标签:int,E6%,3.21,E5%,while,几位数,E4% From: https://www.cnblogs.com/xwguo/p/16585027.html