#include<bits/stdc++.h>
using namespace std;
int n,sum=0;
int main(){
	cin>>n;
	while(n){
		n/=10;
		sum++;
	}
	cout<<sum;
	return 0;
}

0 comments

No comments so far...

Information

ID
27
Time
1000ms
Memory
256MiB
Difficulty
5
Tags
# Submissions
180
Accepted
76
Uploaded By