#include #include #include #include #include #include #include int main(){ int n,count=0; scanf("%d",&n); int *height = malloc(sizeof(int) * n); for(int height_i = 0; height_i < n; height_i++){ scanf("%d",&height[height_i]); if(height[height_i]>height_i) { while(n!=0) { n/=10; ++count; } printf("%d",++count); } } return 0; }