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
s591895386
p00002
u011621222
1510144914
Python
Python3
py
Runtime Error
0
0
171
while True: str = input() if str == "EOF" : break d = 1 a , b = str.split(' ') s = int(a) + int(b) while s > 9: s = s / 10 d = d + 1 print(d)
s044439350
p00002
u471400255
1510979353
Python
Python3
py
Runtime Error
0
0
197
from math import log10 as log A = [] while True: S =list(map(int,input().split())) try: A.append(int(log(S[0]+S[1])+1)) except IndexError: break for i in A: print(i)
s733773416
p00002
u742178809
1511319243
Python
Python3
py
Runtime Error
0
0
102
for line in sys.stdin: s=sum([int(num) for num in line.split(' ')]) print(len(str(s)))
s567022399
p00002
u742178809
1511319288
Python
Python3
py
Runtime Error
0
0
112
import os for line in sys.stdin: s=sum([int(num) for num in line.split(' ')]) print(len(str(s)))
s473472930
p00002
u255925718
1512162242
Python
Python
py
Runtime Error
0
0
256
def inp(): try: while True: data=raw_input() if not data: break yield data except KeyboardInterrupt: return A = [map(int, i.split()) for i in list(inp())] for i in A: print len(str(i[0]*i[1]))
s543745472
p00002
u255925718
1512162283
Python
Python
py
Runtime Error
0
0
186
def inp(): while True: data=raw_input() if not data: break yield data A = [map(int, i.split()) for i in list(inp())] for i in A: print len(str(i[0]*i[1]))
s485075980
p00002
u255925718
1512162609
Python
Python
py
Runtime Error
0
0
102
A = [map(int, i.split()) for i in list(iter(raw_input, ''))] for i in A: print len(str(i[0]*i[1]))
s037943037
p00002
u255925718
1512162702
Python
Python
py
Runtime Error
0
0
102
A = [map(int, i.split()) for i in list(iter(raw_input, ''))] for i in A: print len(str(i[0]*i[1]))
s240474824
p00002
u072683688
1512880463
Python
Python3
py
Runtime Error
0
0
136
while True: Str = input() if Str =="EOF": break a,b = map(int, Str.split()) #print(a,b) print(len(str(a+b)))
s756445329
p00002
u024715419
1513242900
Python
Python3
py
Runtime Error
0
0
99
for line in sys.stdin: a, b = map(int, line.split()) print(int(math.log(a + b, 10)//1 + 1))
s225170773
p00002
u706217959
1513330337
Python
Python3
py
Runtime Error
0
0
436
class add(): def __init__(self,a,b): self.a = a self.b = b def add(self): return self.a+self.b def main(): data_set = [] ds_max = 200 for i in range(0,ds_max): n = input().split() a = int(n[0]) b = int(n[1]) data_set.append(add(a,b)) for i in range(0,ds_max): ans = data_set[i].add() print(ans) if __name__ == "__main__": main()
s103826241
p00002
u706217959
1513330404
Python
Python3
py
Runtime Error
0
0
438
class add(): def __init__(self,a,b): self.a = a self.b = b def add(self): return self.a+self.b def main(): data_set = [] ds_max = 200 for i in range(0, ds_max): n = input().split() a = int(n[0]) b = int(n[1]) data_set.append(add(a,b)) for i in range(0, ds_max): ans = data_set[i].add() print(ans) if __name__ == "__main__": main()
s649162619
p00002
u706217959
1513330642
Python
Python3
py
Runtime Error
0
0
505
import math class DataSet(): def __init__(self,a,b): self.a = a self.b = b def add_size(self): ans = self.a+self.b return int(math.log10(ans)+1) def main(): data_set = [] ds_max = 200 for i in range(0, ds_max): n = input().split() a = int(n[0]) b = int(n[1]) data_set.append(DataSet(a,b)) for i in range(0, ds_max): ans = data_set[i].add_size() print(ans) if __name__ == "__main__": main()
s559533203
p00002
u706217959
1513330704
Python
Python3
py
Runtime Error
0
0
482
import math class DataSet(): def __init__(self,a,b): self.a = a self.b = b def add_size(self): ans = self.a+self.b return int(math.log10(ans)+1) def main(): data_set = [] for i in range(0, 200): n = input().split() a = int(n[0]) b = int(n[1]) data_set.append(DataSet(a,b)) for i in range(0, 200): ans = data_set[i].add_size() print(ans) if __name__ == "__main__": main()
s453607020
p00002
u706217959
1513330742
Python
Python3
py
Runtime Error
0
0
482
import math class DataSet(): def __init__(self,a,b): self.a = a self.b = b def add_size(self): ans = self.a+self.b return int(math.log10(ans)+1) def main(): data_set = [] for i in range(0, 199): n = input().split() a = int(n[0]) b = int(n[1]) data_set.append(DataSet(a,b)) for i in range(0, 199): ans = data_set[i].add_size() print(ans) if __name__ == "__main__": main()
s225372405
p00002
u706217959
1513330796
Python
Python3
py
Runtime Error
0
0
482
import math class DataSet(): def __init__(self,a,b): self.a = a self.b = b def add_size(self): ans = self.a+self.b return int(math.log10(ans)+1) def main(): data_set = [] for i in range(0, 199): n = input().split() a = int(n[0]) b = int(n[1]) data_set.append(DataSet(a,b)) for j in range(0, 199): ans = data_set[j].add_size() print(ans) if __name__ == "__main__": main()
s516789562
p00002
u706217959
1513332853
Python
Python3
py
Runtime Error
0
0
282
import math def main(): while 1: try: n = input().split() a = int(n[0]) b = int(n[1]) ans = int(math.log10(a+b)+1) print(ans) except IndexError: break if __name__ == "__main__": main()
s811276897
p00002
u706217959
1513332963
Python
Python3
py
Runtime Error
0
0
282
import math def main(): while 1: try: n = input().split() a = int(n[0]) b = int(n[1]) ans = int(math.log10(a+b)+1) print(ans) except IndexError: break if __name__ == "__main__": main()
s815515221
p00002
u706217959
1513333451
Python
Python3
py
Runtime Error
0
0
347
import math def main(): data = [] while 1: try: n = input().split() a = int(n[0]) b = int(n[1]) ans = int(math.log10(a+b)+1) data.append(ans) except IndexError: break for i in data: print(i) if __name__ == "__main__": main()
s147115457
p00002
u706217959
1513335342
Python
Python3
py
Runtime Error
0
0
364
import math def main(): data = [] while 1: try: n = input().split() a = int(n[0]) b = int(n[1]) ans = int(math.log10(a+b)+1) data.append(ans) except IndexError: #EOF break for i in data: print(i) if __name__ == "__main__": main()
s179629063
p00002
u706217959
1513335576
Python
Python3
py
Runtime Error
0
0
368
import math def main(): data = [] while 1: try: n = input().split() a = int(n[0]) b = int(n[1]) ans = int(math.log10(a+b)+1) data.append(ans) except IndexError: #EOF break for i in data: print(i) if __name__ == "__main__": main()
s533461369
p00002
u255925718
1513525842
Python
Python
py
Runtime Error
0
0
131
while 1: line=raw_input() if line == 'END_OF_TEXT': break a, b = (int(i) for i in line.split()) print len(str(a+b))
s162300832
p00002
u183079216
1513766697
Python
Python3
py
Runtime Error
0
0
172
res=[] s=True while s: s=input() if s: a,b = [int(x) for x in s.split()] res.append(a+b) import math for n in res: print(int(math.log(n,10))+1)
s503237020
p00002
u183079216
1513766836
Python
Python3
py
Runtime Error
0
0
152
res=[] s=True while s: s=input() if s: a,b = [int(x) for x in s.split()] res.append(a+b) for n in res: print(len(str(n))+1)
s408732927
p00002
u183079216
1513766878
Python
Python3
py
Runtime Error
0
0
150
res=[] s=True while s: s=input() if s: a,b = [int(x) for x in s.split()] res.append(a+b) for n in res: print(len(str(n)))
s919800615
p00002
u183079216
1513767189
Python
Python3
py
Runtime Error
0
0
171
res=[] while True: s=input() if s: a,b = [int(x) for x in s.split()] res.append(a+b) else: break for n in res: print(len(str(n)))
s684351486
p00002
u298999032
1513996036
Python
Python3
py
Runtime Error
0
0
66
while 1: a,b=map(int,input().split()) print(len(str(a+b)))
s196194410
p00002
u028347703
1514528983
Python
Python3
py
Runtime Error
0
0
122
import sys import math for line in sys.stdin: a, b = [int(i) for i in line.split()] print(int(math.log10(a * b) + 1))
s601219357
p00002
u737311644
1516408337
Python
Python3
py
Runtime Error
0
0
375
while True: a,b=map(int,input().split()) c=a+b ans=0 if c>=0 and c<=9: ans=1 if c>=10 and c<=99: ans=2 if c>=100 and c<=999: ans=3 if c>=1000 and c<=9999: ans=4 if c>=10000 and c<=99999: ans=5 if c>=100000 and c<=999999: ans =6 if c>=1000000 and c<=9999999: ans=7 print(ans)
s170305556
p00002
u737311644
1516408882
Python
Python3
py
Runtime Error
0
0
380
while True: a,b=map(int,input().split()) c=a+b ans=0 if c>=0 and c<=9: ans=1 if c>=10 and c<=99: ans=2 if c>=100 and c<=999: ans=3 if c>=1000 and c<=9999: ans=4 if c>=10000 and c<=99999: ans=5 if c>=100000 and c<=999999: ans =6 if c>=1000000 and c<=9999999: ans=7 print(str(ans))
s065357347
p00002
u737311644
1516408914
Python
Python3
py
Runtime Error
0
0
375
while True: a,b=int,input().split() c=a+b ans=0 if c>=0 and c<=9: ans=1 if c>=10 and c<=99: ans=2 if c>=100 and c<=999: ans=3 if c>=1000 and c<=9999: ans=4 if c>=10000 and c<=99999: ans=5 if c>=100000 and c<=999999: ans =6 if c>=1000000 and c<=9999999: ans=7 print(str(ans))
s597146477
p00002
u737311644
1516408979
Python
Python3
py
Runtime Error
0
0
371
while True: a,b=int(input().split()) c=a+b ans=0 if c>=0 and c<=9: ans=1 if c>=10 and c<=99: ans=2 if c>=100 and c<=999: ans=3 if c>=1000 and c<=9999: ans=4 if c>=10000 and c<=99999: ans=5 if c>=100000 and c<=999999: ans =6 if c>=1000000 and c<=9999999: ans=7 print(ans)
s523372007
p00002
u737311644
1516409016
Python
Python3
py
Runtime Error
0
0
374
while True: a,b=map(int,input().split()) c=a+b ans=0 if c>=0 and c<=9: ans=1 if c>=10 and c<=99: ans=2 if c>=100 and c<=999: ans=3 if c>=1000 and c<=9999: ans=4 if c>=10000 and c<=99999: ans=5 if c>=100000 and c<=999999: ans=6 if c>=1000000 and c<=9999999: ans=7 print(ans)
s544176854
p00002
u737311644
1516409342
Python
Python3
py
Runtime Error
0
0
374
while True: a,b=map(int,input().split()) c=a+b ans=0 if c>=0 and c<=9: ans=1 if c>=10 and c<=99: ans=2 if c>=100 and c<=999: ans=3 if c>=1000 and c<=9999: ans=4 if c>=10000 and c<=99999: ans=5 if c>=100000 and c<=999999: ans=6 if c>=1000000 and c<=9999999: ans=7 print(ans)
s906959264
p00002
u737311644
1516409388
Python
Python3
py
Runtime Error
0
0
375
while True: a,b=map(int,input().split()) c=a+b ans=0 if c>=0 and c<=9: ans=1 if c>=10 and c<=99: ans=2 if c>=100 and c<=999: ans=3 if c>=1000 and c<=9999: ans=4 if c>=10000 and c<=99999: ans=5 if c>=100000 and c<=999999: ans=6 if c>=1000000 and c<=9999999: ans=7 print(ans)
s298937041
p00002
u737311644
1516409517
Python
Python3
py
Runtime Error
0
0
374
while True: a,b=map(int,input().split()) c=a+b ans=0 if c>=0 and c<=9: ans=1 if c>=10 and c<=99: ans=2 if c>=100 and c<=999: ans=3 if c>=1000 and c<=9999: ans=4 if c>=10000 and c<=99999: ans=5 if c>=100000 and c<=999999: ans=6 if c>=1000000 and c<=9999999: ans=7 print(ans)
s462064631
p00002
u803045841
1516548224
Python
Python3
py
Runtime Error
0
0
128
N, M = map(int, raw_input().split()) a = [] for i in range(M): a.append(map(int, raw_input().split())) print len(N + M)
s368039225
p00002
u150984829
1516548357
Python
Python3
py
Runtime Error
0
0
84
import sys for e in sys.stdin.readlines(): print(len(str(sum(map(int,e.split()))))
s241743356
p00002
u803045841
1516552640
Python
Python3
py
Runtime Error
0
0
80
import sys for e in sys.stdin.readlines(): print(len(sum(map(int,e.split()))))
s076801308
p00002
u328199937
1517806949
Python
Python3
py
Runtime Error
0
0
93
while True: a = int(input()) b = int(input()) print(len(str(a + b)))
s750051526
p00002
u328199937
1517807020
Python
Python3
py
Runtime Error
0
0
138
while True: try: a = int(input()) b = int(input()) print(len(str(a + b))) except EOFError: break
s857932376
p00002
u780025254
1517929723
Python
Python3
py
Runtime Error
0
0
71
while 1: a, b = map(int, input().split()) print(len(str(a+b)))
s051393769
p00002
u613534067
1518966241
Python
Python3
py
Runtime Error
0
0
193
while (True): b = list(map(int, input().split(" "))) print(b) if(b == ['']): break c = 1 d = b[0] + b[1] while(d >= 10): c += 1 d = d / 10 print(c)
s840657887
p00002
u613534067
1518966485
Python
Python3
py
Runtime Error
0
0
218
#a = [] while (True): b = list(map(int, input().split(" "))) #print(b) if(b == ['']): break #a.append(b) c = 1 d = b[0] + b[1] while(d >= 10): c += 1 d = d / 10 print(c)
s887008560
p00002
u328199937
1519035932
Python
Python3
py
Runtime Error
0
0
81
while True: a = int(input()) b = int(input()) print(len(str(a + b)))
s322391733
p00002
u328199937
1519035974
Python
Python3
py
Runtime Error
0
0
137
while True: try: a = int(input()) b = int(input()) print(len(str(a + b))) except EOFError: break
s313564811
p00002
u328199937
1519036032
Python
Python3
py
Runtime Error
0
0
137
while True: try: a = int(input()) b = int(input()) print(len(str(a + b))) except EOFError: break
s376736879
p00002
u553148578
1519814410
Python
Python3
py
Runtime Error
0
0
67
a, b = map(int, input().split()) print(int(math.log10(a + b)) + 1)
s347834776
p00002
u553148578
1519814607
Python
Python3
py
Runtime Error
0
0
121
import math while True: a, b = map(int, input().split()) if(a==0 and b==0): break print(int(math.log10(a + b)) + 1)
s305814629
p00002
u553148578
1519814868
Python
Python3
py
Runtime Error
0
0
94
while True: a, b = map(int, input().split()) if(a==0 and b==0): break print(len(str(a+b)))
s538157755
p00002
u179070318
1522821543
Python
Python3
py
Runtime Error
0
0
115
import math while True: a,b = [int(x) for x in input().split()] x = a + b print(int(math.log10(x))+1)
s642685899
p00002
u027874809
1523431819
Python
Python3
py
Runtime Error
0
0
80
for x in range(200): print(len(str(sum(list(map(int, input().split()))))))
s778266690
p00002
u120970792
1524806588
Python
Python3
py
Runtime Error
0
0
126
l = list(map(int, input().split())) while(l != None): print(len(str(l[0]+l[1]))) l = list(map(int, input().split()))
s390429649
p00002
u120970792
1524806617
Python
Python3
py
Runtime Error
0
0
131
l = list(map(int, input().split())) while(l != None): print(int(len(str(l[0]+l[1])))) l = list(map(int, input().split()))
s755378658
p00002
u120970792
1524806684
Python
Python3
py
Runtime Error
0
0
150
l = list(map(int, input().split())) while(l != None): length =len(str(l[0]+l[1])) print(int(length)) l = list(map(int, input().split()))
s939748633
p00002
u120970792
1524806992
Python
Python3
py
Runtime Error
0
0
195
l = list(map(int, input().split())) a = [] while(l != None): length =len(str(l[0]+l[1])) a.append(length) l = list(map(int, input().split())) for i in range(len(a)): print(a[i])
s945282328
p00002
u120970792
1524807206
Python
Python3
py
Runtime Error
0
0
193
l = list(map(int, input().split())) a = [] while(l != []): length =len(str(l[0]+l[1])) a.append(length) l = list(map(int, input().split())) for i in range(len(a)): print(a[i])
s319481522
p00002
u120970792
1524811826
Python
Python3
py
Runtime Error
0
0
144
l = list(map(int, input().split())) while(l != []): length = len(str(l[0]+l[1])) print(length) l = list(map(int, input().split()))
s512473863
p00002
u480716860
1525187966
Python
Python3
py
Runtime Error
0
0
301
A = [] B = [] s = True while(s): try: a,b = map(int, input().split()) except ValueError: break A.append(a) B.append(b) for i in range(len(A)): sum = A[i] + B[i] digits = 1 while(sum//10 != 0): digits += 1 sum //= 10 print(str(digits))
s522137067
p00002
u480716860
1525188074
Python
Python3
py
Runtime Error
0
0
301
A = [] B = [] s = True while(s): try: a,b = map(int, input().split()) except ValueError: break A.append(a) B.append(b) for i in range(len(A)): sum = A[i] + B[i] digits = 1 while(sum//10 != 0): digits += 1 sum //= 10 print(str(digits))
s209567572
p00002
u480716860
1525188126
Python
Python3
py
Runtime Error
0
0
300
A = [] B = [] s = True while(s): try: a,b = map(int, input().split()) except ValueError: break A.append(a) B.append(b) for i in range(len(A)): sum = A[i] + B[i] digits = 1 while(sum//10 != 0): digits += 1 sum //= 10 print(str(digits))
s155083806
p00002
u940977872
1526284955
Python
Python3
py
Runtime Error
0
0
86
while True: a, b = map(int, input().rstrip().split()) print(len(str(a + b)))
s569060997
p00002
u940977872
1526337278
Python
Python3
py
Runtime Error
0
0
133
while True: line = input() if not line: break a, b = map(int, line.rstrip().split()) print(len(str(a + b)))
s815132921
p00002
u940977872
1526339804
Python
Python3
py
Runtime Error
0
0
135
while True: line = input() if line == '': break a, b = map(int, line.rstrip().split()) print(len(str(a + b)))
s383517358
p00002
u604795501
1526655769
Python
Python
py
Runtime Error
0
0
135
#coding:UTF-8 a=int(input()) b=int(input()) a+=b; b=1 for num in range(1,8): b*=10 if a<b: print(num) break
s983492035
p00002
u002010345
1527578695
Python
Python3
py
Runtime Error
0
0
158
while True: try: a, b = (int(x) for x in input().split()) print(len(str(a+b))) except EOFError: break
s716287955
p00002
u002010345
1527578721
Python
Python3
py
Runtime Error
0
0
158
while True: try: a, b = (int(x) for x in input().split()) print(len(str(a+b))) except EOFError: break
s294009530
p00002
u483248490
1529469988
Python
Python3
py
Runtime Error
0
0
97
a = int(input()) b = int(input()) c = a+b d = 1 while(int(c/10) != 0): d += 1 c /= 10 print(d)
s749473349
p00002
u483248490
1529470120
Python
Python3
py
Runtime Error
0
0
103
a = int(input()) b = int(input()) c = a+b d = 1 while(int(c/10) != 0): d += 1 c = int(c/10) print(d)
s273225167
p00002
u483248490
1529470452
Python
Python3
py
Runtime Error
0
0
143
while(true) a = input() if a==EOF: break b = input() c = int(a)+int(b) d = 1 while(int(c/10) != 0): d += 1 c = int(c/10) print(d)
s371487428
p00002
u483248490
1529471030
Python
Python3
py
Runtime Error
0
0
145
import sys for line in sys.stdin: a = input() b = input() c = int(a)+int(b) d = 1 while(int(c/10) != 0): d += 1 c = int(c/10) print(d)
s084006594
p00002
u316584871
1530001857
Python
Python3
py
Runtime Error
0
0
137
while True: a,b = map(int, input().split()) d = 0 s = sum([a,b]) while (s): s //= 10 d += 1 print(d)
s367940538
p00002
u841567836
1530264810
Python
Python3
py
Runtime Error
0
0
65
while a, b = (int(x) for x in input().split()): print(a + b)
s924434933
p00002
u517745281
1344324407
Python
Python
py
Runtime Error
0
3908
100
import sys print "\n".join([len(str(sum([int(x) for x in l.split(' ')]))) for l in open(sys.stdin)])
s171729953
p00002
u517745281
1344324511
Python
Python
py
Runtime Error
0
3908
94
import sys print "\n".join([len(str(sum([int(x) for x in l.split(' ')]))) for l in sys.stdin])
s680088548
p00002
u894941280
1348654014
Python
Python
py
Runtime Error
0
0
97
while True: try: a=int(input()) b=int(input()) print len(str(a+b)) except EOFError: break
s175550268
p00002
u779627195
1352366272
Python
Python
py
Runtime Error
0
1224
160
height = [] while 1: try: height.append(input()) except EOFError: break height.sort(reverse=True) for i in range(3): print height[i]
s834263646
p00002
u504990413
1353137751
Python
Python
py
Runtime Error
0
0
323
while True: try: nums = map(int, raw_input().split(' ')) ans = nums[0]+nums[1] x = 0 while True: if (10**x -1) < ans < 10**(x+1): print x+1 break else: x = x+1 except EOFerror: break
s732480487
p00002
u238820099
1355231732
Python
Python
py
Runtime Error
0
0
220
a=input() b=input() def digit_num(a): def digit_num_sub(a,n): if a/(10**n)<10: return n+1 else: return digit_num_sub(a,n+1) return digit_num_sub(a,0) print digit_num(a+b)
s364931540
p00002
u238820099
1355231800
Python
Python
py
Runtime Error
0
0
220
a,b=input(),input() def digit_num(a): def digit_num_sub(a,n): if a/(10**n)<10: return n+1 else: return digit_num_sub(a,n+1) return digit_num_sub(a,0) print digit_num(a+b)
s016922594
p00002
u147801965
1355911446
Python
Python
py
Runtime Error
0
0
90
while True: try: a,b = map(int,input().split()) ; print len(a+b) excpet EOFError: break
s478868462
p00002
u147801965
1355911517
Python
Python
py
Runtime Error
0
0
93
while True: try: a,b = map(int,raw_input().split()) ;print len(a+b) except EOFError: break
s665117574
p00002
u560838141
1356511928
Python
Python
py
Runtime Error
0
0
90
whlie True: a, b = row_input().strip().split(" ") print len(str(int(a) + int(b))))
s625889865
p00002
u560838141
1356511957
Python
Python
py
Runtime Error
0
0
90
whlie True: a, b = raw_input().strip().split(" ") print len(str(int(a) + int(b))))
s979073866
p00002
u560838141
1356512103
Python
Python
py
Runtime Error
0
0
90
while True: a, b = raw_input().strip().split(" ") print len(str(int(a) + int(b))))
s731443975
p00002
u560838141
1356512114
Python
Python
py
Runtime Error
0
0
89
while True: a, b = raw_input().strip().split(" ") print len(str(int(a) + int(b)))
s903709419
p00002
u238820099
1358926304
Python
Python
py
Runtime Error
0
0
620
list=[] while True: x =raw_input() if x == "": break list.append(x) def list_sum_N(list,l): if not list == []: l.append(int(list[0].split()[0])+int(list[0].split()[1])) list.reverse() list.pop() list.reverse() return list_sum_N(list,l) else: return l def Num_length(num): x = 0 while num / 10 ** x >= 1: x = x + 1 return x def NumPlusNum_length(list): returnList=[] for lists in list_sum_N(list,[]): returnList.append(Num_length(lists)) return returnList for x in NumPlusNum_length(list): print x
s859773100
p00002
u238820099
1358930546
Python
Python
py
Runtime Error
0
0
620
list=[] while True: x =raw_input() if x == "": break list.append(x) def list_sum_N(list,l): if not list == []: l.append(int(list[0].split()[0])+int(list[0].split()[1])) list.reverse() list.pop() list.reverse() return list_sum_N(list,l) else: return l def Num_length(num): x = 0 while num / 10 ** x >= 1: x = x + 1 return x def NumPlusNum_length(list): returnList=[] for lists in list_sum_N(list,[]): returnList.append(Num_length(lists)) return returnList for x in NumPlusNum_length(list): print x
s372727956
p00002
u246394513
1362276928
Python
Python
py
Runtime Error
0
0
49
print len(str(int(raw_input())+int(raw_input())))
s941577209
p00002
u238820099
1362312112
Python
Python
py
Runtime Error
0
0
477
#encoding=utf-8 s=[] while True : x=raw_input().split(' ') if len(x)!=2: break else: a=int(x[0]) b=int(x[1]) s.append(a) s.append(b) def digit_num(a): def digit_num_sub(a,n): if a/(10**n)<10: return n+1 else: return digit_num_sub(a,n+1) return digit_num_sub(a,0) ## 与えられた値,aを10**nかを返す。 a=0 while a <= len(s)-1: print digit_num(s[a]+s[a+1]) a=a+2
s512184518
p00002
u238820099
1362312197
Python
Python
py
Runtime Error
0
0
414
s=[] while True : x=raw_input().split(' ') if len(x)!=2: break else: a=int(x[0]) b=int(x[1]) s.append(a) s.append(b) def digit_num(a): def digit_num_sub(a,n): if a/(10**n)<10: return n+1 else: return digit_num_sub(a,n+1) return digit_num_sub(a,0) a=0 while a <= len(s)-1: print digit_num(s[a]+s[a+1]) a=a+2
s524861213
p00002
u282635979
1362316251
Python
Python
py
Runtime Error
0
0
79
import math x = map(raw_input().split(' ')) print(int(math.log10(x[0]+x[1]))+1)
s519206418
p00002
u282635979
1362316438
Python
Python
py
Runtime Error
0
0
87
import math x = map(raw_input().split(' ')) a = x[0] + x[1] print(int(math.log10(a))+1)
s433807910
p00002
u282635979
1362316508
Python
Python
py
Runtime Error
0
0
80
import math x = map(raw_input().split(' ')) a = log(x[0] + x[1]) print(int(a)+1)
s465907745
p00002
u282635979
1362316682
Python
Python
py
Runtime Error
0
0
85
import math x = map(raw_input().split(' ')) a = math.log(x[0] + x[1]) print(int(a)+1)
s803813874
p00002
u282635979
1362316697
Python
Python
py
Runtime Error
0
0
87
import math x = map(raw_input().split(' ')) a = math.log10(x[0] + x[1]) print(int(a)+1)
s213869323
p00002
u282635979
1362317741
Python
Python
py
Runtime Error
0
0
159
import math while True: x = map(int,raw_input().split(' ')) a = math.log10(x[0] + x[1]) if x[0] != 'homoo...': print(int(a+1)) continue else: break
s565459571
p00002
u282635979
1362317759
Python
Python
py
Runtime Error
0
0
157
import math while True: x = map(int,raw_input().split(' ')) a = math.log10(x[0] + x[1]) if x[0] != 'homoo...': print(int(a+1)) continue else: break
s537338984
p00002
u282635979
1362318278
Python
Python
py
Runtime Error
0
0
162
import math while True: x = map(int,raw_input().split(' ')) a = math.log10(x[0] + x[1]) if str(x[0]) != 'homoo...': print(int(a+1)) continue else: break
s795735008
p00002
u282635979
1362318329
Python
Python
py
Runtime Error
0
0
162
import math while True: x = map(int,raw_input().split(' ')) a = math.log10(x[0] + x[1]) if str(x[0]) != 'homoo...': print(int(a+1)) continue else: break