Untitled

 avatar
user_0563559
c_cpp
a year ago
182 B
0
Indexable
Never
#include <iostream>
using namespace std;

int main()
{
    int a;
    int b = 0;
    cin >> a;
    while (a != 0) 
        a /= 10;
        b += 1;
    
    cout << b;
}