s_id string | p_id string | u_id string | date string | language string | original_language string | filename_ext string | status string | cpu_time string | memory string | code_size string | code string | error string | stdout string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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) | Traceback (most recent call last):
File "/tmp/tmp6pb2_hbm/tmpo1eheich.py", line 2, in <module>
str = input()
^^^^^^^
EOFError: EOF when reading a line
| |
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) | Traceback (most recent call last):
File "/tmp/tmpar_iq714/tmpx10bn9lq.py", line 4, in <module>
S =list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
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))) | Traceback (most recent call last):
File "/tmp/tmphgh4cwtr/tmpxn9dpw3i.py", line 1, in <module>
for line in sys.stdin:
^^^
NameError: name 'sys' is not defined
| |
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))) | Traceback (most recent call last):
File "/tmp/tmp3xyybe6d/tmpvwayasdh.py", line 2, in <module>
for line in sys.stdin:
^^^
NameError: name 'sys' is not defined
| |
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])) | File "/tmp/tmphb_axjgr/tmpd5stxqcf.py", line 11
print len(str(i[0]*i[1]))
^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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])) | File "/tmp/tmpzpdwjjiu/tmpy91j9d12.py", line 8
print len(str(i[0]*i[1]))
^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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])) | File "/tmp/tmphivwzxom/tmpkj_ihp7p.py", line 3
print len(str(i[0]*i[1]))
^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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])) | File "/tmp/tmpr9yeq4gy/tmp_7bpbfxc.py", line 3
print len(str(i[0]*i[1]))
^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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))) | Traceback (most recent call last):
File "/tmp/tmp_noa_iii/tmps620hv54.py", line 2, in <module>
Str = input()
^^^^^^^
EOFError: EOF when reading a line
| |
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)) | Traceback (most recent call last):
File "/tmp/tmpvnfal0ap/tmpr75s2idv.py", line 1, in <module>
for line in sys.stdin:
^^^
NameError: name 'sys' is not defined
| |
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() | Traceback (most recent call last):
File "/tmp/tmpk_lse09x/tmpvszlv1on.py", line 27, in <module>
main()
File "/tmp/tmpk_lse09x/tmpvszlv1on.py", line 14, in main
n = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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() | Traceback (most recent call last):
File "/tmp/tmpk2z5smr3/tmpad1z3j38.py", line 27, in <module>
main()
File "/tmp/tmpk2z5smr3/tmpad1z3j38.py", line 14, in main
n = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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() | Traceback (most recent call last):
File "/tmp/tmpjfuxzr20/tmpri_9jguv.py", line 29, in <module>
main()
File "/tmp/tmpjfuxzr20/tmpri_9jguv.py", line 17, in main
n = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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() | Traceback (most recent call last):
File "/tmp/tmp4f8lk23x/tmpmxem1oj0.py", line 28, in <module>
main()
File "/tmp/tmp4f8lk23x/tmpmxem1oj0.py", line 16, in main
n = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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() | Traceback (most recent call last):
File "/tmp/tmp42mvql0v/tmp7bt_mlsu.py", line 28, in <module>
main()
File "/tmp/tmp42mvql0v/tmp7bt_mlsu.py", line 16, in main
n = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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() | Traceback (most recent call last):
File "/tmp/tmpsohrohcr/tmpakgcb4c_.py", line 28, in <module>
main()
File "/tmp/tmpsohrohcr/tmpakgcb4c_.py", line 16, in main
n = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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() | Traceback (most recent call last):
File "/tmp/tmp1z_q9sd7/tmp58gjm2vb.py", line 15, in <module>
main()
File "/tmp/tmp1z_q9sd7/tmp58gjm2vb.py", line 6, in main
n = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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() | Traceback (most recent call last):
File "/tmp/tmpsmb2qw_c/tmp00ns_yjy.py", line 15, in <module>
main()
File "/tmp/tmpsmb2qw_c/tmp00ns_yjy.py", line 6, in main
n = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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() | Traceback (most recent call last):
File "/tmp/tmp7_cenylk/tmpkgjx1o0d.py", line 19, in <module>
main()
File "/tmp/tmp7_cenylk/tmpkgjx1o0d.py", line 7, in main
n = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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() | Traceback (most recent call last):
File "/tmp/tmplbxczca1/tmprqn66qp4.py", line 20, in <module>
main()
File "/tmp/tmplbxczca1/tmprqn66qp4.py", line 7, in main
n = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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() | Traceback (most recent call last):
File "/tmp/tmpf948ou5_/tmpsfghw26y.py", line 20, in <module>
main()
File "/tmp/tmpf948ou5_/tmpsfghw26y.py", line 7, in main
n = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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)) | File "/tmp/tmp1wsxbd0b/tmpyykrxr3a.py", line 5
print len(str(a+b))
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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) | Traceback (most recent call last):
File "/tmp/tmpe77k1prb/tmpsdaj1_dd.py", line 4, in <module>
s=input()
^^^^^^^
EOFError: EOF when reading a line
| |
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) | Traceback (most recent call last):
File "/tmp/tmpia77nkou/tmp8_ufrlvs.py", line 4, in <module>
s=input()
^^^^^^^
EOFError: EOF when reading a line
| |
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))) | Traceback (most recent call last):
File "/tmp/tmpgz94a8lx/tmpyu5ppzfi.py", line 4, in <module>
s=input()
^^^^^^^
EOFError: EOF when reading a line
| |
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))) | Traceback (most recent call last):
File "/tmp/tmppx5l0xg8/tmp757orhqq.py", line 4, in <module>
s=input()
^^^^^^^
EOFError: EOF when reading a line
| |
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))) | Traceback (most recent call last):
File "/tmp/tmps1v4x9se/tmppfus7imn.py", line 2, in <module>
a,b=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmppuweqldc/tmptaeqjwg1.py", line 2, in <module>
a,b=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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))
| Traceback (most recent call last):
File "/tmp/tmp_ko7fq2s/tmpmu3nyp4o.py", line 2, in <module>
a,b=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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))
| Traceback (most recent call last):
File "/tmp/tmp44635_nt/tmpg1x9_pcz.py", line 2, in <module>
a,b=int,input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmpnrorwaq1/tmpmt61ldfs.py", line 2, in <module>
a,b=int(input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmp5nm8971s/tmpspytd3hs.py", line 2, in <module>
a,b=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmp1ijnembj/tmpoqibtocj.py", line 2, in <module>
a,b=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmpx0nub8tl/tmp3xhwllii.py", line 2, in <module>
a,b=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmpibzmd7ju/tmpvt2ohrie.py", line 2, in <module>
a,b=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| File "/tmp/tmp5by11qh_/tmpd5llfdve.py", line 5
print len(N + M)
^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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()))))
| File "/tmp/tmpl01bg581/tmp89ot56dl.py", line 3
print(len(str(sum(map(int,e.split()))))
^
SyntaxError: '(' was never closed
| |
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)))
| Traceback (most recent call last):
File "/tmp/tmpyedtyv2n/tmpc4u9wr4d.py", line 2, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
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)))
| Traceback (most recent call last):
File "/tmp/tmpg36vyxqz/tmpzpbib8_9.py", line 2, in <module>
a, b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmppeb6psso/tmpswdqslk2.py", line 2, in <module>
b = list(map(int, input().split(" ")))
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmpdmkfwndd/tmp4c2zazwg.py", line 3, in <module>
b = list(map(int, input().split(" ")))
^^^^^^^
EOFError: EOF when reading a line
| |
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)))
| Traceback (most recent call last):
File "/tmp/tmpb_rh10p6/tmptlzwdvep.py", line 2, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmp173xqwlu/tmpgqp340z4.py", line 1, in <module>
a, b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmpaqht6s37/tmpp5wtrbd3.py", line 3, in <module>
a, b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)))
| Traceback (most recent call last):
File "/tmp/tmp9p_rkdg9/tmphc8_xrpw.py", line 2, in <module>
a, b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmp_balaqr5/tmpphuq_l5y.py", line 3, in <module>
a,b = [int(x) for x in input().split()]
^^^^^^^
EOFError: EOF when reading a line
| |
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()))))))
| Traceback (most recent call last):
File "/tmp/tmp_iwivvhz/tmptlo80haf.py", line 2, in <module>
print(len(str(sum(list(map(int, input().split()))))))
^^^^^^^
EOFError: EOF when reading a line
| |
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()))
| Traceback (most recent call last):
File "/tmp/tmpsn4zvvd4/tmpu2df2z8s.py", line 1, in <module>
l = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
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()))
| Traceback (most recent call last):
File "/tmp/tmp0k6_3szw/tmpivdjuqkv.py", line 1, in <module>
l = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
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()))
| Traceback (most recent call last):
File "/tmp/tmp6mjgd0_s/tmp4_bpihal.py", line 1, in <module>
l = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
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])
| Traceback (most recent call last):
File "/tmp/tmp4a35hbsj/tmpaot7g5f3.py", line 1, in <module>
l = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
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])
| Traceback (most recent call last):
File "/tmp/tmpoystj59g/tmp1de0c7oh.py", line 1, in <module>
l = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
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()))
| Traceback (most recent call last):
File "/tmp/tmp9rhmj_w7/tmpvkzhuu4g.py", line 1, in <module>
l = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
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))
| Traceback (most recent call last):
File "/tmp/tmp4cwzt6ga/tmp4q240mya.py", line 7, in <module>
a,b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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))
| Traceback (most recent call last):
File "/tmp/tmphzne1w71/tmpor6wcfxt.py", line 7, in <module>
a,b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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))
| Traceback (most recent call last):
File "/tmp/tmpkkm0t29l/tmpx5g3brfx.py", line 6, in <module>
a,b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)))
| Traceback (most recent call last):
File "/tmp/tmpmsodqanp/tmpvd5ux2c3.py", line 2, in <module>
a, b = map(int, input().rstrip().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)))
| Traceback (most recent call last):
File "/tmp/tmpp2t_o4zk/tmp72d9we0w.py", line 2, in <module>
line = input()
^^^^^^^
EOFError: EOF when reading a line
| |
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)))
| Traceback (most recent call last):
File "/tmp/tmpfn5d8vaf/tmpbzahhqw6.py", line 2, in <module>
line = input()
^^^^^^^
EOFError: EOF when reading a line
| |
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
| Traceback (most recent call last):
File "/tmp/tmpqgu49fyv/tmpyuetvxxz.py", line 3, in <module>
a=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
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
| File "/tmp/tmpsi9t3miy/tmpq22fpuzc.py", line 1
while True:
IndentationError: unexpected indent
| |
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
| File "/tmp/tmpigcv7z0k/tmpmt8y1o4o.py", line 1
while True:
IndentationError: unexpected indent
| |
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)
| Traceback (most recent call last):
File "/tmp/tmp439uwmbs/tmp49u9ymgx.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| Traceback (most recent call last):
File "/tmp/tmph1_8gryr/tmp449hl7n5.py", line 1, in <module>
a = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| File "/tmp/tmpzfeapkks/tmph8c4pz3a.py", line 1
while(true)
^
SyntaxError: expected ':'
| |
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)
| Traceback (most recent call last):
File "/tmp/tmpx78f5c3r/tmpemgytjki.py", line 2, in <module>
a,b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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)
| File "/tmp/tmpnzrcauee/tmp5jnnx0i3.py", line 1
while a, b = (int(x) for x in input().split()):
^
SyntaxError: invalid syntax
| |
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)]) | File "/tmp/tmpx4wo8rt4/tmpbbtfecg0.py", line 2
print "\n".join([len(str(sum([int(x) for x in l.split(' ')]))) for l in open(sys.stdin)])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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]) | File "/tmp/tmpv030u9fh/tmp3i9rfvay.py", line 2
print "\n".join([len(str(sum([int(x) for x in l.split(' ')]))) for l in sys.stdin])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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 | File "/tmp/tmpt6nbdzgs/tmpf5o68gfi.py", line 5
print len(str(a+b))
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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] | File "/tmp/tmp9czlaup6/tmpzbloah7f.py", line 9
print height[i]
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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 | File "/tmp/tmpm_8ifv7w/tmp_xt5y7ne.py", line 12
print x+1
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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) | File "/tmp/tmp8m83j2nm/tmp9ofjjwn0.py", line 12
print digit_num(a+b)
^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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) | File "/tmp/tmpo8691inz/tmp6r2b1mww.py", line 11
print digit_num(a+b)
^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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 | File "/tmp/tmpqw5bim8i/tmp4mqsroms.py", line 2
try: a,b = map(int,input().split()) ; print len(a+b)
^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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 | File "/tmp/tmpzhfezn7q/tmpbkge81t6.py", line 2
try: a,b = map(int,raw_input().split()) ;print len(a+b)
^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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)))) | File "/tmp/tmpdx2jpdoi/tmpkqe3251o.py", line 3
print len(str(int(a) + int(b))))
^
SyntaxError: unmatched ')'
| |
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)))) | File "/tmp/tmp8udmazik/tmp7df3akk6.py", line 3
print len(str(int(a) + int(b))))
^
SyntaxError: unmatched ')'
| |
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)))) | File "/tmp/tmp30d58kmp/tmpb92pm7dp.py", line 3
print len(str(int(a) + int(b))))
^
SyntaxError: unmatched ')'
| |
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))) | File "/tmp/tmp0iipa8el/tmpy8obd3sn.py", line 3
print len(str(int(a) + int(b)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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 | File "/tmp/tmptj1ks5y2/tmp8bq4x1nt.py", line 31
print x
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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 | File "/tmp/tmp1pcx18st/tmpzrqlxe3m.py", line 31
print x
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s372727956 | p00002 | u246394513 | 1362276928 | Python | Python | py | Runtime Error | 0 | 0 | 49 | print len(str(int(raw_input())+int(raw_input()))) | File "/tmp/tmplkrpzm43/tmp5ku9ze6x.py", line 1
print len(str(int(raw_input())+int(raw_input())))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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 | File "/tmp/tmphj5kwom4/tmp72bu_cxz.py", line 22
print digit_num(s[a]+s[a+1])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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 | File "/tmp/tmpn1vbmudq/tmp3_ugwfv5.py", line 20
print digit_num(s[a]+s[a+1])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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) | Traceback (most recent call last):
File "/tmp/tmpqtl3vnh7/tmpy4on025f.py", line 2, in <module>
x = map(raw_input().split(' '))
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
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) | Traceback (most recent call last):
File "/tmp/tmpq15ccr9p/tmptbj0bm9g.py", line 2, in <module>
x = map(raw_input().split(' '))
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
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) | Traceback (most recent call last):
File "/tmp/tmp8rm8gotk/tmpk4vjio3x.py", line 2, in <module>
x = map(raw_input().split(' '))
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
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) | Traceback (most recent call last):
File "/tmp/tmpvvjpnjmm/tmp4sr8se1f.py", line 2, in <module>
x = map(raw_input().split(' '))
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
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) | Traceback (most recent call last):
File "/tmp/tmphi__0vla/tmp0fk1dsa3.py", line 2, in <module>
x = map(raw_input().split(' '))
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
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 | Traceback (most recent call last):
File "/tmp/tmpmphsze9p/tmp0rtjrprk.py", line 5, in <module>
x = map(int,raw_input().split(' '))
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
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 | Traceback (most recent call last):
File "/tmp/tmpqnod5cag/tmp6aew7aj6.py", line 3, in <module>
x = map(int,raw_input().split(' '))
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
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 | Traceback (most recent call last):
File "/tmp/tmpim1d0gvn/tmpagnifasn.py", line 3, in <module>
x = map(int,raw_input().split(' '))
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
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 | Traceback (most recent call last):
File "/tmp/tmpg7p5vdx4/tmpjcc70hj8.py", line 3, in <module>
x = map(int,raw_input().split(' '))
^^^^^^^^^
NameError: name 'raw_input' is not defined
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.