Bootstrap

计算某个整数含有几位数

#include <iostream>
using namespace std;
int main()
{
	int n,c;
	cin >> n;
	c = log10(n) + 1;
	cout << c;
}

;