C3.cpp 164 B

123456789101112
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. typedef long long LL;
  4. int main() {
  5. LL x;
  6. cin >> x;
  7. cout << (int) (log10(x) + 1) << endl;
  8. return 0;
  9. }