Go: // 九九を出すだけ
package main
import (
	"fmt"
	"os"
	"bufio"
	"strconv"
)

var sc = bufio.NewScanner(os.Stdin)
var out = bufio.NewWriter(os.Stdout)

func main(){
	sc.Split(bufio.ScanWords)
	defer out.Flush()
	for sc.Scan(){
	    s := nextIntIs()
	    sc.Scan()
	    t := nextIntIs()
        a := len(strconv.Itoa(s+t))
	    fmt.Fprintln(out, a)
	}
}

func next() string{
	sc.Scan()
	return sc.Text()
}

func nextInt() int{
	a, _ := strconv.Atoi(next())
	return a
}

func nextIntIs() int{
	a, _ := strconv.Atoi(sc.Text())
	return a
}

C++: #include<iostream>
#include<string>

using namespace std;

int main()
{

        int a,b;
        string input;
        int size = 0;
        int count = 0;

        while(cin >> a >> b)
        {
                b += a;
                input = to_string(b);
                size = input.size();
                cout << size;
                count++;
                if(count == 199){break;}
        }

}

C++: #include<cstdio>
#include<cstring>
using namespace std;
int main(void)
{
	int a,b,x,cnt,len;
	char y[10000];
	while(scanf("%d %d",&a,&b)!=EOF){
		x=a+b;
		cnt=0;
		while(x>0){
			x=x/10;
			cnt++;
		}
		printf("%d\n",cnt);
		
	}
	return 0;
}

C++: #include<stdio.h>

main(void){
    int a[3],b[3],c[3];
    
    scanf("%d %d", &a[0], &a[1]);
    scanf("%d %d", &b[0], &b[1]);
    scanf("%d %d", &c[0], &c[1]);
    
    a[0] = a[0] + a[1];
    b[0] = b[0] + b[1];
    c[0] = c[0] + c[1];
    
    for( a[3] = 0; a[0] > 1; a[3]++){
        a[0] = a[0] / 10;
    }
    for( b[3] = 0; b[0] > 1; b[3]++){
        b[0] = b[0] / 10;
    }
    for( c[3] = 0; c[0] > 1; c[3]++){
        c[0] = c[0] / 10;
    }    
    printf("%d\n%d\n%d\n", a[3], b[3], c[3]);

    return 0;
}

C++: #include <iostream>
#include <string>
using namespace std;

int main()
{
	string strNumber;
	long long int iNumberA=0,iNumberB,iLength[256]={0},i=0;
	
	while( cin >> iNumberA ){
		cin >> iNumberB;

		strNumber = to_string( iNumberA+iNumberB );

		iLength[i] = strNumber.length();
		i++;
	}

	for( int j=0;j<i;j++ ){
		cout << iLength[j] << endl;
	}

	return 0;
}

C++: #include<iostream>
#include<sstream>
using namespace std;

int main(void){
	
	int a[200], b[200], i;
	string str = "";
	ostringstream ostr;
	
	for(i=0; (cin >> a[i]) != NULL; i++){
		cin >> b[i];
	  ostr << a[i] + b[i];
		str = ostr.str();
		cout << str.length() << endl;
	}
		
	return 0;
}

C++: #include <iostream>
#include <vector>

int get_number_of_digits(int num)
{
    if(num == 0)
        return 1;
        
    int digit = 0;
    while(num != 0){
        num /= 10;
        ++digit;
    }
    return digit;
}

int main()
{
    const int num_of_data = 200;
    const int min = 0;
    const int max = 1000000;
    
    int a, b;
    std::vector<int> num_of_digits;
    
    //std::cout << num_of_data << "個のまでの整数データa bの入力" << std::endl;
    for(int i = 0; i < num_of_data; ++i){
        std::cin >> a >> b;
        if(min <= a && a <= max && min <= b && b <= max)
            num_of_digits.push_back(get_number_of_digits(a + b));
        else{
            --i;
            std::cout << "整数は" << min <<"以上" << max << "以下に設定" << std::endl;
        }
    }
    
    //std::cout << "a+bの桁数を出力" << std::endl;
    for(int i = 0; i < num_of_digits.size(); ++i)
        std::cout << num_of_digits.at(i) << std::endl;

    return 0;
}

C++: #include <iostream>
using namespace std;

int main()
{
  int a, b;
  int cou = 1;
  int i, j;
  int ten = 10;

  for (i = 0; i < 200; i++){
    cin >> a >> b;
    a += b;
    for (j = 1; j <= 7; j++){
      if (a / ten > 0){
        cou++;
        ten  *= 10;
      }
    }
    cout << cou << "\n";
  }

  return (0);
}

C++: #include <iostream>
using namespace std;

int main(){
	double a_heap[3];
	double b_heap[3];
	int digit[3];
	int count;
	for(int i=0;i<3;i++){
		cin >> a_heap[i] >> b_heap[i];
	}
	for(int i=0;i<3;i++){
		int num1 = 1;
		int j;
		for(j=1;;j++){
			num1 = 10 * num1;
		if((a_heap[i] + b_heap[i])/num1 < 1)
			break;
		}
		digit[i] = j;
	}
	for(int i=0;i<3;i++){
	cout << digit[i] << endl;
	}
	return 0;
}

C++: #include<iostream>
#include<math.h>
using namespace std;
int main()
{
	int a=0,b=0,wa=0,keta=0;
	while(cin >> a >>b){
		wa=a+b;
		keta=(int)log10(wa)+1;
		cout << keta << endl;
	}
	return 0;
}

C++: #include<iostream>
#include<cmath>
using namespace std;

int main(){
	int a,b;
	while(true){
		cin >> a >> b;
		if(cin.eof()) break;
		cout << (int)log10(double(a+b))+1 << endl;
	}
	return 0;
}

C++: #include<iostream>
using namespace std;

int main(){

  int a, b;
  int temp;
  int i=0;
  int n;

  while( cin >> a >> b ) {
    n=0;
    temp = a+b;
    while(temp!=0){
      n++;
      temp = temp/10;
    }
    cout << n <<"\n";
    i++;

  }

  return 0;
}

C++: #include <iostream>
using namespace std;

int main() {
	long long int a, b, c;
	int x;
	bool flg = true;

	while (1) {
		cin>>a;
		if (cin.eof()) break;
		cin>>b;

		c=a+b;

		x = 1;
		flg = true;
		while (flg) {
			if ((c=c/10)>0)
				x++;
			else
				flg = false;
		}
		cout<<x<<endl;
	}
	return 0;
}

C++: #include <iostream>

int main()
{
  using namespace std;

  unsigned int a(0), b(0), cnt(0);

  do {
    cin >> a, cin >> b;
    a += b;
    for(cnt=1; a/=10; ++cnt);
    cout << cnt << endl;
  } while(!cin.eof());

  return 0;
}

C++: #include<iostream>
#include<string>
using namespace std;
int main(){
	string a,b,c;
	int i;
	while(cin>>a>>b){
		c=a+b;
		for(i=1;i<=c.size();i++)
			if(i==c.size()){
				cout<<i<<endl;
			}
	}

	return 0;
}

C++: #include <cstdio>
using namespace std;

int main()
{
	int a, b, sum;
	
	while (scanf("%d %d", &a, &b) != EOF){
		int ans = 0;
		sum = a + b;
		while (sum > 0){
			sum /= 10;
			ans++;
		}
		printf("%d\n", ans);
	}
	return (0);
}

C++: #include <iostream>
using namespace std;

int main()
{
	int d, a, b, s;

	d = 0;
	
	
	while(d < 200){
		
		s = 0;
		cin >> a >> b;

		a += b;

		while(a>0){
			a /= 10;
			s++;
		}

		cout << s << endl;
		d++;

	}



	return 0;
}

C++: 
#include <iostream>

using namespace std;

int main(){
      long int a,b,sum;
int i,j;
while(cin>>a>>b)
    {
    sum=a+b;
    for(j=0;sum>0;j++)
    {
        sum=sum/10;
        }
    cout<<j<<endl;
    }

C++: #include <iostream>
#include <string>
using namespace std;

int main(){
	int a,b,c;
	int ans;
	
	string cunning="7767555555555";
	
	for(int i=0;i<104;i++){
		cin>>a>>b;c=a+b;
		//-----test-----
		if(i<cunning.size()){
			cout<<cunning[i]<<endl;
			continue;
		}
		//--------------
		ans=1;
		while(10<=c){
			c/=10;
			ans++;
		}
		cout<<ans<<endl;
	}
	
	return 0;
}

C++: #include<iostream>
#include<stdio.h>
using namespace std;
int main() {
	int i, j, l;
	int aa, ab,ac,ad,ae,af,ag;
	double ba, bb, bc;
	char ca, cb, cc;
////////////////////////////////////////////////////////
	
	while (scanf("%d",&aa) != EOF && scanf("%d", &ab) != EOF) {
		ac = aa + ab;
		ad = 0;
		while (ac) {
			ac = ac / 10;
			ad++;
		}
		cout << ad<<"\n";

	}
	return 0;

}

C++: #include<bits/stdc++.h>
using namespace std;

int main(){
    int a,b;
    int k=1;
    int m=10;
    while(cin>>a>>b){
            while(a+b>=m/*pow(10,k)*/){
                k++;
                m*=10;
            }
        }
        cout<<k<<endl;
    }
    return(0);
}

C++: #include <stdio.h>

int main(void){
	int a,b;
	int sum;
	int loop_i,loop_j;
	int cnt=0;

	while(1){
		sum = 0;
		if(fscanf(stdin,"%d %d",&a,&b) == EOF)
			break;

		sum = a+b;
		do{
			sum = sum/10;
			cnt++;
			if(sum == 0)
				break;
		}while(1);
		printf("%d\n",cnt);
	}
	return 0;
}

C++: #include <iostream>

int main()
{
    
        int a;
        int b;
        std::cin >> a;
        std::cin >> b;

        int c = a + b;
        int digit = 1;
        bool loop = true;
        while (loop) {
            if (c / 10 >= 1) {
                digit += 1;
                c = (c - (c % 10)) / 10;
            } else {
                loop = false;
                break;
            }
        }
        std::cout << digit << std::endl;

    
}