s_id stringlengths 10 10 | p_id stringlengths 6 6 | u_id stringlengths 10 10 | date stringlengths 10 10 | language stringclasses 1 value | original_language stringclasses 11 values | filename_ext stringclasses 1 value | status stringclasses 1 value | cpu_time stringlengths 1 5 | memory stringlengths 1 7 | code_size stringlengths 1 6 | code stringlengths 1 539k |
|---|---|---|---|---|---|---|---|---|---|---|---|
s143414340 | p00002 | u776559258 | 1477533845 | Python | Python3 | py | Runtime Error | 0 | 0 | 119 | import sys
input_lines=sys.stdin.readlines()
for line in input_lines:
x,y=[int(i) for i in line]
print(len(str(x+y))) |
s341353440 | p00002 | u776559258 | 1477533901 | Python | Python3 | py | Runtime Error | 0 | 0 | 123 | import sys
input_lines=sys.stdin.readlines()
for line in input_lines:
x=[int(i) for i in line]
print(len(str(x[0]+x[1]))) |
s199721595 | p00002 | u831244171 | 1477586292 | Python | Python | py | Runtime Error | 0 | 0 | 92 | while True:
m,n = map(int,raw_input().split())
a = list(str(m + n))
print len(a) |
s739242984 | p00002 | u831244171 | 1477586436 | Python | Python | py | Runtime Error | 0 | 0 | 113 | while True:
try:
m,n = map(int,raw_input().split())
a = list(str(m + n))
print len(a)
except EOFError:
break |
s847524907 | p00002 | u831244171 | 1477586512 | Python | Python | py | Runtime Error | 0 | 0 | 139 | while True:
try:
m,n = map(int,raw_input().split())
a = list(str(m + n))
print len(a)
except:
break |
s635107249 | p00002 | u831244171 | 1477587134 | Python | Python | py | Runtime Error | 0 | 0 | 92 | import sys
for i in sys.stdin:
print len(list(str(sum(map(int,raw_input().split())))))
|
s666532719 | p00002 | u831244171 | 1477587234 | Python | Python | py | Runtime Error | 0 | 0 | 88 | import sys
for i in sys.stdin: print len(list(str(sum(map(int,raw_input().split())))))
|
s612624363 | p00002 | u166871988 | 1477922485 | Python | Python3 | py | Runtime Error | 0 | 0 | 238 | while True:
rig=[int(i) for i in input().split(" ")]
ke=rig[0]+rig[1]
ans=1
count=10
while True:
if ke<count:
print(ans)
break
else:
ans+=1
count=count*10 |
s097612159 | p00002 | u922871577 | 1479277811 | Python | Python | py | Runtime Error | 0 | 0 | 80 | for line in sys.stdin:
a, b = map(int, line.split())
print len(str(a+b)) |
s662860892 | p00002 | u301729341 | 1480859556 | Python | Python3 | py | Runtime Error | 0 | 0 | 138 | while True:
try:
Nu = list(map(int,input().split()))
print(len(str(Nu[0]+Nu[1])))
except IndexError:
break |
s521586395 | p00002 | u301729341 | 1480859765 | Python | Python3 | py | Runtime Error | 0 | 0 | 125 | while True:
try:
a,b = map(int,input().split())
print(len(str(a+b)))
except ValueError:
break |
s804045820 | p00002 | u435300817 | 1480893705 | Python | Python3 | py | Runtime Error | 0 | 0 | 334 | values = []
i = 0
while True:
values.append([int(x) for x in input().split()])
if [] == values[i] and 0 == len(values[i]):
values.pop()
break
else:
i += 1
sum = 0
digit = 0
for x, y in values:
sum = x + y
digit = 0
while sum >= 1:
sum //= 10
digit += 1
print(digit) |
s768617216 | p00002 | u206656948 | 1481336881 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | l = map(int, raw_input().split())
l1 = [int(i) for i in l]
sum = (l1[0] + l1[1])
import math
print(int(math.log10(sum) + 1)) |
s686559163 | p00002 | u206656948 | 1481336952 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | l = map(int, raw_input().split())
l1 = [int(i) for i in l]
sum = (l1[0] + l1[1])
print(int(math.log10(sum) + 1)) |
s226809513 | p00002 | u206656948 | 1481337252 | Python | Python3 | py | Runtime Error | 0 | 0 | 220 | while True:
try:
l = map(int, raw_input().split())
l1 = [int(i) for i in l]
sum = (l1[0] + l1[1])
import math
print(int(math.log10(sum) + 1))
except EOFError:
break |
s321037007 | p00002 | u206656948 | 1481337321 | Python | Python3 | py | Runtime Error | 0 | 0 | 212 | import math
while True:
try:
l = map(int, raw_input().split())
l1 = [int(i) for i in l]
sum = (l1[0] + l1[1])
print(int(math.log10(sum) + 1))
except EOFError:
break |
s629715165 | p00002 | u711765449 | 1483532594 | Python | Python3 | py | Runtime Error | 0 | 0 | 122 | # -*- coding:utf-8 -*-
array = input().split()
a, b = int(array[0]), int(array[1])
x = a+b
print(int(math.log10(x) + 1)) |
s800094482 | p00002 | u711765449 | 1483532740 | Python | Python3 | py | Runtime Error | 0 | 0 | 154 | # -*- coding:utf-8 -*-
while True:
array = input().split()
a, b = int(array[0]), int(array[1])
x = a+b
print(int(math.log10(x) + 1)) |
s612646398 | p00002 | u711765449 | 1483533844 | Python | Python3 | py | Runtime Error | 0 | 0 | 234 | # -*- coding:utf-8 -*-
import sys
import math
array =[]
for line in sys.stdin:
array.append(line)
for i in range(array):
num = array[i].sprit(' ')
a = num[0]
b = num[1]
n = a + b
print(int(math.log10(x) + 1)) |
s127385514 | p00002 | u711765449 | 1483533963 | Python | Python3 | py | Runtime Error | 0 | 0 | 367 | # -*- coding:utf-8 -*-
#Write a program which computes the digit number of sum of two integers a and b.
import sys
import math
array =[]
for line in sys.stdin:
try:
array.append(line)
except EOFError:
break
for i in range(array):
num = array[i].sprit(' ')
a = num[0]
b = num[1]
n = a + b
print(int(math.log10(x) + 1)) |
s443192709 | p00002 | u319774425 | 1484484736 | Python | Python | py | Runtime Error | 0 | 0 | 171 | def plus_and_check(list):
sum_up = 0
for i in range(len(list)-1):
sum_up += list[i]
l = map(int, raw_input().split())
print "%d" % plus_and_check(l) |
s947554658 | p00002 | u319774425 | 1484489527 | Python | Python | py | Runtime Error | 0 | 0 | 295 | def plus_and_check(list):
sum_up = sum(list)
while i > 0:
number_1 = 10 * i
number_2 = 10 * (i+1)
if number_2 > sum_up and sum_up > number_1:
return i
else:
continue
l = map(int, raw_input().split())
print "%d" % plus_and_check(l) |
s376686663 | p00002 | u319774425 | 1484489544 | Python | Python | py | Runtime Error | 0 | 0 | 295 | def plus_and_check(list):
sum_up = sum(list)
while i > 0:
number_1 = 10 * i
number_2 = 10 * (i+1)
if number_2 > sum_up and sum_up > number_1:
return i
else:
continue
l = map(int, raw_input().split())
print "%d" % plus_and_check(l) |
s364070620 | p00002 | u319774425 | 1484489603 | Python | Python | py | Runtime Error | 0 | 0 | 313 | def plus_and_check(list):
sum_up = sum(list)
while i > 0:
number_1 = 10 * i
number_2 = 10 * (i+1)
if number_2 > sum_up and sum_up > number_1:
return i
else:
continue
i = i + 1
l = map(int, raw_input().split())
print "%d" % plus_and_check(l) |
s839801161 | p00002 | u319774425 | 1484626810 | Python | Python | py | Runtime Error | 0 | 0 | 281 | import sys
def plus_and_check(list):
sum_up = sum(list)
return len(str(sum_up))
a = []
for line in sys.stdin:
a.append(map(iny, raw_input().split()))
answer = []
for i in range(len(a)):
answer = plus_and_check(l)
for i in range(len(answer)):
print answer[i] |
s559747093 | p00002 | u319774425 | 1484627091 | Python | Python | py | Runtime Error | 0 | 0 | 284 | import sys
def plus_and_check(list):
sum_up = sum(list)
return len(str(sum_up))
a = []
for line in sys.stdin:
a.append(map(iny, raw_input().split()))
answer = []
for i in range(len(a)):
answer = plus_and_check(a[i])
for i in range(len(answer)):
print answer[i] |
s657058062 | p00002 | u319774425 | 1484627644 | Python | Python | py | Runtime Error | 0 | 0 | 284 | import sys
def plus_and_check(list):
sum_up = sum(list)
return len(str(sum_up))
a = []
for line in sys.stdin:
a.append(map(int, raw_input().split()))
answer = []
for i in range(len(a)):
answer = plus_and_check(a[i])
for i in range(len(answer)):
print answer[i] |
s367398325 | p00002 | u319774425 | 1484627786 | Python | Python | py | Runtime Error | 0 | 0 | 274 | import sys
def plus_and_check(lines):
a, b = lines.split()
number = a + b
return len(str(number))
a = []
for line in sys.stdin:
a.append(int(line))
answer = []
for i in range(len(a)):
answer = plus_and_check(a[i])
for i in range(len(answer)):
print answer[i] |
s286672393 | p00002 | u319774425 | 1484627829 | Python | Python | py | Runtime Error | 0 | 0 | 274 | import sys
def plus_and_check(lines):
c, d = lines.split()
number = c + d
return len(str(number))
a = []
for line in sys.stdin:
a.append(int(line))
answer = []
for i in range(len(a)):
answer = plus_and_check(a[i])
for i in range(len(answer)):
print answer[i] |
s271839175 | p00002 | u319774425 | 1484627955 | Python | Python | py | Runtime Error | 0 | 0 | 275 | import sys
def plus_and_check(lines):
c, d = lines.split()
number = c + d
return len(str(number))
a = []
for line in sys.stdin:
a.append(int(line))
answer = []
i = 0
while i < len(a):
answer = plus_and_check(a[i])
j = 0
while j < len(answer):
print answer[i] |
s595907281 | p00002 | u319774425 | 1484628594 | Python | Python | py | Runtime Error | 0 | 0 | 278 | import sys
def plus_and_check(lines):
c, d = lines.split()
number = c + d
return len(str(number))
a = []
answer = []
for line in sys.stdin:
a.append(int(line))
i = 0
while i < len(a)-1:
answer = plus_and_check(a[i])
j = 0
while j < len(answer)-1:
print answer[i] |
s895469647 | p00002 | u811841526 | 1485605228 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | while True:
line = input()
if not line:
break
a, b = map(int, line.split())
print(a + b) |
s783805102 | p00002 | u811841526 | 1485605310 | Python | Python3 | py | Runtime Error | 0 | 0 | 128 | while True:
try:
line = input()
except IOError:
break
a, b = map(int, line.split())
print(a + b) |
s965074333 | p00002 | u811841526 | 1485605556 | Python | Python3 | py | Runtime Error | 0 | 0 | 158 | while True:
try:
line = input()
except EOFError:
break
for c in line:
print(len(filter(lambda c: c in '123456789', line))) |
s372165633 | p00002 | u811841526 | 1485605646 | Python | Python3 | py | Runtime Error | 0 | 0 | 135 | while True:
try:
line = input()
except EOFError:
break
print(len(filter(lambda c: c in '123456789', line))) |
s083611751 | p00002 | u811841526 | 1485605908 | Python | Python3 | py | Runtime Error | 0 | 0 | 202 | while True:
try:
line = input()
except EOFError:
break
s = sum(map(int, line.split()))
num = 0
for c in s:
if c.isdigit():
num += 1
print(num) |
s199063777 | p00002 | u655138261 | 1486565716 | Python | Python | py | Runtime Error | 0 | 0 | 191 | #! /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() |
s358392642 | p00002 | u897625141 | 1489384147 | Python | Python | py | Runtime Error | 0 | 0 | 60 | a,b = (int(i) for i in input().split())
print(len(str(a+b))) |
s387711664 | p00002 | u318658123 | 1489387800 | Python | Python3 | py | Runtime Error | 0 | 0 | 275 | if __name__ == '__main__':
nums = []
for line in sys.stdin:
if line == "\n":
break
else :
nums.append([int(item) for item in input().split(" ")])
for n in nums:
sum = n[0] + n[1]
print(len(str(sum)))
|
s872665190 | p00002 | u318658123 | 1489387893 | Python | Python3 | py | Runtime Error | 0 | 0 | 272 | if __name__ == '__main__':
nums = []
for line in sys.stdin:
if line == "\n":
break
else :
nums.append([int(item) for item in line.split(" ")])
for n in nums:
sum = n[0] + n[1]
print(len(str(sum)))
|
s672997317 | p00002 | u073709667 | 1490465005 | Python | Python | py | Runtime Error | 0 | 0 | 65 | a,b=map(int,input().split())
sum=a+b
sum=str(sum)
print(len(sum)) |
s120749778 | p00002 | u073709667 | 1490465810 | Python | Python3 | py | Runtime Error | 0 | 0 | 81 | while True:
a,b=map(int,input().split())
sum=str(a+b)
print(len(sum)) |
s168308078 | p00002 | u873302699 | 1490958167 | Python | Python | py | Runtime Error | 0 | 0 | 117 | while True:
input = raw_input()
splited = input.split()
num = int(splited[0])+int(splited[1])
print len(str(num)) |
s962668238 | p00002 | u873302699 | 1490958215 | Python | Python | py | Runtime Error | 0 | 0 | 117 | while True:
input = raw_input()
splited = input.split()
num = int(splited[0])+int(splited[1])
print len(str(num)) |
s410768963 | p00002 | u873302699 | 1490958848 | Python | Python | py | Runtime Error | 0 | 0 | 153 | while True:
try:
input = raw_input()
splited = input.split()
num = int(splited[0])+int(splited[1])
print len(str(num))
except EOFerror:
break |
s518519711 | p00002 | u873302699 | 1490958963 | Python | Python | py | Runtime Error | 0 | 0 | 137 | while True:
try:
splited = raw_input().split()
num = int(splited[0])+int(splited[1])
print len(str(num))
except EOFerror:
break |
s243283371 | p00002 | u873302699 | 1490959017 | Python | Python | py | Runtime Error | 0 | 0 | 102 | while True:
try:
a,b = map(int raw_input().split())
print len(str(a+b))
except EOFerror:
break |
s305964024 | p00002 | u873302699 | 1490959062 | Python | Python | py | Runtime Error | 0 | 0 | 103 | while True:
try:
a,b = map(int, raw_input().split())
print len(str(a+b))
except EOFerror:
break |
s947645099 | p00002 | u873302699 | 1490959092 | Python | Python | py | Runtime Error | 0 | 0 | 108 | while True:
try:
a,b = map(int, raw_input().split())
print int(len(str(a+b)))
except EOFerror:
break |
s890212265 | p00002 | u337016727 | 1491206938 | Python | Python3 | py | Runtime Error | 0 | 0 | 291 | # coding: utf-8
import fileinput
import math
reslt = []
for line in fileinput.input():
tokens = list(map(int, line.strip().split()))
wa = tokens[0], tokens[1]
keta = int(math.log10(wa) + 1)
result.append(keta)
for i in range(len(result)):
print[i]
|
s384981977 | p00002 | u371539389 | 1491821531 | Python | Python3 | py | Runtime Error | 0 | 0 | 167 | import sys
def keta(x):
return len(str(x))
while True:
t=input()
if t=="":
sys.exit()
a,b=[int(i) for i in t.split(" ")]
print(keta(a+b)) |
s659036853 | p00002 | u327704389 | 1494290768 | Python | Python | py | Runtime Error | 0 | 0 | 109 | while True:
try:
a,b = map(int,input().split())
print (len(str(a+b)))
except EOFError:
break: |
s641185612 | p00002 | u923668099 | 1494497066 | Python | Python3 | py | Runtime Error | 0 | 0 | 441 | import sys
def solve():
while True:
try:
a, b = map(int, sys.stdin.readline().split())
c = a + b
if c == 0:
print(1)
else:
ans = 0
while c > 0:
ans += 1
c //= 10
print(ans)
except EOFError:
return
if __name__ == '__main__':
solve() |
s321101879 | p00002 | u362104929 | 1494576364 | Python | Python3 | py | Runtime Error | 0 | 0 | 385 | def main():
def inputs():
li = []
string = input()
count = 0
while count < 201 and string != "":
li.append(string)
string = input()
count += 1
return li
li = inputs()
for x in li:
a = x.split(" ")
print(int(a[0]) + int(a[1]))
return None
if __name__ == '__main__':
main() |
s912228885 | p00002 | u922489088 | 1495795212 | Python | Python3 | py | Runtime Error | 0 | 0 | 105 | import sys
while True:
print(len(str(abs(sum(map(int, sys.stdin.readline().rstrip().split(' '))))))) |
s047108808 | p00002 | u342125850 | 1496747962 | Python | Python3 | py | Runtime Error | 0 | 0 | 157 | judge = True
while judge:
a,b = map(int, input().split(" "))
if a == None:
judge = False
else:
c = a+b
print(len(str(c))) |
s975723224 | p00002 | u342125850 | 1496748120 | Python | Python3 | py | Runtime Error | 0 | 0 | 157 | judge = True
while judge:
a,b = map(int, input().split(" "))
if a != None:
c = a+b
print(len(str(c)))
else:
judge = False |
s447728215 | p00002 | u387731924 | 1498023591 | Python | Python3 | py | Runtime Error | 0 | 0 | 99 | for var in range(1,2001):
a,b=map(int,input().split())
c=a+b
c=str(c)
print(len(c)) |
s826210106 | p00002 | u844704750 | 1498732377 | Python | Python3 | py | Runtime Error | 0 | 0 | 135 | import math
for _ in range(200):
a, b = list(map(int, input().split()))
add_ans = a + b
print(int(math.log10(add_ans)) + 1) |
s273086285 | p00002 | u498511622 | 1500879335 | Python | Python3 | py | Runtime Error | 0 | 0 | 93 | while True:
a,b=map(int,input().split())
digit=(a+b)
digit2=str(digit)
print(len(digit2)) |
s062396791 | p00002 | u498511622 | 1500879348 | Python | Python3 | py | Runtime Error | 0 | 0 | 93 | while True:
a,b=map(int,input().split())
digit=(a+b)
digit2=str(digit)
print(len(digit2)) |
s880411784 | p00002 | u498511622 | 1500879443 | Python | Python3 | py | Runtime Error | 0 | 0 | 101 | while True:
a,b=map(int,input().split())
digit=(a+b)
digit2=str(digit)
print(len(digit2))
print() |
s050953323 | p00002 | u498511622 | 1500879546 | Python | Python3 | py | Runtime Error | 0 | 0 | 103 | while True:
a,b=map(int,input().split())
digit=(a+b)
digit2=str(digit)
print(len(digit2))
print('') |
s234474518 | p00002 | u369093003 | 1501418301 | Python | Python3 | py | Runtime Error | 0 | 0 | 154 | l = []
for i in range(200):
a = input()
if a == 'EOF':
break
else:
b = a[0] + a[2]
l.append(l)
n = 0
for i in range(len(l)):
print(len(l[n])) |
s795970679 | p00002 | u369093003 | 1501419046 | Python | Python3 | py | Runtime Error | 0 | 0 | 240 | l = []
for i in range(200):
a,b = map(str,input().split(' '))
if a == 'EOF':
break
else:
c = int(a)
d = int(b)
e = c + d
l.append(e)
a = 0
b = 0
c = 0
d = 0
e = 0
n = 0
for i in range(len(l)):
print(len(l[n])) |
s731333626 | p00002 | u187606290 | 1502042198 | Python | Python3 | py | Runtime Error | 0 | 0 | 272 | from sys import stdin
import math
lines = [line for line in stdin]
for line in lines:
a, b = [float(n) for n in line]
print(math.floor(math.log10(a + b)))
# x1, y1, x2, y2, x3, y3, xp, yp = [float(r) for r in line]
# print(x1, y1, x2, y2, x3, y3, xp, yp) |
s497584993 | p00002 | u821624310 | 1502456452 | Python | Python3 | py | Runtime Error | 0 | 0 | 75 | while True:
a, b = map(int, input().split())
print(len(str(a + b))) |
s915040441 | p00002 | u821624310 | 1502456576 | Python | Python3 | py | Runtime Error | 0 | 0 | 75 | while True:
a, b = map(int, input().split())
print(len(str(a + b))) |
s299687931 | p00002 | u821624310 | 1502458223 | Python | Python3 | py | Runtime Error | 0 | 0 | 97 | while 1:
a, b = map(int, input().split())
c = a + b
c = str(c)
print(len(c))
|
s247622626 | p00002 | u821624310 | 1502458610 | Python | Python3 | py | Runtime Error | 0 | 0 | 116 | import sys
while 1:
a, b = map(int, sys.stdin.readline().split())
c = a + b
c = str(c)
print(len(c)) |
s078732134 | p00002 | u234052535 | 1502787816 | Python | Python3 | py | Runtime Error | 0 | 0 | 168 | import math
while True:
line = input().split(" ")
if(len(line) != 2):
exit()
a = int(line[0])
b = int(line[1])
print(int(math.log10(a+b))+1) |
s783930892 | p00002 | u234052535 | 1502787841 | Python | Python3 | py | Runtime Error | 0 | 0 | 169 | #import math
while True:
line = input().split(" ")
if(len(line) != 2):
exit()
a = int(line[0])
b = int(line[1])
print(int(math.log10(a+b))+1) |
s314316469 | p00002 | u234052535 | 1502787929 | Python | Python3 | py | Runtime Error | 0 | 0 | 174 | import numpy.math
while True:
line = input().split(" ")
if(len(line) != 2):
exit()
a = int(line[0])
b = int(line[1])
print(int(math.log10(a+b))+1) |
s220630087 | p00002 | u234052535 | 1502787946 | Python | Python3 | py | Runtime Error | 0 | 0 | 167 | import math
while True:
line = input().split(" ")
if(len(line) != 2):
break
a = int(line[0])
b = int(line[1])
print(int(math.log10(a+b))+1) |
s751743436 | p00002 | u551456712 | 1502848128 | Python | Python3 | py | Runtime Error | 0 | 0 | 78 | import sys
a = [print(len(sum(map(int, line.split())))) for line in sys.stdin] |
s540355932 | p00002 | u299798926 | 1502854901 | Python | Python3 | py | Runtime Error | 0 | 0 | 115 | while(True):
x,y=input().split()
if x=="EOFError":
break
k=int(x)+int(y)
print(len(str(k))) |
s437190801 | p00002 | u299798926 | 1502855227 | Python | Python3 | py | Runtime Error | 0 | 0 | 143 | try:
while(True):
x,y=input().split()
except EOFError:
pass
k=int(x)+int(y)
print(len(str(k))) |
s167144423 | p00002 | u659034691 | 1505692674 | Python | Python3 | py | Runtime Error | 0 | 0 | 116 | while True:
try:
a,b=(int(i) for i in input().split())
print(len(str(a+b)))
except EOFError: |
s868557387 | p00002 | u741801763 | 1505718015 | Python | Python3 | py | Runtime Error | 0 | 0 | 301 | if __name__ == "__main__":
for i in range(200):
a = list(map(int,input().strip().split()))
if len(a) == 0 :break
absum = a[0] + a[1]
count = 1
while 1:
if absum < 10: break
absum= absum /10
count += 1
print(count) |
s215225577 | p00002 | u741801763 | 1505718030 | Python | Python3 | py | Runtime Error | 0 | 0 | 301 | if __name__ == "__main__":
for i in range(200):
a = list(map(int,input().strip().split()))
if len(a) == 0 :break
absum = a[0] + a[1]
count = 1
while 1:
if absum < 10: break
absum= absum /10
count += 1
print(count) |
s118247347 | p00002 | u741801763 | 1505718843 | Python | Python3 | py | Runtime Error | 0 | 0 | 356 | if __name__ == "__main__":
for i in range(200):
a = list(map(int,input().strip().split()))
if len(a) == 0 :break
absum = a[0] + a[1]
for j in range(1,8):
if absum < 10:
print(1)
break
elif int(absum/pow(10,j)) == 1:
print(j+1)
break |
s458752699 | p00002 | u741801763 | 1505720546 | Python | Python3 | py | Runtime Error | 0 | 0 | 133 | if __name__ == "__main__":
for i in range(200):
a,b = list(map(int,input().strip().split()))
print(len(str(a+b))) |
s292273481 | p00002 | u015592390 | 1507126343 | Python | Python3 | py | Runtime Error | 0 | 0 | 153 | while(1):
a,b=input().strip().split()
if a<0 or b<0:
break
a=int(a)
b=int(b)
sum = a+b
sum = str(sum)
print(len(sum)) |
s363144972 | p00002 | u256256172 | 1507280358 | Python | Python3 | py | Runtime Error | 0 | 0 | 73 | while True:
a, b = map(int, input().split())
print(len(str(a+b))) |
s928865002 | p00002 | u424041287 | 1509093682 | Python | Python3 | py | Runtime Error | 0 | 0 | 146 | import math
while t == 0:
try:
n = int(input().rstrip().split(??? ???))
except:
break
else:
print(math.log10(int(n[0]) + int(n[1])) + 1) |
s418186908 | p00002 | u424041287 | 1509093698 | Python | Python3 | py | Runtime Error | 0 | 0 | 144 | import math
while t == 0:
try:
n = int(input().rstrip.split(??? ???))
except:
break
else:
print(math.log10(int(n[0]) + int(n[1])) + 1) |
s633100075 | p00002 | u424041287 | 1509093927 | Python | Python3 | py | Runtime Error | 0 | 0 | 146 | import math
while t == 0:
try:
n = int(input().rstrip().split(??? ???))
except:
break
else:
print(math.log10(int(n[0]) + int(n[1])) + 1) |
s170686961 | p00002 | u424041287 | 1509093939 | Python | Python3 | py | Runtime Error | 0 | 0 | 102 | import math
while t == 0:
try:
n = int(input().rstrip().split(??? ???))
except:
break
else:
|
s695378520 | p00002 | u424041287 | 1509093984 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | import math
while t == 0:
try:
n = int(input().rstrip().split(??? ???))
except:
break
else:
print("a") |
s616922982 | p00002 | u424041287 | 1509094255 | Python | Python3 | py | Runtime Error | 0 | 0 | 134 | import math
while t == 0:
try:
n = int(raw_input().split())
except:
break
else:
print(math.log10(int(n[0]) + int(n[1])) + 1) |
s425833486 | p00002 | u424041287 | 1509094780 | Python | Python3 | py | Runtime Error | 0 | 0 | 127 | import math
while t == 0:
try:
x,y=[int(i) for i in input().split()]
except:
break
else:
print(math.log10(x + y) + 1) |
s623991079 | p00002 | u424041287 | 1509095093 | Python | Python3 | py | Runtime Error | 0 | 0 | 54 | import math
x,y=[int(i) for i in input().split()]
|
s890328041 | p00002 | u424041287 | 1509095159 | Python | Python3 | py | Runtime Error | 0 | 0 | 141 | import math
while t == 0:
try:
x,y=[int(i) for i in input().split()]
except:
break
else:
a = int (math.log10(x + y) + 1)
print(a) |
s466424209 | p00002 | u424041287 | 1509095193 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | import math
while t == 0:
try:
x,y=[int(i) for i in input().split()]
except:
break
else:
print("s") |
s551343501 | p00002 | u424041287 | 1509095295 | Python | Python3 | py | Runtime Error | 0 | 0 | 141 | import math
while t == 0:
try:
x,y=[int(i) for i in input().split()]
except:
break
else:
a = int (math.log10(x + y) + 1)
print(a) |
s113836205 | p00002 | u424041287 | 1509095334 | Python | Python3 | py | Runtime Error | 0 | 0 | 111 | import math
while t == 0:
x,y=[int(i) for i in input().split()]
a = int (math.log10(x + y) + 1)
print(a) |
s889410626 | p00002 | u424041287 | 1509095366 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | import math
while t == 0:
x,y=[int(i) for i in input().split()]
a = int (math.log10(x + y) + 1)
print(a) |
s083226588 | p00002 | u846136461 | 1509261897 | Python | Python | py | Runtime Error | 0 | 0 | 650 | # 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 i in range(200):
deglist=[int(x) for x in input().split(" ")]
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 |
s809208432 | p00002 | u846136461 | 1509262223 | Python | Python | py | Runtime Error | 0 | 0 | 613 | # 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 i in range(200):
deglist=[int(x) for x in input().split(" ")]
a.append(int_deglist)
else:
a = [[5,7],[1,99],[1000,999]]
for i in range(len(a)):
wa = a[i][0] + a[i][1]
print len(str(wa)) |
s767967622 | p00002 | u846136461 | 1509262514 | Python | Python | py | Runtime Error | 0 | 0 | 712 | # 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 i in range(200):
deglist=[int(x) for x in input().split(" ")]
a.append(deglist)
else:
a = [[5,7],[1,99],[1000,999]]
for i in range(len(a)):
wa = a[i][0] + a[i][1]
print len(str(wa))
"""
while True:
try:
deglist = [int(x) for x in input().split(" ")]
except EOFError:
break
""" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.