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
s764091695
p00002
u477023447
1558936737
Python
Python3
py
Runtime Error
0
0
149
while 1: sum = input() sum_list = sum.split(" ") print(len(str(int(sum_list[0]) + int(sum_list[1])))) except EOFError: break
File "/tmp/tmphouzvyil/tmpq5cdiwt8.py", line 5 except EOFError: ^^^^^^ SyntaxError: invalid syntax
s065376478
p00002
u850181309
1559009541
Python
Python
py
Runtime Error
0
0
121
# -*- coding: utf-8 -*- import sys for s in sys.stdin: print len(int(s.rstrip().split()[0])+int(s.rstrip().split()[1]))
File "/tmp/tmp8mr3xzbw/tmp73qtee4_.py", line 4 print len(int(s.rstrip().split()[0])+int(s.rstrip().split()[1])) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s563904408
p00002
u247705495
1559442543
Python
Python3
py
Runtime Error
0
0
96
for line in sys.stdin.readlines(): a, b = map(int, line.split()) print(len(str(a + b)))
Traceback (most recent call last): File "/tmp/tmppwt8pytn/tmpaj6v59ar.py", line 1, in <module> for line in sys.stdin.readlines(): ^^^ NameError: name 'sys' is not defined
s065833599
p00002
u007052573
1409060747
Python
Python3
py
Runtime Error
0
0
45
print (len(str(int(input()) + int(input()))))
Traceback (most recent call last): File "/tmp/tmpe66_688c/tmp46a4tn6i.py", line 1, in <module> print (len(str(int(input()) + int(input())))) ^^^^^^^ EOFError: EOF when reading a line
s431024177
p00002
u007052573
1409060859
Python
Python3
py
Runtime Error
0
0
51
i = str(int(input()) + int(input())) print (len(i))
Traceback (most recent call last): File "/tmp/tmpo3lb9y28/tmp6il7_65h.py", line 1, in <module> i = str(int(input()) + int(input())) ^^^^^^^ EOFError: EOF when reading a line
s889348895
p00002
u007052573
1409060912
Python
Python3
py
Runtime Error
0
0
60
i = int(input()) i += int(input()) i = str(i) print (len(i))
Traceback (most recent call last): File "/tmp/tmpdcdcntor/tmpzjd2sfu5.py", line 1, in <module> i = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s597448133
p00002
u615353970
1411272226
Python
Python
py
Runtime Error
0
0
124
import sys,math for i in sys.stdin.realines(): if not i.strip():break a,b=map(int,i.split()) print int(math.log10(a+b))+1
File "/tmp/tmps1tsqtho/tmp8y7cn2a1.py", line 5 print int(math.log10(a+b))+1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s800996825
p00002
u615353970
1411272236
Python
Python
py
Runtime Error
0
0
124
import sys,math for i in sys.stdin.realines(): if not i.strip():break a,b=map(int,i.split()) print int(math.log10(a+b))+1
File "/tmp/tmpe4i9vfs8/tmpx3jorc7t.py", line 5 print int(math.log10(a+b))+1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s638128674
p00002
u631118941
1419330671
Python
Python
py
Runtime Error
0
0
215
def counts(num): if num:counts(map(int, raw_input().split())) if num:countlist.append(len(str(num[0]+num[1]))) countlist = [] counts(map(int, raw_input().split())) countlist.reverse() for x in countlist: print x
File "/tmp/tmptvcneh2u/tmpok8anm_l.py", line 9 print x ^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s628815031
p00002
u989992553
1420877561
Python
Python
py
Runtime Error
0
0
71
while True: a,b = map(int,raw_input().split()) print len(str(a+b))
File "/tmp/tmp_f6sgwpb/tmpzp69g83i.py", line 3 print len(str(a+b)) TabError: inconsistent use of tabs and spaces in indentation
s058223393
p00002
u336443042
1421679865
Python
Python
py
Runtime Error
0
0
99
for line in sys.stdin.readlines(): a,b = map(int, line.strip().split()) print len(str(a+b))
File "/tmp/tmpei0i88pn/tmpobwzhyp3.py", line 3 print len(str(a+b)) ^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s609020878
p00002
u839573768
1422951204
Python
Python
py
Runtime Error
0
0
319
# -*- coding: utf-8 -*- """ Created on Tue Feb 03 13:03:51 2015 @author: hirose """ while(1): n = map(int, raw_input().split()) a = n[0] b = n[1] count = 1 n = 10 while(1): if((a+b)/n > 0): count += 1 n = n*10 else: break print count
File "/tmp/tmp6bj3_f0b/tmpipymvg7q.py", line 20 print count ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s031329877
p00002
u839573768
1422951736
Python
Python
py
Runtime Error
0
0
264
while(1): n = map(int, raw_input().split()) if(len(n) == 0): break a = n[0] b = n[1] count = 1 n = 10 while(1): if((a+b)/n > 0): count += 1 n = n*10 else: break print count
File "/tmp/tmp4zw_j4ko/tmpy6l2edqx.py", line 15 print count ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s838717792
p00002
u879226672
1423152830
Python
Python
py
Runtime Error
0
0
99
import math while True: a,b = map(int,raw_input().split()) print int(math.log10(a + b) + 1)
File "/tmp/tmplhoj3ar1/tmpjrsmxpq4.py", line 4 print int(math.log10(a + b) + 1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s411961227
p00002
u392445270
1424413002
Python
Python
py
Runtime Error
0
0
127
while True: a = raw_input() if a == "": break temp = a.split() x = int(temp[0]) + int(temp[1]) c = str(x) print len(c)
File "/tmp/tmps2lnapku/tmp9drfqwhl.py", line 9 print len(c) ^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s044155273
p00002
u392445270
1424413295
Python
Python
py
Runtime Error
0
0
127
while True: a = raw_input() if a == "": break temp = a.split() x = int(temp[0]) + int(temp[1]) c = str(x) print len(c)
File "/tmp/tmpgug45o88/tmpx6xaftks.py", line 9 print len(c) ^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s808975591
p00002
u540744789
1425549170
Python
Python
py
Runtime Error
0
0
203
while True: x=raw_input() if x=='': break L=x.split(" ") sum = int(L[0])+int(L[1]) digit = 1 while sum>=10: sum = sum/10 digit = digit + 1 print digit
File "/tmp/tmpmluubamq/tmpxagfb478.py", line 12 print digit ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s769582700
p00002
u040533857
1425966637
Python
Python3
py
Runtime Error
0
0
54
a = int(input()) b = int(input()) print(len(str(a+b)))
Traceback (most recent call last): File "/tmp/tmpu0vch0ja/tmpldx8fxre.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s974579650
p00002
u040533857
1425966790
Python
Python3
py
Runtime Error
0
0
50
a=int(input()) b=int(input()) print(len(str(a+b)))
Traceback (most recent call last): File "/tmp/tmp7x8nxh7r/tmprblzi9ez.py", line 1, in <module> a=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s248296530
p00002
u040533857
1425966828
Python
Python3
py
Runtime Error
0
0
54
a=int(input()) b=int(input()) c=a+b print(len(str(c)))
Traceback (most recent call last): File "/tmp/tmpy626fjti/tmptpnv6pf1.py", line 1, in <module> a=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s380258327
p00002
u040533857
1425967532
Python
Python3
py
Runtime Error
0
0
72
while True: a,b=map(int,input().split(' ')) print(len(str(a+b)))
Traceback (most recent call last): File "/tmp/tmpd490gv7q/tmp1cbaa0c5.py", line 2, in <module> a,b=map(int,input().split(' ')) ^^^^^^^ EOFError: EOF when reading a line
s671441792
p00002
u355726239
1426735177
Python
Python3
py
Runtime Error
0
0
139
#!/usr/bin/env python # -*- coding: utf-8 -*- while True: a, b = map(int , input().split()) sum = a + b print(len(str(a + b)))
Traceback (most recent call last): File "/tmp/tmpcutckffi/tmplwhjqfcj.py", line 5, in <module> a, b = map(int , input().split()) ^^^^^^^ EOFError: EOF when reading a line
s046350392
p00002
u145563629
1428667794
Python
Python
py
Runtime Error
0
0
58
a = raw_input() b = raw_input() len(str(int(a) + int(b)))
Traceback (most recent call last): File "/tmp/tmp2ob9q9ij/tmpz6z04am4.py", line 1, in <module> a = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s252433816
p00002
u145563629
1428667826
Python
Python
py
Runtime Error
0
0
65
a = raw_input() b = raw_input() print(len(str(int(a) + int(b))))
Traceback (most recent call last): File "/tmp/tmp12iacvjs/tmpehx7unnq.py", line 1, in <module> a = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s175257596
p00002
u888595898
1428749157
Python
Python
py
Runtime Error
0
0
127
from math import * inputNum = [] for i in range(0, 3): inputNum.append(int(raw_input())) print int(log10(inputNum[i]) + 1)
File "/tmp/tmp3rby8yru/tmptq10ia6g.py", line 6 print int(log10(inputNum[i]) + 1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s384606073
p00002
u888595898
1428840064
Python
Python
py
Runtime Error
0
0
251
from math import * sumNum = [] i = 0 j = 0 while True: inputNum = map(int, raw_input().split()) if inputNum == []: break else: sumNum.append(inputNum[0] + inputNum[1]) i += 1 while i > j: print int(log10(sumNum[j]) + 1) j += 1
File "/tmp/tmpby3w0lhv/tmp47sye7f3.py", line 16 print int(log10(sumNum[j]) + 1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s130846204
p00002
u396642573
1428910584
Python
Python
py
Runtime Error
0
0
75
while True: a,b = map(int, raw_input().split()) print len(str(a+b))
File "/tmp/tmpxq6_dj_n/tmpxx2ctwhv.py", line 3 print len(str(a+b)) ^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s400456453
p00002
u308369184
1430557874
Python
Python3
py
Runtime Error
0
0
140
while True: try: s=input().split(" ") num=int(s[0])+int(s[1]) print(len(str(num))) escept: break
File "/tmp/tmpdcy9jp39/tmpp81o_ybv.py", line 6 escept: ^^^^^^ SyntaxError: expected 'except' or 'finally' block
s598649492
p00002
u747594996
1433933678
Python
Python3
py
Runtime Error
0
0
251
import math while True: try: num = input().split(" ") num1 = int(num[0]) num2 = int(num[1]) sum_number = num1 + num2 ans = int(math.log10(sum_number) + 1) print(ans) except: break
File "/tmp/tmpy9h3dcu0/tmpnym7kxp4.py", line 7 sum_number = num1 + num2 ^ SyntaxError: invalid non-printable character U+3000
s056543417
p00002
u873482706
1434185902
Python
Python
py
Runtime Error
0
0
346
def main(): while True: input_line = raw_input() num1 = int(input_line.split(' ')[0]) num2 = int(input_line.split(' ')[1]) sum = str(num1 + num2) count = 0 for num in sum: count += 1 else: print(count) if __name__ == '__main__': main()
Traceback (most recent call last): File "/tmp/tmpigf6d9pa/tmp2pti0b9_.py", line 16, in <module> main() File "/tmp/tmpigf6d9pa/tmp2pti0b9_.py", line 3, in main input_line = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s516465572
p00002
u492083164
1434790913
Python
Python3
py
Runtime Error
0
0
132
import math while(True): date=input() date=date.split() date=int(date[0])+int(date[1]) digit=int(math.log10(date)) print(digit)
Traceback (most recent call last): File "/tmp/tmpeed5cfcu/tmpp7auglc7.py", line 3, in <module> date=input() ^^^^^^^ EOFError: EOF when reading a line
s412701741
p00002
u622015302
1434826099
Python
Python
py
Runtime Error
0
0
95
while 1: list = raw_input().split() x = int(list[0]) + int(list[1]) print "%d" % len(str(x))
File "/tmp/tmpvx8x0354/tmpd3w5xlto.py", line 4 print "%d" % len(str(x)) ^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s854874526
p00002
u622015302
1434826231
Python
Python
py
Runtime Error
0
0
95
while 1: list = raw_input().split() x = int(list[0]) + int(list[1]) print "%d" % len(str(x))
File "/tmp/tmpgsaru31m/tmpmzp5g7e4.py", line 4 print "%d" % len(str(x)) ^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s223100295
p00002
u622015302
1434826254
Python
Python
py
Runtime Error
0
0
100
while 1: list = str(raw_input()).split() x = int(list[0]) + int(list[1]) print "%d" % len(str(x))
File "/tmp/tmpx0w0yqt_/tmp0njf5laq.py", line 4 print "%d" % len(str(x)) ^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s170592767
p00002
u722431421
1439450226
Python
Python
py
Runtime Error
0
0
253
# coding: utf-8 #Problem Name: Digit Number #ID: tabris #Mail: t123037@kaiyodai.ac.jp for i in range(200): s = raw_input() if s == '': break a,b = map(int,s.split(' ')) print len(str(a+b)) ''' Sample Input 5 7 1 99 1000 999 '''
File "/tmp/tmpqjo51llp/tmpb9lcyl0a.py", line 11 print len(str(a+b)) ^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s634429508
p00002
u722431421
1439450418
Python
Python
py
Runtime Error
0
0
308
# coding: utf-8 #Problem Name: Digit Number #ID: tabris #Mail: t123037@kaiyodai.ac.jp s = [] for i in range(200): s.append(raw_input()) if s[-1] == '': s.remove('') break for i in s: a,b = map(int,i.split(' ')) print len(str(a+b)) ''' Sample Input 5 7 1 99 1000 999 '''
File "/tmp/tmp8ul_88up/tmp6ivem5ra.py", line 15 print len(str(a+b)) ^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s548187279
p00002
u722431421
1439450454
Python
Python
py
Runtime Error
0
0
299
# coding: utf-8 #Problem Name: Digit Number #ID: tabris #Mail: t123037@kaiyodai.ac.jp s = [] while True: s.append(raw_input()) if s[-1] == '': s.remove('') break for i in s: a,b = map(int,i.split(' ')) print len(str(a+b)) ''' Sample Input 5 7 1 99 1000 999 '''
File "/tmp/tmpri7wrj2z/tmpzgclgez6.py", line 15 print len(str(a+b)) ^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s101536421
p00002
u126202702
1443538599
Python
Python
py
Runtime Error
0
0
163
import math a = [] while True: b = [input() for i in range(2)] if b == [0, 0] break a.append(b) for list in a: print math.log10(a[0]+a[1])
File "/tmp/tmpr8gmkpsq/tmp2vhgtluk.py", line 6 if b == [0, 0] ^ SyntaxError: expected ':'
s067057341
p00002
u695952004
1447081827
Python
Python3
py
Runtime Error
0
0
69
while True: a, b = map(int, input().split()) print(len(str(a + b)))
Traceback (most recent call last): File "/tmp/tmpeh6zr7ie/tmpd38gnu6n.py", line 2, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s213464628
p00002
u362869314
1447175977
Python
Python3
py
Runtime Error
0
0
81
while True: a, b = map(int, input().split()) print(len(str(a+b)))
Traceback (most recent call last): File "/tmp/tmpvajmfjh2/tmpms45fu6q.py", line 2, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s836271930
p00002
u300946041
1447571591
Python
Python
py
Runtime Error
0
0
157
import sys def main(): for line in sys.stdin.readlines(): a,b = [int(n) for n in line] ret = a + b print len(str(ret)) main()
File "/tmp/tmpcid7_gp8/tmp3uu1_4ea.py", line 8 print len(str(ret)) ^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s019615126
p00002
u775586391
1447930115
Python
Python3
py
Runtime Error
0
0
93
while True: a,b = map(int,input().split()) if a + b == 0: break print(len(str(a+b)))
Traceback (most recent call last): File "/tmp/tmpll46_cpx/tmptbe9ea8g.py", line 2, in <module> a,b = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s743953644
p00002
u775586391
1447930604
Python
Python3
py
Runtime Error
0
0
117
import sys.stdin.readlines for line in sys.stdin.readlines(): a,b = map(int,line.split()) print(len(str(a+b)))
Traceback (most recent call last): File "/tmp/tmpi12az_rp/tmpr8vt2xj3.py", line 1, in <module> import sys.stdin.readlines ModuleNotFoundError: No module named 'sys.stdin'; 'sys' is not a package
s249416795
p00002
u609881501
1448960759
Python
Python3
py
Runtime Error
0
0
305
#!/usr/bin/python3 import sys def Dnum(): str = " " while(str != '\n'): str = sys.stdin.readline() cnt = 0 list = str.split(" ") num = int(list[0])+int(list[1]) while(num >= 1): cnt=cnt+1 num = num/10 print(cnt) Dnum()
Traceback (most recent call last): File "/tmp/tmp6uem97t0/tmp26xwyom1.py", line 17, in <module> Dnum() File "/tmp/tmp6uem97t0/tmp26xwyom1.py", line 11, in Dnum num = int(list[0])+int(list[1]) ^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: ''
s141722435
p00002
u982618289
1449284015
Python
Python3
py
Runtime Error
0
0
349
flag = True inNums = [] while flag: inNums.append(raw_input().strip().split()) if inNums[-1] == []: flag = False for i in range(len(inNums)-1): a = int(inNums[i][0]) b = int(inNums[i][1]) temp = a+b x = 0 digitNum = 0 while temp // (10**x) > 0: digitNum = x x += 1 print(digitNum)
Traceback (most recent call last): File "/tmp/tmp29k3khtr/tmpfhf0lzj1.py", line 4, in <module> inNums.append(raw_input().strip().split()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s668365582
p00002
u982618289
1449288068
Python
Python3
py
Runtime Error
0
0
310
flag = True i = 0 inNums = [] while flag: inNums.append(raw_input().strip().split()) if inNums[-1] == []: flag = False for i in range(len(inNums)-1): a = int(inNums[i][0]) b = int(inNums[i][1]) temp = a+b x = 0 while temp // (10**x) > 0: x += 1 print(x)
Traceback (most recent call last): File "/tmp/tmpgoee7u8i/tmpy2cso9jb.py", line 5, in <module> inNums.append(raw_input().strip().split()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s834238625
p00002
u982618289
1449488897
Python
Python3
py
Runtime Error
0
0
314
flag = True i = 0 inNums = [] while flag: input = raw_input().strip().split() inNums.append(input) if input == []: flag = False for i in range(len(inNums)-1): a = int(inNums[i][0]) b = int(inNums[i][1]) temp = a+b x = 0 while temp // (10**x) > 0: x += 1 print(x)
Traceback (most recent call last): File "/tmp/tmpea_35etz/tmpg4bg6779.py", line 5, in <module> input = raw_input().strip().split() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s359362388
p00002
u982618289
1449490324
Python
Python3
py
Runtime Error
0
0
157
for i in input(): i.sprit() a = int(i[i][0]) b = int(i[i][1]) temp = a+b x = 0 while temp // (10**x) > 0: x += 1 print(x)
Traceback (most recent call last): File "/tmp/tmpsauvr1vt/tmp6oqaqhvd.py", line 1, in <module> for i in input(): ^^^^^^^ EOFError: EOF when reading a line
s540832202
p00002
u982618289
1449490388
Python
Python3
py
Runtime Error
0
0
157
for i in input(): i.split() a = int(i[i][0]) b = int(i[i][1]) temp = a+b x = 0 while temp // (10**x) > 0: x += 1 print(x)
Traceback (most recent call last): File "/tmp/tmpgb21m1yc/tmpjsb6k7ez.py", line 1, in <module> for i in input(): ^^^^^^^ EOFError: EOF when reading a line
s949821745
p00002
u982618289
1449491115
Python
Python3
py
Runtime Error
0
0
80
import sys for s in sys.stdin: a,b = map(int,s.split()) print len(str(a+b))
File "/tmp/tmp5y7rshy8/tmplhwue29p.py", line 5 print len(str(a+b)) ^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s846258609
p00002
u766477342
1456653820
Python
Python3
py
Runtime Error
0
0
99
while 1: i = input().split() if not i: break print(len(str(sum(map(int, i)))))
Traceback (most recent call last): File "/tmp/tmpp03jovte/tmp_xh0ght9.py", line 2, in <module> i = input().split() ^^^^^^^ EOFError: EOF when reading a line
s697070536
p00002
u766477342
1456654001
Python
Python3
py
Runtime Error
0
0
99
while 1: i = input() if not i: break print(len(str(sum(map(int, i.split())))))
Traceback (most recent call last): File "/tmp/tmp024pxqjv/tmp3kjjwfyc.py", line 2, in <module> i = input() ^^^^^^^ EOFError: EOF when reading a line
s749691153
p00002
u075836834
1457976573
Python
Python3
py
Runtime Error
0
0
106
while True: try: x,y=map(int,input().split()) print(int(math.log10(x+y))+1) except EOFError: break
s173045159
p00002
u915343634
1458271371
Python
Python3
py
Runtime Error
0
0
223
try: s = [] while True: t = raw_input() s.append(t) except EOFError: for i in range(len(s)): a = int(s[i].split(' ')[0]) b = int(s[i].split(' ')[1]) print(len(str(a + b)))
Traceback (most recent call last): File "/tmp/tmpawe89iy3/tmp3mxdeau1.py", line 4, in <module> t = raw_input() ^^^^^^^^^ NameError: name 'raw_input' is not defined
s397728875
p00002
u994049982
1458669439
Python
Python
py
Runtime Error
0
0
116
import sys a=[] for i in sys.stdin: a.append(map(int,i.split())) for i in a: print(str(len(str(i[0]+a[1]))))
s414193697
p00002
u919202930
1459592197
Python
Python3
py
Runtime Error
0
0
75
import math a=int(input()) b=int(input()) print(math.ceil(math.log10(a*b)))
Traceback (most recent call last): File "/tmp/tmp_64sbodw/tmp7pj74c39.py", line 2, in <module> a=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s352771516
p00002
u919202930
1459596298
Python
Python3
py
Runtime Error
0
0
90
import math nums = input().split() print(math.ceil(math.log10(int(nums[0])*int(nums[1]))))
Traceback (most recent call last): File "/tmp/tmpsiewa8dh/tmpl79eg1le.py", line 2, in <module> nums = input().split() ^^^^^^^ EOFError: EOF when reading a line
s198858647
p00002
u919202930
1459596457
Python
Python3
py
Runtime Error
0
0
90
import math nums = input().split() print(math.ceil(math.log10(int(nums[0])*int(nums[1]))))
Traceback (most recent call last): File "/tmp/tmpydxkt704/tmphvpe661w.py", line 2, in <module> nums = input().split() ^^^^^^^ EOFError: EOF when reading a line
s944250777
p00002
u919202930
1459611393
Python
Python3
py
Runtime Error
0
0
170
import sys,math inputs = sys.stdin.readlines() inputs = list(map(lambda x:list(map(int,x.split())),inputs)) for n in inputs: print(math.floor(math.log10(n[0]*n[1]))+1)
s148850328
p00002
u919202930
1459611463
Python
Python3
py
Runtime Error
0
0
170
import sys,math inputs = sys.stdin.readlines() inputs = list(map(lambda x:list(map(int,x.split())),inputs)) for n in inputs: print(math.floor(math.log10(n[0]*n[1]))+1)
s279348262
p00002
u919202930
1459696961
Python
Python3
py
Runtime Error
0
0
153
import sys,math inputs = list() for n in sys.stdin: inputs.append(list(map(int,n.split()))) for n in inputs: print(math.floor(math.log10(n[0]*n[1]))+1)
s390200479
p00002
u919202930
1459697710
Python
Python3
py
Runtime Error
0
0
156
import sys,math inputs = list() for n in sys.stdin: inputs.append(list(map(int,n.split()))) for n in inputs: print(math.floor(math.log10(n[0]*n[1]))+1)
s589564081
p00002
u310875948
1459698000
Python
Python3
py
Runtime Error
0
0
83
for line in sys.stdin: a, b = map(int, line.split()) print(len(str(a + b)))
Traceback (most recent call last): File "/tmp/tmpn28acghl/tmpd9bc3mer.py", line 1, in <module> for line in sys.stdin: ^^^ NameError: name 'sys' is not defined
s995634636
p00002
u310875948
1459698437
Python
Python3
py
Runtime Error
0
0
162
import sys,math inputs = list() for n in sys.stdin: inputs.append(list(map(int,n.split()))) for n in inputs: print(math.floor(math.log10(n[0]*n[1]))+1)
s156947351
p00002
u130979865
1459852839
Python
Python
py
Runtime Error
0
0
140
# -*- coding: utf-8 -*- import sys import math for line in sys.stdin: a, b = map(int, raw_input().split()) print math.log10(a+b)+1
File "/tmp/tmpclgz0w9h/tmpy740u7n3.py", line 8 print math.log10(a+b)+1 ^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s259297456
p00002
u130979865
1459852989
Python
Python
py
Runtime Error
0
0
124
# -*- coding: utf-8 -*- import sys for line in sys.stdin: a, b = map(int, raw_input().split()) print len(str(a+b))
File "/tmp/tmpq55mpwiq/tmpeo9qsty2.py", line 7 print len(str(a+b)) ^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s997675693
p00002
u130979865
1459853067
Python
Python
py
Runtime Error
0
0
136
# -*- coding: utf-8 -*- import sys for line in sys.stdin.readLines(): a, b = map(int, raw_input().split()) print len(str(a+b))
File "/tmp/tmpyhuh2e_k/tmpd9j9587k.py", line 7 print len(str(a+b)) ^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s462379462
p00002
u271525554
1460560476
Python
Python
py
Runtime Error
0
0
243
# coding: utf-8 import sys import math numbers = [] for line in open('numberset.dat'): numbers.append(line.split()) for i in range(len(numbers)): sum = int(numbers[i][0]) + int(numbers[i][1]) print int(math.log10(float(sum))) + 1
File "/tmp/tmp6s9k1p2y/tmpmvdp1673.py", line 11 print int(math.log10(float(sum))) + 1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s170008944
p00002
u454259029
1460821954
Python
Python3
py
Runtime Error
0
0
72
while True: a,b = map(int,input().split()) print (len(str(a+b)))
Traceback (most recent call last): File "/tmp/tmpemznxhu2/tmpjt1_rapb.py", line 2, in <module> a,b = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s040412686
p00002
u454259029
1460821992
Python
Python3
py
Runtime Error
0
0
111
while True: a,b = map(int,input().split()) print (len(str(a+b))) except EOFError: break
File "/tmp/tmphd1j4z63/tmpefteoiok.py", line 3 print (len(str(a+b))) IndentationError: unexpected indent
s196041001
p00002
u160865012
1460938448
Python
Python
py
Runtime Error
0
0
109
num = raw_input().split() import math print math.floor(math.log(num[1], 10))+1+math.floor(math.log(num[0]))+1
File "/tmp/tmpebjb8uh8/tmpp5698kqb.py", line 3 print math.floor(math.log(num[1], 10))+1+math.floor(math.log(num[0]))+1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s548331020
p00002
u160865012
1460938615
Python
Python
py
Runtime Error
0
0
119
num = map(int, raw_input().split()) import math print math.floor(math.log(num[1], 10))+1+math.floor(math.log(num[0]))+1
File "/tmp/tmp5pm9_ing/tmpni2ivxx6.py", line 3 print math.floor(math.log(num[1], 10))+1+math.floor(math.log(num[0]))+1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s967949756
p00002
u160865012
1460938660
Python
Python
py
Runtime Error
0
0
124
num = map(int, raw_input().split()) import math print int(math.floor(math.log(num[1], 10))+1+math.floor(math.log(num[0]))+1)
File "/tmp/tmp390jh00g/tmp0_filaqe.py", line 3 print int(math.floor(math.log(num[1], 10))+1+math.floor(math.log(num[0]))+1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s417631991
p00002
u160865012
1460938733
Python
Python
py
Runtime Error
0
0
128
num = map(int, raw_input().split()) import math print int(math.floor(math.log(num[1], 10))+1+math.floor(math.log(num[0], 10))+1)
File "/tmp/tmpa3uncujg/tmpqtt2e1kt.py", line 3 print int(math.floor(math.log(num[1], 10))+1+math.floor(math.log(num[0], 10))+1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s218353716
p00002
u160865012
1460938818
Python
Python
py
Runtime Error
0
0
128
num = map(int, raw_input().split()) import math print int(math.floor(math.log(num[1], 10))+1+math.floor(math.log(num[0], 10))+1)
File "/tmp/tmp63wlowvi/tmpf3xbnqcp.py", line 3 print int(math.floor(math.log(num[1], 10))+1+math.floor(math.log(num[0], 10))+1) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s122902785
p00002
u791170614
1461616168
Python
Python3
py
Runtime Error
0
0
241
f = open('newfile.txt') all = [] sums = f.read() f.close() lines = sums.split('\n') for i in range(len(lines)): all.append(lines[i].split(' ')) for i in range(len(all)): keta = str(int(all[i][0]) + int(all[i][1])) print(len(list(keta)))
Traceback (most recent call last): File "/tmp/tmp0z_dom6j/tmpewiiksua.py", line 1, in <module> f = open('newfile.txt') ^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'newfile.txt'
s476486907
p00002
u791170614
1461616546
Python
Python3
py
Runtime Error
0
0
143
while True: try: N = map(int, input().split(' ')) sums = N[0] + N[1] keta = list(str(sums)) print(len(kata)) except EOFError: break
s844807980
p00002
u791170614
1461617434
Python
Python3
py
Runtime Error
0
0
179
try: lines = [] while True: lines.append(map(int, input().split(' '))) except EOFError: for i in range(len(lines)): sums = lines[i][0] + lines[i][1] print(len(str(sums)))
s657900545
p00002
u473221511
1461634176
Python
Python3
py
Runtime Error
0
0
244
str = input() l = [] while str != "0 0": l.append(str) str = input() for i in range(len(l)): numl = l[i].split(' ') a = int(numl[0]) b = int(numl[1]) sum = a + b digitstr = "{0}".format(sum) print(len(digitstr))
Traceback (most recent call last): File "/tmp/tmpbvx2uo5f/tmpum88858l.py", line 1, in <module> str = input() ^^^^^^^ EOFError: EOF when reading a line
s179021514
p00002
u473221511
1461634278
Python
Python3
py
Runtime Error
0
0
236
str = input() l = [] while True: l.append(str) str = input() for i in range(len(l)): numl = l[i].split(' ') a = int(numl[0]) b = int(numl[1]) sum = a + b digitstr = "{0}".format(sum) print(len(digitstr))
Traceback (most recent call last): File "/tmp/tmpb0kuuv9s/tmpin040v6w.py", line 1, in <module> str = input() ^^^^^^^ EOFError: EOF when reading a line
s447122863
p00002
u328069918
1463979921
Python
Python3
py
Runtime Error
0
0
52
import math print(int(math.log10(int(input()) + 1)))
Traceback (most recent call last): File "/tmp/tmpgpjx07sc/tmpxvsby_7g.py", line 2, in <module> print(int(math.log10(int(input()) + 1))) ^^^^^^^ EOFError: EOF when reading a line
s475728530
p00002
u896025703
1469449550
Python
Python3
py
Runtime Error
0
0
131
import math while True: try: a, b = map(int, input().split()) print(int(math.log10(a + b, 10)) + 1) except EOFError: break
s836860704
p00002
u393305246
1474183493
Python
Python
py
Runtime Error
0
0
136
while True: inl=map(int, raw_input().split()) num=inl[0]+inl[1] a=list(str(num)) time=0 for i in a: time+=1 print time
File "/tmp/tmpdbn5xsr8/tmp0u9zbqcd.py", line 10 print time ^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s099984077
p00002
u393305246
1474184078
Python
Python
py
Runtime Error
0
0
161
while True: inl=map(int, raw_input().split()) if inl==[]: break num=inl[0]+inl[1] a=list(str(num)) time=0 for i in a: time+=1 print time
File "/tmp/tmpv5ij05fu/tmp62pqg24b.py", line 13 print time ^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s487536746
p00002
u393305246
1474184126
Python
Python
py
Runtime Error
0
0
160
while True: inl=map(int, raw_input().split()) if inl==[]: break num=inl[0]+inl[1] a=list(str(num)) time=0 for i in a: time+=1 print time
File "/tmp/tmp2phfrqo1/tmp6vi1hyrp.py", line 13 print time ^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s627733338
p00002
u393305246
1474184564
Python
Python
py
Runtime Error
0
0
155
import sys for i in sys.stdin: inl=map(int, raw_input().split()) num=inl[0]+inl[1] a=list(str(num)) time=0 for i in a: time+=1 print time
File "/tmp/tmpebm4q4_7/tmpw8w0j8hd.py", line 11 print time ^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s178906382
p00002
u393305246
1474187288
Python
Python
py
Runtime Error
0
0
111
import sys for i in sys.stdin: inl=i.split() a=inl[0]+inl[1] time=0 for n in a time+=1 print tie
File "/tmp/tmp4qbcp4op/tmp2xo0wfp1.py", line 7 for n in a ^ SyntaxError: expected ':'
s798467564
p00002
u393305246
1474191836
Python
Python
py
Runtime Error
0
0
190
a = [] for line in sys.stdin: a.append(line) for n in a: inl=n.split() num=int(inl[0])+int(inl[1]) l=list(str(num)) time=0 for i in l: time+=1 print time
File "/tmp/tmpzsxcpxzf/tmpuriq9_i2.py", line 12 print time ^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s181664659
p00002
u545973195
1475219095
Python
Python3
py
Runtime Error
0
0
91
a=input() while a!=None: b=map(int,a.split()) print(len(str(sum(b)))) a=input()
Traceback (most recent call last): File "/tmp/tmp3qgpbab2/tmp1aaa3_f3.py", line 1, in <module> a=input() ^^^^^^^ EOFError: EOF when reading a line
s693265499
p00002
u372789658
1475516131
Python
Python3
py
Runtime Error
0
0
106
While True: try: print(len(str(sum(list(map(int,input().split())))))) except: bereak
File "/tmp/tmp3kr1eygb/tmpb74yznpg.py", line 1 While True: ^^^^ SyntaxError: invalid syntax
s201225383
p00002
u372789658
1475516175
Python
Python3
py
Runtime Error
0
0
105
While True: try: print(len(str(sum(list(map(int,input().split())))))) except: break
File "/tmp/tmpe9arcw20/tmpjveoy2bv.py", line 1 While True: ^^^^ SyntaxError: invalid syntax
s733046491
p00002
u155232084
1476435915
Python
Python3
py
Runtime Error
0
0
192
import math lis=[] n=0 while n < 200: nums = list(map(int, input().split())) a=int(math.log(nums[0],10))+1)+(int(math.log(nums[1],10))+1) lis.append(a) for i in lis: print(i)
File "/tmp/tmpqm6og3k1/tmpkarb1n7z.py", line 7 a=int(math.log(nums[0],10))+1)+(int(math.log(nums[1],10))+1) ^ SyntaxError: unmatched ')'
s478956642
p00002
u155232084
1476436099
Python
Python3
py
Runtime Error
0
0
209
import math lis=[] n=0 while n < 200: nums = list(map(int, input().split())) print(nums) a=int(1.0+math.log(nums[0],10))+int(1.0+math.log(nums[1],10)) lis.append(a) for i in lis: print(i)
Traceback (most recent call last): File "/tmp/tmp3fyzduhy/tmpw2w4v6ky.py", line 6, in <module> nums = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s693437583
p00002
u155232084
1476436426
Python
Python3
py
Runtime Error
0
0
155
import math for n in range(200): nums = list(map(int, input().split())) a=int(1.0+math.log(nums[0],10))+int(1.0+math.log(nums[1],10)) print(a)
Traceback (most recent call last): File "/tmp/tmpa5yrsa6_/tmp8bek0mzi.py", line 4, in <module> nums = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s537227496
p00002
u155232084
1476436747
Python
Python3
py
Runtime Error
0
0
330
import math for n in range(200): nums = list(map(int, input().split())) if nums==[]: break else: if nums[0]==0: a=1 else: a = int(1.0+math.log(nums[0],10)) if nums[1]==0: b=1 else: b = int(1.0+math.log(nums[1],10)) print(a+b)
Traceback (most recent call last): File "/tmp/tmps2lcsca4/tmpe2faztuy.py", line 4, in <module> nums = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s795766300
p00002
u155232084
1476436789
Python
Python3
py
Runtime Error
0
0
334
import math for n in range(200): nums = list(map(int, input().split())) if nums==[]: break else: if nums[0]==0: a=1 else: a = int(1.0+math.log(nums[0],10)) if nums[1]==0: b=1 else: b = int(1.0+math.log(nums[1],10)) print(a+b)
Traceback (most recent call last): File "/tmp/tmpjyh0ax0j/tmp_nkgj76n.py", line 4, in <module> nums = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s054569870
p00002
u155232084
1476437316
Python
Python3
py
Runtime Error
0
0
388
import math lis=[] for n in range(200): nums = list(map(int, input().split())) if nums==[]: break else: if nums[0]==0: a=1 else: a = int(1.0+math.log(nums[0],10)) if nums[1]==0: b=1 else: b = int(1.0+math.log(nums[1],10)) lis.append(a+b) for i in lis: print(i)
Traceback (most recent call last): File "/tmp/tmpibza03yg/tmp7iax1tlr.py", line 4, in <module> nums = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s820236940
p00002
u155232084
1476437828
Python
Python3
py
Runtime Error
0
0
288
import math import sys for line in sys.stdin: words=line.strip().split(" ") a=int(words[0]) b=int(words[1]) if a==0: a=1 else: a = int(1.0+math.log(a[0],10)) if b==0: b=1 else: b = int(1.0+math.log(b[1],10)) print(a+b)
s876766496
p00002
u776559258
1477308707
Python
Python3
py
Runtime Error
0
0
61
while True: a,b=[int(i) in input().split()] print(len(a+b))
Traceback (most recent call last): File "/tmp/tmpzaevbwdb/tmp1a7vrtl1.py", line 2, in <module> a,b=[int(i) in input().split()] ^ NameError: name 'i' is not defined. Did you mean: 'id'?
s614938884
p00002
u776559258
1477308833
Python
Python3
py
Runtime Error
0
0
89
while True: a,b=[int(i) for i in input().split()] if a==False: break print(len(a+b))
Traceback (most recent call last): File "/tmp/tmp32z7kc8c/tmpoehn61j1.py", line 2, in <module> a,b=[int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line