Problem:


Digit Number

Write a program which computes the digit number of sum of two integers a and b.

Input

There are several test cases. Each test case consists of two non-negative integers a and b which are separeted by a space in a line. The input terminates with EOF.

Constraints

0 ≤ a, b ≤ 1,000,000

The number of datasets ≤ 200

Output

Print the number of digits of a + b for each data set.

Sample Input

5 7
1 99
1000 999

Output for the Sample Input

2
3
4



Sample input:
5 7
1 99
1000 999


Sample output:
2
3
4

Submission status: Wrong Answer

Solution code:
import math

a, b = map(int, input().split())

print(str(int(math.log10(a+b)+1)))

Submission status: Wrong Answer

Solution code:
try:
    print len(sum(map(int, raw_input().split())))
except:
    pass

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

c = a + b

digits = 0

while c != 0:
  c = c / 10
  digits += 1

print(digits)

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())

c = a + b

digits = 0

while c != 0:
    c = int(c / 10)
    digits += 1

print(digits)

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split(" "))
print(len(str(a+b)))

Submission status: Wrong Answer

Solution code:
def __main():

    x = input()
    y = input()

    z = x + y
    print(len(str(z)))


__main()

Submission status: Wrong Answer

Solution code:
n = input()
n = n.split(" ")
print(n)
a = 0
for i in n:
    a += int(i)
print(len(str(a)))

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
while True:
	try:	
		a, b = (int(s) for s in input().split(" "))
		print len(str(a + b))
	except:
		break

Submission status: Wrong Answer

Solution code:
def sum_of_num(num_list):
    return sum(num_list)

def calculate_digit_num(num):
    z = num / 10
    if z == 0:
        return 1
    else:
        return 1 + calculate_digit_num(z)

while True:
    try:
        num_list = int(raw_input().split(' '))
        summation = sum_of_num(num_list)
        calculate_digit_sum(summation)
    except:
        break

Submission status: Wrong Answer

Solution code:
def sum_of_num(num_list):
    return sum(num_list)

def calculate_digit_num(num):
    z = num / 10
    if z == 0:
        return 1
    else:
        return 1 + calculate_digit_num(z)

while True:
    try:
        num_list = raw_input().split(' ')
        summation = sum_of_num(int(num_list))
        calculate_digit_sum(summation)
    except:
        break

Submission status: Wrong Answer

Solution code:
def sum_of_num(num_list):
    return sum(num_list)

def calculate_digit_num(num):
    z = num / 10
    if z == 0:
        return 1
    else:
        return 1 + calculate_digit_num(z)

while True:
    try:
        num_list = raw_input().split(' ')
        summation = sum_of_num(int(num_list))
        print calculate_digit_sum(summation)
    except:
        break

Submission status: Wrong Answer

Solution code:
def calculate_digit_num(num):
    z = num / 10
    if z == 0:
        return 1
    else:
        return 1 + calculate_digit_num(z)

while True:
    try:
        num_list = int(raw_input().split(' '))
        summation = sum_of_num(sum(num_list))
        print calculate_digit_num(summation)
    except:
        break

Submission status: Wrong Answer

Solution code:
import math
a,b=map(int,input().split())
c=int(math.log10(a+b)+1)
print(c)

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
print(len(str(a+b)))

Submission status: Wrong Answer

Solution code:
while True:
    try:
        a, b = map(int, input().split())
        print(len(list(a+b)))
    except:
        break

Submission status: Wrong Answer

Solution code:
for i in range(3):
    a, b = list(map(int, input().split()))
    
    print(len(str(a + b)))

Submission status: Wrong Answer

Solution code:
while True:
    try:
        line=raw_input()
        (a,b)=line.split()
        (a,b)=map(int,(a,b))
        print a+b
    except EOFError: break

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python
#-coding:utf8-

import sys


for s in sys.stdin:
  data = map(int,s.split())
  print data[0]+data[1]

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python
#-coding:utf8-

import sys

for s in sys.stdin:
  data = map(str,s.split())
  print len(data[0])+len(data[1])

Submission status: Wrong Answer

Solution code:
num = map(int, raw_input().split())
print len(str(num[0] + num[1]))

Submission status: Wrong Answer

Solution code:
import sys, math
for line in sys.stdin:
    a, b = map(int, line.split())
    print(int(math.log(a + b, 10)) + 1)

Submission status: Wrong Answer

Solution code:
temp = [int(x) for x in raw_input().split()]
x = temp[0] + temp[1]

c = str(x)
print len(c)

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split(' '))
print(len(str(a+b)))

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

a, b = map(int , input().split())
sum = a + b
print(len(str(a + b)))

Submission status: Wrong Answer

Solution code:
from math import *

sumNum = []
for i in range(0, 3):
  inputNum = map(int, raw_input().split())
  sumNum.append(inputNum[0] + inputNum[1])

print int(log10(sumNum[0]) + 1)
print int(log10(sumNum[1]) + 1)
print int(log10(sumNum[2]) + 1)

Submission status: Wrong Answer

Solution code:
a,b = map(int, raw_input().split())
print len(str(a+b))

Submission status: Wrong Answer

Solution code:
#coing:UTF-8

a,b = map(int,raw_input().split())
c = a + b
print len(str(c))

Submission status: Wrong Answer

Solution code:
#coing:UTF-8

for i in range(3):
    a,b = map(int,raw_input().split())
    print len(str(a+b))

Submission status: Wrong Answer

Solution code:
#coing:UTF-8

for i in range(3):
    a,b = map(int,raw_input().split())
    print int(len(str(a+b)))

Submission status: Wrong Answer

Solution code:
#coing:UTF-8

for i in range(3):
    a,b = map(int,raw_input().split())
    print str(len(str(a+b)))

Submission status: Wrong Answer

Solution code:
import math
while True:
    try:

        num = input().split(" ")
        num1 = int(num[0])
        num2 = int(num[1])
        sum_number = num[0] + num[1]
        ans = int(math.log10(sum_number) + 1)
        print(ans)

    except:
        break

Submission status: Wrong Answer

Solution code:
import math
while(True):
	try:
		date=input()
		date=date.split()
		date=int(date[0])+int(date[1])
		digit=int(math.log10(date))
		print(digit)
	except:
		break

Submission status: Wrong Answer

Solution code:
while True:
	try:
		a,b=map(int, raw_input().split())
		print a+b
	except:
		break

Submission status: Wrong Answer

Solution code:
while True:
	try:
		value = input().split(" ")
		result = int(value[0]) * int(value[1])
		print(str(result))
	except EOFError:
		break

Submission status: Wrong Answer

Solution code:
s=[input() for x in range(3)]
for i in range(len(s)):
    print(len(str(int(s[i].split(' ')[0])+int(s[i].split(' ')[1]))))

Submission status: Wrong Answer

Solution code:
try:
    s=[input() for x in range(200)]
    for i in range(len(s)):
        print(len(str(int(s[i].split(' ')[0])+int(s[i].split(' ')[1]))))
except EOFError:
    pass

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
c=int(a+b)
count=0
while (c/10 != 0 ):
    c=int(c/10)
    count=count+1
print(count)

Submission status: Wrong Answer

Solution code:
import sys
for line in sys.stdin:
    a, b = map(int, input().split())
    c=int(a+b)
    count=0
    while (c/10 != 0 ):
        c=int(c/10)
        count=count+1
    print(count)
else:
    print('Warning: EOF occurred before "0" terminator')

Submission status: Wrong Answer

Solution code:
import sys


def solve():
    a = []
    for line in sys.stdin:
        digit_list = line.split(' ')
        new_list = []
        for s in digit_list:
            new_list.append(int(s))
        a.append((new_list))
    for j in a:

        print str(sum(j)) + '\n'

if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

Solution code:
a, b = map(int, raw_input().split())
print len(str(a+b))

Submission status: Wrong Answer

Solution code:
print(len(str(sum(map(int, input().split())))))

Submission status: Wrong Answer

Solution code:
n = list(map(int, input().split()))

for i in range(0,len(n),2):
    print(len(str(sum((n[i], n[i+1])))))

Submission status: Wrong Answer

Solution code:
try:
    while 1:
        print(len(str(sum((input().split())))))
except Exception:
    pass

Submission status: Wrong Answer

Solution code:
import math
list = []    
list=map(int, raw_input().split())
sum=sum(list)
log=int(math.log10(sum) + 1)
print log

Submission status: Wrong Answer

Solution code:
import math
for i in range(3):
	x,y=map(int,input().split())
	print(int(math.log10(x+y))+1)

Submission status: Wrong Answer

Solution code:
a,b = input().split()
print(len(str(a + b)))

Submission status: Wrong Answer

Solution code:
a,b = map(lambda x: int(x), input().split())
print(len(str(a + b)))

Submission status: Wrong Answer

Solution code:
a,b = map(lambda x: int(x), input().split())
c = a + b
print(len(str(c)))

Submission status: Wrong Answer

Solution code:
import sys

l = []
try:
    for line in sys.stdin:
        a,b = map(int, line.split())
        c = a + b
        l.append(len(str(c)))

except:
    for i in l:
        print(i)

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split(" "))
print(len(str(a+b)))

Submission status: Wrong Answer

Solution code:
a,b = map(int,input().split(" "))
a = a+b
n=len(str(a))
print(n)

Submission status: Wrong Answer

Solution code:
num = map(int, raw_input().split())
import math
num = [i if i is not 0 else 1 for i in num]
print int(math.floor(math.log(num[1], 10))+1+math.floor(math.log(num[0], 10))+1)

Submission status: Wrong Answer

Solution code:
num = map(int, raw_input().split())
import math
num = [i if i is not 0 else 1 for i in num]
print int(math.floor(math.log(num[1]+num[0], 10))+1)

Submission status: Wrong Answer

Solution code:
num = map(int, raw_input().split())
import math
print int(math.floor(math.log(num[1]+num[0], 10))+1)

Submission status: Wrong Answer

Solution code:
num = map(int, raw_input().split())
import math
if num[0] is 0 and num[1] is 0:
  num[0]=1
print int(math.floor(math.log(num[1]+num[0], 10))+1)

Submission status: Wrong Answer

Solution code:
all = []
for i in range(3):
	sums = list(map(int, input().split(' ')))
	all.append(sums)

for i in range(len(all)):
	keta = str(all[i][0] + all[i][1])
	print(len(list(keta)))

Submission status: Wrong Answer

Solution code:
# -*-coding:utf-8-*-

def get_input():
    
    while True:
        try:
            yield "".join(input())
        except EOFError:
            break
                     
if __name__=="__main__":
    array = list(get_input())
    for i in range(len(array)):
        
        temp = array[i].split()
        
        a = int(temp[0])
        b = int(temp[1])

 
                
        ans = a + b
        
        print(ans)

Submission status: Wrong Answer

Solution code:
import sys,math
for l in sys.stdin:
    print(math.floor(math.log(sum(map(int,l.split())),10)+1))

Submission status: Wrong Answer

Solution code:
import sys,math
a=[math.floor(math.log(sum(map(int,l.split())),10)+1) for l in sys.stdin]
for d in a:
    print(d)

Submission status: Wrong Answer

Solution code:
import math

while True:
	try:
		a, b = map(int, input().split())
		print(int(math.log(a + b, 10)) + 1)
	except EOFError:
		break

Submission status: Wrong Answer

Solution code:
import math

while True:
	try:
		a, b = map(int, input().split())
		if a + b == 0: print(0)
		else: print(int(math.log(a + b, 10)) + 1)
	except EOFError:
		break

Submission status: Wrong Answer

Solution code:
import math

while True:
	try:
		a, b = map(int, input().split())
		if a + b == 0: print(1)
		else: print(int(math.log(a + b, 10)) + 1)
	except EOFError:
		break

Submission status: Wrong Answer

Solution code:
import math
import sys
for line in sys.stdin:
    a, b = map(int, line.split())
    print(math.log10(a + b) + 1)

Submission status: Wrong Answer

Solution code:
import sys
a = []
for i in sys.stdin:
    a = list(map(int, input().split()))
    b = a[0] + a[1]
    c = str(b)
    print(len(c))

Submission status: Wrong Answer

Solution code:
inl=map(int, raw_input().split())
num=inl[0]+inl[1]
a=list(str(num))

time=0
for i in a:
   time+=1

print time

Submission status: Wrong Answer

Solution code:
inl=map(int, raw_input().split())
num=inl[0]+inl[1]
a=list(str(num))

time=0
for i in a:
  time+=1

print time

Submission status: Wrong Answer

Solution code:
import sys

a = []
for line in sys.stdin:
    a.append(line)

for n in a:
    inl=n.split()
    num=inl[0]+inl[1]
    l=list(num)
    time=0
    for i in l:
        time+=1
    print time

Submission status: Wrong Answer

Solution code:
import sys

a = []
for line in sys.stdin:
    a.append(line)

for n in a:
    inl=n.split()
    num=inl[0]+inl[1]
    if num==0:
        print "0"
    else:
        l=list(num)
        time=0
        for i in l:
            time+=1
        print time

Submission status: Wrong Answer

Solution code:
def get_input():
    while True:
        try:
            yield ''.join(raw_input())
        except EOFError:
            break

if __name__ == '__main__':
    a = list(get_input())

for n in a:
    inl=n.split()
    num=inl[0]+inl[1]
    l=list(num)
    time=0
    for i in l:
        time+=1
    print time

Submission status: Wrong Answer

Solution code:
def get_input():
    while True:
        try:
            yield ''.join(raw_input())
        except EOFError:
            break

if __name__ == '__main__':
    a = list(get_input())

for n in a:
    inl=n.split()
    num=inl[0]+inl[1]
    l=list(str(num))
    time=0
    for i in l:
        time+=1
    print time

Submission status: Wrong Answer

Solution code:
a=map(int,input().split())
print(len(str(sum(a))))

Submission status: Wrong Answer

Solution code:
print(len(str(sum(list(map(int,input().split()))))))

Submission status: Wrong Answer

Solution code:
import math
nums = list(map(int, input().split()))
if nums[0]==0:
    a=1
else:
    a = int(1.0+math.log(nums[0],10))
if nums[1]==0:
    b=1
else:
    b = int(1.0+math.log(nums[1],10))
print(a+b)

Submission status: Wrong Answer

Solution code:
import math
import sys

for line in sys.stdin:
    words=line.strip().split(" ")
    a=int(words[0])
    b=int(words[1])
    if a==0:
        a=1
    else:
        a = int(1.0+math.log(a,10))
    if b==0:
        b=1
    else:
        b = int(1.0+math.log(b,10))
    print(a+b)

Submission status: Wrong Answer

Solution code:
import math
import sys

for line in sys.stdin:
    words=line.strip().split(" ")
    a=int(words[0])
    b=int(words[1])
    if a==0:
        a=1
    else:
        a = int(1.0+math.log(a,10))
    if b==0:
        b=1
    else:
        b = int(1.0+math.log(b,10))
    if a==0 and b==0:
        print(1)
    else:
    	print(a+b)

Submission status: Wrong Answer

Solution code:
import math
import sys

for line in sys.stdin:
    words=line.strip().split(" ")
    a=int(words[0])
    b=int(words[1])
    if a==0 and b==0:
        print(1)
    else:
        if a==0:
            a=1
        else:
            a = int(1.0+math.log(a,10))
        if b==0:
            b=1
        else:
            b = int(1.0+math.log(b,10))
        print(a+b)

Submission status: Wrong Answer

Solution code:
import math
import sys

for line in sys.stdin:
    words=line.strip().split(" ")
    a=int(words[0])
    b=int(words[1])
    if a==0 and b==0:
        print(2)
    else:
        if a==0:
            a=1
        else:
            a = int(1.0+math.log(a,10))
        if b==0:
            b=1
        else:
            b = int(1.0+math.log(b,10))
        print(a+b)

Submission status: Wrong Answer

Solution code:
import math
import sys

for line in sys.stdin:
    words=line.strip().split(" ")
    a=int(words[0])
    b=int(words[1])
    c=a+b
    if c!=0:
        print(int(1.0+math.log(c,10)))
    else:
    	print(1)

Submission status: Wrong Answer

Solution code:
import math
import sys

for line in sys.stdin:
    words=line.strip().split(" ")
    a=int(words[0])
    b=int(words[1])
    c=a+b
    if c!=0:
        print(int(1.0+math.log(c,10)))
    else:
    	print(0)

Submission status: Wrong Answer

Solution code:
import math
import sys

for line in sys.stdin:
    words=line.strip().split(" ")
    a=int(words[0])
    b=int(words[1])
    c=a+b
    if c!=0:
        print(int(1.0+math.log(c,10)))
    else:
        print(1)

Submission status: Wrong Answer

Solution code:
import math
import sys

for line in sys.stdin:
    words=line.strip().split(" ")
    a=int(words[0])
    b=int(words[1])
    c=a+b
    if c!=0:
        print(int(1.001+math.log(c,10)))
    else:
        print(1)

Submission status: Wrong Answer

Solution code:
import math
import sys

for line in sys.stdin:
    words=line.strip().split(" ")
    a=int(words[0])
    b=int(words[1])
    c=a+b
    if c!=0:
        print(int(1.00001+math.log(c,10)))
    else:
        print(1)

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
num=a+b
print(len(str(num)))

Submission status: Wrong Answer

Solution code:
__author__= 'CIPHER'

str = input()
numList = str.split(' ')
numList = [ int(x) for x in numList]
#print(numList)
result = 1
length = 0
for x in numList:
    result *= x
    length += x

print(length)

Submission status: Wrong Answer

Solution code:
import sys
L = sys.stdin.readlines()
for line in L:  ##line?????????????????????
	N = line.split()  ##N??????????????¨????????????
	sums = int(N[0]) + int(N[1])
	print(len(str(sums))+1)

Submission status: Wrong Answer

Solution code:
import sys
L = sys.stdin.readlines()
for line in L:
	N = line.split()
	sums = int(N[0]) + int(N[1])
	print(len(str(sums))+1)

Submission status: Wrong Answer

Solution code:
import sys

for line in sys.stdin:
    a, b = line.split()
    print(len(str(a + b)))

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

import sys

def get_digits(n):
    if n < 0:
        n *= -1
    return len(str(n))


def main():
    data = []
    for line in sys.stdin:
        a, b = map(int, input().split())
        digits = get_digits(a+b)
        print(digits)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
while True:
    try:
        a, b = map(int, raw_input().split())
    except EOFError:
        break

print len(str(a+b))

Submission status: Wrong Answer

Solution code:
# Compatible with Python3
# -*- coding: utf-8 -*-
from math import log10
print(int(log10(eval(input().replace(" ", "+"))) + 1))

Submission status: Wrong Answer

Solution code:
[print(len(str(sum(map(int, input().split()))))) for _ in range(1)]

Submission status: Wrong Answer

Solution code:
[print(i//10)for i in[sum(int(e)for e in ln.split())for ln in __import__("sys").stdin]]

Submission status: Wrong Answer

Solution code:
values = []
x, y = [int(x) for x in input().split()]
digit = 0
sum = x + y
while sum >= 1:
    sum //= 10
    digit += 1
print(digit)

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
print(len(str(a+b)))

Submission status: Wrong Answer

Solution code:
# -*- coding:utf-8 -*-

while True:
    try:
        array = input().split()
        a, b = int(array[0]), int(array[1])
    
        x = a+b
        print(int(math.log10(x) + 1))
    except:
        break

Submission status: Wrong Answer

Solution code:
l = 0
l = input().split()
a = len(l[0])
b = len(l[1])
k=a+b
print(k)

Submission status: Wrong Answer

Solution code:
l = 0
l = input().split()
a = int(l[0])
b = int(l[1])
k=str(a+b)
print(len(k))

Submission status: Wrong Answer

Solution code:
def plus_and_check(list):
    sum_up = 0
    for i in range(len(list)):
        sum_up += list[i]
    return len(str(sum_up))


l = map(int, raw_input().split())
print "%d" % plus_and_check(l)

Submission status: Wrong Answer

Solution code:
def plus_and_check(list):
    sum_up = 0
    for i in range(len(list)-1):
        sum_up += list[i]
    return len(str(sum_up))
    


l = map(int, raw_input().split())
print "%d" % plus_and_check(l)

Submission status: Wrong Answer

Solution code:
def plus_and_check(list):
    sum_up = sum(list)
    return len(str(sum_up))

l = map(int, raw_input().split())
print "%d" % plus_and_check(l)

Submission status: Wrong Answer

Solution code:
while True:
    try:
        line = input()
    except EOFError:
        break
    a, b = map(int, line.split())
    print(a + b)

Submission status: Wrong Answer

Solution code:
while True:
    try:
        line = input()
    except EOFError:
        break
    print(len(list(filter(lambda c: c in '123456789', line))))

Submission status: Wrong Answer

Solution code:
while True:
    try:
        line = input()
    except EOFError:
        break
    print(len(list(filter(lambda c: c in '1234567890', line))))

Submission status: Wrong Answer

Solution code:
#! /usr/bin/env python
# -*- coding: utf-8 -*-

def main():
    nums = input().split(" ")
    sum = int(nums[0]) + int(nums[1])
    print(len(str(sum)))

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
nums = input().split(" ")
sum = int(nums[0]) + int(nums[1])
print(len(str(sum)))

Submission status: Wrong Answer

Solution code:
import sys

tokens = []
for line in sys.stdin.readlines():
    tokens.append(list(map(int, line.strip().split())))

for i in range(len(tokens)):
    print(tokens[i][0] + tokens[i][1])

Submission status: Wrong Answer

Solution code:
import sys

while True:
    line = sys.stdin.readline()
    if line == '':
        break
    token = list(map(int, line.strip().split()))
    print(token[0] + token[1])

Submission status: Wrong Answer

Solution code:
import sys
for line in sys.stdin:
    a,b = map(int,input().split())
    print(len(str(a+b)))

Submission status: Wrong Answer

Solution code:
data_set_count = 3
data_set = []
for _ in range(data_set_count):
    data_set.append(list(map(int, input().split())))

for i in range(data_set_count):
    data = data_set[i][0] + data_set[i][1]
    print(len(str(data)))

Submission status: Wrong Answer

Solution code:
data_set_count = 3
for _ in range(data_set_count):
    data_set = list(map(int, input().split()))
    data = data_set[0] + data_set[1]
    print(len(str(data)))

Submission status: Wrong Answer

Solution code:
data_set = list(map(int, input().split()))
data = data_set[0] + data_set[1]
print(len(str(data)))

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
sum=str(a+b)
print(len(sum))

Submission status: Wrong Answer

Solution code:
a,b=map(int,input().split())
sum=a+b
sum=str(sum)
print(len(sum))

Submission status: Wrong Answer

Solution code:
input = raw_input()
splited = input.split()
num = int(splited[0])+int(splited[1])
print len(str(num))

Submission status: Wrong Answer

Solution code:
input = raw_input()
print input

Submission status: Wrong Answer

Solution code:
splited = raw_input().split()
num = int(splited[0])+int(splited[1])
print len(str(num))

Submission status: Wrong Answer

Solution code:
a,b = map(int ,raw_input().split())
c=str(a+b)
print len(c)

Submission status: Wrong Answer

Solution code:
# coding: utf-8

import sys

def main():
    for line in sys.stdin:
        ls = list(map(int, line.split(' ')))
        print(ls[0]+ls[1])

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
p = input().split(" ")
n = int(p[0]) +int(p[1])
print(len(str(n)))

Submission status: Wrong Answer

Solution code:
import sys
L = list()

for i in sys.stdin:
    p = input().split(" ")
    q = int(p[0]) +int(p[1])
    L.append(q)

for j in range(int(len(L))):
    print(L[j])

Submission status: Wrong Answer

Solution code:
def main():
    def inputs():
        li = []
        count = 0
        try:
            while count < 200:
                li.append(input())
                count += 1
        except EOFError:
            return li
        return li

    li = inputs()
    for x in li:
        a = x.split(" ")
        print(int(a[0]) + int(a[1]))
    return None

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
while True:
	try:
		a,b = map(int, input().split())
	except:
		break

print(len(str(a+b)))

Submission status: Wrong Answer

Solution code:
#coding:utf-8
a,b = map(int, raw_input().split())
x = a + b
n = 0
while x > 0:
    if x / 10:
        n += 1
    elif x % 10:
        n += 1
    x = x / 10

print n

Submission status: Wrong Answer

Solution code:
#coding:utf-8
a = [map(int, raw_input().split()) for i in range(3)]
for i in range(len(a)):
    x = a[i][0] + a[i][1]
    n = 0
    while x > 0:
        if x / 10:
            n += 1
        elif x % 10:
            n += 1
        x = x / 10

    print n

Submission status: Wrong Answer

Solution code:
import fileinput

if __name__ == "__main__":
    for line in fileinput.input():
        v = line.split(" ")
        print(sum([int(i) for i in v]))

Submission status: Wrong Answer

Solution code:
import math
import sys

ab = []
for line in sys.stdin:
    ab.append(list(map(int, input().split())))


for line in ab:
    a, b = line[0], line[1]
    add_ans = a + b
    print(int(math.log10(add_ans)) + 1)

Submission status: Wrong Answer

Solution code:
import math
import sys

ab = []
for line in sys.stdin:
    ab.append(list(map(int, input().split())))


for line in ab:
    a, b = line[0], line[1]
    add_ans = a + b
    print(int(math.log10(add_ans) + 1))

Submission status: Wrong Answer

Solution code:
import math
import sys

ab = []
for line in sys.stdin:
    ab.append(list(map(int, input().split())))


for line in ab:
    a, b = line[0], line[1]
    add_ans = a + b
    print(map(int, str(add_ans)))

Submission status: Wrong Answer

Solution code:
import math
import sys

ab = []
for line in sys.stdin:
    ab.append(list(map(int, input().split())))


for line in ab:
    a, b = line[0], line[1]
    add_ans = a + b
    print(len(str(add_ans)))

Submission status: Wrong Answer

Solution code:
import math
import sys

ab = []
for line in sys.stdin:
    ab.append(list(map(int, input().split())))


for line in ab:
    a, b = line[0], line[1]
    add_ans = int(a + b)
    print(len(str(add_ans)))

Submission status: Wrong Answer

Solution code:
import math
import sys

ab = []
for line in sys.stdin:
    ab.append(list(map(int, input().split())))


for x in ab:
    a, b = x[0], x[1]
    add_ans = int(a + b)
    print(len(str(add_ans)))

Submission status: Wrong Answer

Solution code:
import math
import sys

ab = []
for line in sys.stdin:
    ab.append(line)


for x in ab:
    a, b = x.split(" ")
    add_ans = int(a + b)
    print(len(str(add_ans)))

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Here your code !

while 1:
    try:
        a,b = map(int,input().split())
        print(a+b)
    except:
        break

Submission status: Wrong Answer

Solution code:
def main():
	a, b = map(int, input().split())
	c = a + b
	digits = 1
	while c // 10 != 0:
		c = c // 10
		digits += 1

	print(digits)

if __name__ == '__main__':
	main()

Submission status: Wrong Answer

Solution code:
while True:
 a,b=map(int,input().split())
 digit=(a+b)
 digit2=str(digit)
 print(len(digit2))
 break

Submission status: Wrong Answer

Solution code:
try:
    while True:
        result=0
        a,b =    map(int, input().split())
        result = a + b
        print(len(result))
except:
    pass

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
c = a+b

print( len(str(c)) )

Submission status: Wrong Answer

Solution code:
while True:
    try:
        line = input().split(" ")
        a = int(line[0])
        b = int(line[1])
        print(a+b)
    except:
        break

Submission status: Wrong Answer

Solution code:
def main():
    a, b = map(int, input().split())
    hoge = list(str(a + b))
    print(len(hoge))

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
while True:
    try:
        x = list(map(int, input().split(' ')))
        n = x[0] * x[1]
        print(len(str(n)))
    except EOFError:
        break

Submission status: Wrong Answer

Solution code:
import sys

for line in sys.stdin:
  x, y = map(int, line.split())
  print(x+y)

Submission status: Wrong Answer

Solution code:
answers=[]
while True:
    try:
        nums=input().split()
        answers.append(len(nums[0])+len(nums[1]))
    except:
        break

for i in range(len(answers)):
    print(answers[i])

Submission status: Wrong Answer

Solution code:
answers=[]
while True:
    try:
        nums=input().split()
        answers.append(len(nums[0]+nums[1]))
    except :
        break
for i in range(len(answers)):
    print(answers[i])

Submission status: Wrong Answer

Solution code:
a,b=input().strip().split()
a=int(a)
b=int(b)
sum = a+b
sum = str(sum)
print(len(sum))

Submission status: Wrong Answer

Solution code:
a, b = map(int, input().split())
print(len(str(a+b)))

Submission status: Wrong Answer

Solution code:
inputNums = list(map(int, input().split()))
print(len(str(inputNums[0] + inputNums[1])))

Submission status: Wrong Answer

Solution code:
import sys

for i in sys.stdin:
    a,b = i.split()
    a,b = int(a),int(b)
    print(a+b)

Submission status: Wrong Answer

Solution code:
import sys
import fileinput

for i in fileinput.input():
    a,b = i.split()
    a,b = int(a),int(b)
    print(a+b)

Submission status: Wrong Answer

Solution code:
import math

Submission status: Wrong Answer

Solution code:
x,y=[int(i) for i in input().split()]

Submission status: Wrong Answer

Solution code:
import math
x,y=[int(i) for i in input().split()]
a = int (math.log10(x + y) + 1)
print(a)

Submission status: Wrong Answer

Solution code:
# coding: utf-8

import codecs
import sys

sys.stdout = codecs.getwriter("shift_jis")(sys.stdout) # ??????
sys.stdin = codecs.getreader("shift_jis")(sys.stdin) # ??\???

# ??\??¬?????????print??????????????´?????? print(u'?????????') ??¨??????
# ??\??¬?????????input??? input(u'?????????') ??§OK
# ??°?¢???????????????????????????´??????6,7???????????????????????¢??????

DEBUG = 0

if DEBUG==0:
	N, M = map(int, raw_input().split())
	a = []
	for i in range(M):
		a.append(map(int, raw_input().split()))
else:
	a = [[5,7],[1,99],[1000,999]]

import math

for i in range(len(a)):
	wa = a[i][0] + a[i][1]
	keta = int(math.log(wa, 10)) + 1
	print keta

Submission status: Wrong Answer

Solution code:
# coding: utf-8

import codecs
import sys

sys.stdout = codecs.getwriter("shift_jis")(sys.stdout) # ??????
sys.stdin = codecs.getreader("shift_jis")(sys.stdin) # ??\???

# ??\??¬?????????print??????????????´?????? print(u'?????????') ??¨??????
# ??\??¬?????????input??? input(u'?????????') ??§OK
# ??°?¢???????????????????????????´??????6,7???????????????????????¢??????

DEBUG = 0

if DEBUG==0:
	a = []
	for line in sys.stdin:
		deglist = line.split(" ")
		int_deglist = [int(x) for x in deglist]
		a.append(int_deglist)
else:
	a = [[5,7],[1,99],[1000,999]]

import math

for i in range(len(a)):
	wa = a[i][0] + a[i][1]
	keta = int(math.log(wa, 10)) + 1
	print keta