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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s143414340 | p00002 | u776559258 | 1477533845 | Python | Python3 | py | Runtime Error | 0 | 0 | 119 | import sys
input_lines=sys.stdin.readlines()
for line in input_lines:
x,y=[int(i) for i in line]
print(len(str(x+y))) | ||
s341353440 | p00002 | u776559258 | 1477533901 | Python | Python3 | py | Runtime Error | 0 | 0 | 123 | import sys
input_lines=sys.stdin.readlines()
for line in input_lines:
x=[int(i) for i in line]
print(len(str(x[0]+x[1]))) | ||
s199721595 | p00002 | u831244171 | 1477586292 | Python | Python | py | Runtime Error | 0 | 0 | 92 | while True:
m,n = map(int,raw_input().split())
a = list(str(m + n))
print len(a) | File "/tmp/tmph77cpf28/tmpuyv45g93.py", line 4
print len(a)
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s739242984 | p00002 | u831244171 | 1477586436 | Python | Python | py | Runtime Error | 0 | 0 | 113 | while True:
try:
m,n = map(int,raw_input().split())
a = list(str(m + n))
print len(a)
except EOFError:
break | File "/tmp/tmpqb54kzys/tmp_3jbnrf_.py", line 2
try:
^
IndentationError: expected an indented block after 'while' statement on line 1
| |
s847524907 | p00002 | u831244171 | 1477586512 | Python | Python | py | Runtime Error | 0 | 0 | 139 | while True:
try:
m,n = map(int,raw_input().split())
a = list(str(m + n))
print len(a)
except:
break | File "/tmp/tmpf_84no9t/tmpkyiirnl8.py", line 5
print len(a)
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s635107249 | p00002 | u831244171 | 1477587134 | Python | Python | py | Runtime Error | 0 | 0 | 92 | import sys
for i in sys.stdin:
print len(list(str(sum(map(int,raw_input().split())))))
| File "/tmp/tmptmu652hd/tmp22_p0yur.py", line 3
print len(list(str(sum(map(int,raw_input().split())))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s666532719 | p00002 | u831244171 | 1477587234 | Python | Python | py | Runtime Error | 0 | 0 | 88 | import sys
for i in sys.stdin: print len(list(str(sum(map(int,raw_input().split())))))
| File "/tmp/tmpj9y95b3z/tmpbo1uq30z.py", line 2
for i in sys.stdin: print len(list(str(sum(map(int,raw_input().split())))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s612624363 | p00002 | u166871988 | 1477922485 | Python | Python3 | py | Runtime Error | 0 | 0 | 238 | while True:
rig=[int(i) for i in input().split(" ")]
ke=rig[0]+rig[1]
ans=1
count=10
while True:
if ke<count:
print(ans)
break
else:
ans+=1
count=count*10 | Traceback (most recent call last):
File "/tmp/tmpbm4ke4m9/tmpk9ai94q0.py", line 2, in <module>
rig=[int(i) for i in input().split(" ")]
^^^^^^^
EOFError: EOF when reading a line
| |
s097612159 | p00002 | u922871577 | 1479277811 | Python | Python | py | Runtime Error | 0 | 0 | 80 | for line in sys.stdin:
a, b = map(int, line.split())
print len(str(a+b)) | File "/tmp/tmpqbm1fxs1/tmp0oj6hoqt.py", line 3
print len(str(a+b))
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s662860892 | p00002 | u301729341 | 1480859556 | Python | Python3 | py | Runtime Error | 0 | 0 | 138 | while True:
try:
Nu = list(map(int,input().split()))
print(len(str(Nu[0]+Nu[1])))
except IndexError:
break | Traceback (most recent call last):
File "/tmp/tmpr07q9zmq/tmpg73xprq8.py", line 3, in <module>
Nu = list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s521586395 | p00002 | u301729341 | 1480859765 | Python | Python3 | py | Runtime Error | 0 | 0 | 125 | while True:
try:
a,b = map(int,input().split())
print(len(str(a+b)))
except ValueError:
break | Traceback (most recent call last):
File "/tmp/tmpckoke2mv/tmpdt_eujil.py", line 3, in <module>
a,b = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s804045820 | p00002 | u435300817 | 1480893705 | Python | Python3 | py | Runtime Error | 0 | 0 | 334 | values = []
i = 0
while True:
values.append([int(x) for x in input().split()])
if [] == values[i] and 0 == len(values[i]):
values.pop()
break
else:
i += 1
sum = 0
digit = 0
for x, y in values:
sum = x + y
digit = 0
while sum >= 1:
sum //= 10
digit += 1
print(digit) | Traceback (most recent call last):
File "/tmp/tmprj0_xteo/tmpcdkcp7ja.py", line 4, in <module>
values.append([int(x) for x in input().split()])
^^^^^^^
EOFError: EOF when reading a line
| |
s768617216 | p00002 | u206656948 | 1481336881 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | l = map(int, raw_input().split())
l1 = [int(i) for i in l]
sum = (l1[0] + l1[1])
import math
print(int(math.log10(sum) + 1)) | Traceback (most recent call last):
File "/tmp/tmpnn6hn0oa/tmpmfuccmn6.py", line 1, in <module>
l = map(int, raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s686559163 | p00002 | u206656948 | 1481336952 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | l = map(int, raw_input().split())
l1 = [int(i) for i in l]
sum = (l1[0] + l1[1])
print(int(math.log10(sum) + 1)) | Traceback (most recent call last):
File "/tmp/tmpcbcn93u9/tmpckawpa46.py", line 1, in <module>
l = map(int, raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s226809513 | p00002 | u206656948 | 1481337252 | Python | Python3 | py | Runtime Error | 0 | 0 | 220 | while True:
try:
l = map(int, raw_input().split())
l1 = [int(i) for i in l]
sum = (l1[0] + l1[1])
import math
print(int(math.log10(sum) + 1))
except EOFError:
break | Traceback (most recent call last):
File "/tmp/tmpipv11h_3/tmpdlnq7g12.py", line 3, in <module>
l = map(int, raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s321037007 | p00002 | u206656948 | 1481337321 | Python | Python3 | py | Runtime Error | 0 | 0 | 212 | import math
while True:
try:
l = map(int, raw_input().split())
l1 = [int(i) for i in l]
sum = (l1[0] + l1[1])
print(int(math.log10(sum) + 1))
except EOFError:
break | Traceback (most recent call last):
File "/tmp/tmpajt5ixe6/tmpv9985h3s.py", line 4, in <module>
l = map(int, raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s629715165 | p00002 | u711765449 | 1483532594 | Python | Python3 | py | Runtime Error | 0 | 0 | 122 | # -*- coding:utf-8 -*-
array = input().split()
a, b = int(array[0]), int(array[1])
x = a+b
print(int(math.log10(x) + 1)) | Traceback (most recent call last):
File "/tmp/tmpfnw00x7b/tmpr6d81cxm.py", line 3, in <module>
array = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s800094482 | p00002 | u711765449 | 1483532740 | Python | Python3 | py | Runtime Error | 0 | 0 | 154 | # -*- coding:utf-8 -*-
while True:
array = input().split()
a, b = int(array[0]), int(array[1])
x = a+b
print(int(math.log10(x) + 1)) | Traceback (most recent call last):
File "/tmp/tmpitrjw4vg/tmp2_7_acl6.py", line 4, in <module>
array = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s612646398 | p00002 | u711765449 | 1483533844 | Python | Python3 | py | Runtime Error | 0 | 0 | 234 | # -*- coding:utf-8 -*-
import sys
import math
array =[]
for line in sys.stdin:
array.append(line)
for i in range(array):
num = array[i].sprit(' ')
a = num[0]
b = num[1]
n = a + b
print(int(math.log10(x) + 1)) | Traceback (most recent call last):
File "/tmp/tmpry6syov4/tmpmyy5nfim.py", line 9, in <module>
for i in range(array):
^^^^^^^^^^^^
TypeError: 'list' object cannot be interpreted as an integer
| |
s127385514 | p00002 | u711765449 | 1483533963 | Python | Python3 | py | Runtime Error | 0 | 0 | 367 | # -*- coding:utf-8 -*-
#Write a program which computes the digit number of sum of two integers a and b.
import sys
import math
array =[]
for line in sys.stdin:
try:
array.append(line)
except EOFError:
break
for i in range(array):
num = array[i].sprit(' ')
a = num[0]
b = num[1]
n = a + b
print(int(math.log10(x) + 1)) | Traceback (most recent call last):
File "/tmp/tmpapoma9d6/tmpylfzclp4.py", line 13, in <module>
for i in range(array):
^^^^^^^^^^^^
TypeError: 'list' object cannot be interpreted as an integer
| |
s443192709 | p00002 | u319774425 | 1484484736 | Python | Python | py | Runtime Error | 0 | 0 | 171 | def plus_and_check(list):
sum_up = 0
for i in range(len(list)-1):
sum_up += list[i]
l = map(int, raw_input().split())
print "%d" % plus_and_check(l) | File "/tmp/tmpvgfgzln_/tmp4yn0uxm2.py", line 9
print "%d" % plus_and_check(l)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s947554658 | p00002 | u319774425 | 1484489527 | Python | Python | py | Runtime Error | 0 | 0 | 295 | def plus_and_check(list):
sum_up = sum(list)
while i > 0:
number_1 = 10 * i
number_2 = 10 * (i+1)
if number_2 > sum_up and sum_up > number_1:
return i
else:
continue
l = map(int, raw_input().split())
print "%d" % plus_and_check(l) | File "/tmp/tmp89co6i7j/tmpen9jmtdc.py", line 12
print "%d" % plus_and_check(l)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s376686663 | p00002 | u319774425 | 1484489544 | Python | Python | py | Runtime Error | 0 | 0 | 295 | def plus_and_check(list):
sum_up = sum(list)
while i > 0:
number_1 = 10 * i
number_2 = 10 * (i+1)
if number_2 > sum_up and sum_up > number_1:
return i
else:
continue
l = map(int, raw_input().split())
print "%d" % plus_and_check(l) | File "/tmp/tmp0qh29804/tmpxz9gywxv.py", line 12
print "%d" % plus_and_check(l)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s364070620 | p00002 | u319774425 | 1484489603 | Python | Python | py | Runtime Error | 0 | 0 | 313 | def plus_and_check(list):
sum_up = sum(list)
while i > 0:
number_1 = 10 * i
number_2 = 10 * (i+1)
if number_2 > sum_up and sum_up > number_1:
return i
else:
continue
i = i + 1
l = map(int, raw_input().split())
print "%d" % plus_and_check(l) | File "/tmp/tmplhauf9h2/tmpheeezod3.py", line 13
print "%d" % plus_and_check(l)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s839801161 | p00002 | u319774425 | 1484626810 | Python | Python | py | Runtime Error | 0 | 0 | 281 | import sys
def plus_and_check(list):
sum_up = sum(list)
return len(str(sum_up))
a = []
for line in sys.stdin:
a.append(map(iny, raw_input().split()))
answer = []
for i in range(len(a)):
answer = plus_and_check(l)
for i in range(len(answer)):
print answer[i] | File "/tmp/tmpxn5v9_qh/tmpfjo4il4j.py", line 16
print answer[i]
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s559747093 | p00002 | u319774425 | 1484627091 | Python | Python | py | Runtime Error | 0 | 0 | 284 | import sys
def plus_and_check(list):
sum_up = sum(list)
return len(str(sum_up))
a = []
for line in sys.stdin:
a.append(map(iny, raw_input().split()))
answer = []
for i in range(len(a)):
answer = plus_and_check(a[i])
for i in range(len(answer)):
print answer[i] | File "/tmp/tmpbafcqu22/tmpzve9gfzt.py", line 16
print answer[i]
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s657058062 | p00002 | u319774425 | 1484627644 | Python | Python | py | Runtime Error | 0 | 0 | 284 | import sys
def plus_and_check(list):
sum_up = sum(list)
return len(str(sum_up))
a = []
for line in sys.stdin:
a.append(map(int, raw_input().split()))
answer = []
for i in range(len(a)):
answer = plus_and_check(a[i])
for i in range(len(answer)):
print answer[i] | File "/tmp/tmppomtd1jz/tmp_ujy5tjm.py", line 16
print answer[i]
^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s367398325 | p00002 | u319774425 | 1484627786 | Python | Python | py | Runtime Error | 0 | 0 | 274 | import sys
def plus_and_check(lines):
a, b = lines.split()
number = a + b
return len(str(number))
a = []
for line in sys.stdin:
a.append(int(line))
answer = []
for i in range(len(a)):
answer = plus_and_check(a[i])
for i in range(len(answer)):
print answer[i] | File "/tmp/tmpmph4qdlt/tmpos9kgu14.py", line 4
a, b = lines.split()
^
IndentationError: expected an indented block after function definition on line 3
| |
s286672393 | p00002 | u319774425 | 1484627829 | Python | Python | py | Runtime Error | 0 | 0 | 274 | import sys
def plus_and_check(lines):
c, d = lines.split()
number = c + d
return len(str(number))
a = []
for line in sys.stdin:
a.append(int(line))
answer = []
for i in range(len(a)):
answer = plus_and_check(a[i])
for i in range(len(answer)):
print answer[i] | File "/tmp/tmpyz0090zn/tmpjt0dclbf.py", line 4
c, d = lines.split()
^
IndentationError: expected an indented block after function definition on line 3
| |
s271839175 | p00002 | u319774425 | 1484627955 | Python | Python | py | Runtime Error | 0 | 0 | 275 | import sys
def plus_and_check(lines):
c, d = lines.split()
number = c + d
return len(str(number))
a = []
for line in sys.stdin:
a.append(int(line))
answer = []
i = 0
while i < len(a):
answer = plus_and_check(a[i])
j = 0
while j < len(answer):
print answer[i] | File "/tmp/tmpqjvn8vkp/tmpwl5lxdtb.py", line 4
c, d = lines.split()
^
IndentationError: expected an indented block after function definition on line 3
| |
s595907281 | p00002 | u319774425 | 1484628594 | Python | Python | py | Runtime Error | 0 | 0 | 278 | import sys
def plus_and_check(lines):
c, d = lines.split()
number = c + d
return len(str(number))
a = []
answer = []
for line in sys.stdin:
a.append(int(line))
i = 0
while i < len(a)-1:
answer = plus_and_check(a[i])
j = 0
while j < len(answer)-1:
print answer[i] | File "/tmp/tmpo8bi6cco/tmpddhcoddu.py", line 4
c, d = lines.split()
^
IndentationError: expected an indented block after function definition on line 3
| |
s895469647 | p00002 | u811841526 | 1485605228 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | while True:
line = input()
if not line:
break
a, b = map(int, line.split())
print(a + b) | Traceback (most recent call last):
File "/tmp/tmpjzd8m83d/tmp4wg_lmbj.py", line 2, in <module>
line = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s783805102 | p00002 | u811841526 | 1485605310 | Python | Python3 | py | Runtime Error | 0 | 0 | 128 | while True:
try:
line = input()
except IOError:
break
a, b = map(int, line.split())
print(a + b) | Traceback (most recent call last):
File "/tmp/tmploqfd5h2/tmpduwu4_j2.py", line 3, in <module>
line = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s965074333 | p00002 | u811841526 | 1485605556 | Python | Python3 | py | Runtime Error | 0 | 0 | 158 | while True:
try:
line = input()
except EOFError:
break
for c in line:
print(len(filter(lambda c: c in '123456789', line))) | ||
s372165633 | p00002 | u811841526 | 1485605646 | Python | Python3 | py | Runtime Error | 0 | 0 | 135 | while True:
try:
line = input()
except EOFError:
break
print(len(filter(lambda c: c in '123456789', line))) | ||
s083611751 | p00002 | u811841526 | 1485605908 | Python | Python3 | py | Runtime Error | 0 | 0 | 202 | while True:
try:
line = input()
except EOFError:
break
s = sum(map(int, line.split()))
num = 0
for c in s:
if c.isdigit():
num += 1
print(num) | ||
s199063777 | p00002 | u655138261 | 1486565716 | Python | Python | py | Runtime Error | 0 | 0 | 191 | #! /usr/bin/env python
# -*- coding: utf-8 -*-
def main():
nums = input().split(" ")
sum = int(nums[0]) + int(nums[1])
print(len(str(sum)))
if __name__ == '__main__':
main() | Traceback (most recent call last):
File "/tmp/tmpvp1wgw7p/tmpq_f5hyoa.py", line 10, in <module>
main()
File "/tmp/tmpvp1wgw7p/tmpq_f5hyoa.py", line 5, in main
nums = input().split(" ")
^^^^^^^
EOFError: EOF when reading a line
| |
s358392642 | p00002 | u897625141 | 1489384147 | Python | Python | py | Runtime Error | 0 | 0 | 60 | a,b = (int(i) for i in input().split())
print(len(str(a+b))) | Traceback (most recent call last):
File "/tmp/tmpd0ncxhrx/tmpx74lsmtu.py", line 1, in <module>
a,b = (int(i) for i in input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s387711664 | p00002 | u318658123 | 1489387800 | Python | Python3 | py | Runtime Error | 0 | 0 | 275 | if __name__ == '__main__':
nums = []
for line in sys.stdin:
if line == "\n":
break
else :
nums.append([int(item) for item in input().split(" ")])
for n in nums:
sum = n[0] + n[1]
print(len(str(sum)))
| Traceback (most recent call last):
File "/tmp/tmpc7mo9cy9/tmpy1b566ch.py", line 5, in <module>
for line in sys.stdin:
^^^
NameError: name 'sys' is not defined
| |
s872665190 | p00002 | u318658123 | 1489387893 | Python | Python3 | py | Runtime Error | 0 | 0 | 272 | if __name__ == '__main__':
nums = []
for line in sys.stdin:
if line == "\n":
break
else :
nums.append([int(item) for item in line.split(" ")])
for n in nums:
sum = n[0] + n[1]
print(len(str(sum)))
| Traceback (most recent call last):
File "/tmp/tmpxtafkq5_/tmp9gja448k.py", line 5, in <module>
for line in sys.stdin:
^^^
NameError: name 'sys' is not defined
| |
s672997317 | p00002 | u073709667 | 1490465005 | Python | Python | py | Runtime Error | 0 | 0 | 65 | a,b=map(int,input().split())
sum=a+b
sum=str(sum)
print(len(sum)) | Traceback (most recent call last):
File "/tmp/tmp8f2oo4ph/tmp_sfj4ddi.py", line 1, in <module>
a,b=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s120749778 | p00002 | u073709667 | 1490465810 | Python | Python3 | py | Runtime Error | 0 | 0 | 81 | while True:
a,b=map(int,input().split())
sum=str(a+b)
print(len(sum)) | Traceback (most recent call last):
File "/tmp/tmpo_kzt3xk/tmp5a8i7lt8.py", line 2, in <module>
a,b=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s168308078 | p00002 | u873302699 | 1490958167 | Python | Python | py | Runtime Error | 0 | 0 | 117 | while True:
input = raw_input()
splited = input.split()
num = int(splited[0])+int(splited[1])
print len(str(num)) | File "/tmp/tmpax5mrw3h/tmpaf_ffj13.py", line 5
print len(str(num))
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s962668238 | p00002 | u873302699 | 1490958215 | Python | Python | py | Runtime Error | 0 | 0 | 117 | while True:
input = raw_input()
splited = input.split()
num = int(splited[0])+int(splited[1])
print len(str(num)) | File "/tmp/tmpe1_2no7b/tmpih2if6bk.py", line 5
print len(str(num))
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s410768963 | p00002 | u873302699 | 1490958848 | Python | Python | py | Runtime Error | 0 | 0 | 153 | while True:
try:
input = raw_input()
splited = input.split()
num = int(splited[0])+int(splited[1])
print len(str(num))
except EOFerror:
break | File "/tmp/tmp0a6ztaf0/tmpb6wl500u.py", line 6
print len(str(num))
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s518519711 | p00002 | u873302699 | 1490958963 | Python | Python | py | Runtime Error | 0 | 0 | 137 | while True:
try:
splited = raw_input().split()
num = int(splited[0])+int(splited[1])
print len(str(num))
except EOFerror:
break | File "/tmp/tmpprpgjs93/tmpvrusvzvs.py", line 5
print len(str(num))
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s243283371 | p00002 | u873302699 | 1490959017 | Python | Python | py | Runtime Error | 0 | 0 | 102 | while True:
try:
a,b = map(int raw_input().split())
print len(str(a+b))
except EOFerror:
break | File "/tmp/tmp7yt956ik/tmpzk9oj2jj.py", line 3
a,b = map(int raw_input().split())
^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s305964024 | p00002 | u873302699 | 1490959062 | Python | Python | py | Runtime Error | 0 | 0 | 103 | while True:
try:
a,b = map(int, raw_input().split())
print len(str(a+b))
except EOFerror:
break | File "/tmp/tmpxygu39ma/tmp31judzxe.py", line 4
print len(str(a+b))
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s947645099 | p00002 | u873302699 | 1490959092 | Python | Python | py | Runtime Error | 0 | 0 | 108 | while True:
try:
a,b = map(int, raw_input().split())
print int(len(str(a+b)))
except EOFerror:
break | File "/tmp/tmpumril_ek/tmpy4l0njlc.py", line 4
print int(len(str(a+b)))
^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s890212265 | p00002 | u337016727 | 1491206938 | Python | Python3 | py | Runtime Error | 0 | 0 | 291 | # coding: utf-8
import fileinput
import math
reslt = []
for line in fileinput.input():
tokens = list(map(int, line.strip().split()))
wa = tokens[0], tokens[1]
keta = int(math.log10(wa) + 1)
result.append(keta)
for i in range(len(result)):
print[i]
| Traceback (most recent call last):
File "/tmp/tmp1bqau21f/tmpigj8oexv.py", line 13, in <module>
for i in range(len(result)):
^^^^^^
NameError: name 'result' is not defined. Did you mean: 'reslt'?
| |
s384981977 | p00002 | u371539389 | 1491821531 | Python | Python3 | py | Runtime Error | 0 | 0 | 167 | import sys
def keta(x):
return len(str(x))
while True:
t=input()
if t=="":
sys.exit()
a,b=[int(i) for i in t.split(" ")]
print(keta(a+b)) | Traceback (most recent call last):
File "/tmp/tmpx55_obc5/tmplyi8p34t.py", line 7, in <module>
t=input()
^^^^^^^
EOFError: EOF when reading a line
| |
s659036853 | p00002 | u327704389 | 1494290768 | Python | Python | py | Runtime Error | 0 | 0 | 109 | while True:
try:
a,b = map(int,input().split())
print (len(str(a+b)))
except EOFError:
break: | File "/tmp/tmpjobkpgke/tmpic85g5fe.py", line 6
break:
^
SyntaxError: invalid syntax
| |
s641185612 | p00002 | u923668099 | 1494497066 | Python | Python3 | py | Runtime Error | 0 | 0 | 441 | import sys
def solve():
while True:
try:
a, b = map(int, sys.stdin.readline().split())
c = a + b
if c == 0:
print(1)
else:
ans = 0
while c > 0:
ans += 1
c //= 10
print(ans)
except EOFError:
return
if __name__ == '__main__':
solve() | Traceback (most recent call last):
File "/tmp/tmpnj297hs9/tmpjajf0zfa.py", line 24, in <module>
solve()
File "/tmp/tmpnj297hs9/tmpjajf0zfa.py", line 6, in solve
a, b = map(int, sys.stdin.readline().split())
^^^^
ValueError: not enough values to unpack (expected 2, got 0)
| |
s321101879 | p00002 | u362104929 | 1494576364 | Python | Python3 | py | Runtime Error | 0 | 0 | 385 | def main():
def inputs():
li = []
string = input()
count = 0
while count < 201 and string != "":
li.append(string)
string = input()
count += 1
return li
li = inputs()
for x in li:
a = x.split(" ")
print(int(a[0]) + int(a[1]))
return None
if __name__ == '__main__':
main() | Traceback (most recent call last):
File "/tmp/tmp7w_ymvj9/tmp3b1u9yoa.py", line 19, in <module>
main()
File "/tmp/tmp7w_ymvj9/tmp3b1u9yoa.py", line 12, in main
li = inputs()
^^^^^^^^
File "/tmp/tmp7w_ymvj9/tmp3b1u9yoa.py", line 4, in inputs
string = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s912228885 | p00002 | u922489088 | 1495795212 | Python | Python3 | py | Runtime Error | 0 | 0 | 105 | import sys
while True:
print(len(str(abs(sum(map(int, sys.stdin.readline().rstrip().split(' '))))))) | Traceback (most recent call last):
File "/tmp/tmpx83jlfk_/tmp7d6mtmy5.py", line 4, in <module>
print(len(str(abs(sum(map(int, sys.stdin.readline().rstrip().split(' ')))))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''
| |
s047108808 | p00002 | u342125850 | 1496747962 | Python | Python3 | py | Runtime Error | 0 | 0 | 157 | judge = True
while judge:
a,b = map(int, input().split(" "))
if a == None:
judge = False
else:
c = a+b
print(len(str(c))) | Traceback (most recent call last):
File "/tmp/tmpaolvi1um/tmpj06k4s26.py", line 3, in <module>
a,b = map(int, input().split(" "))
^^^^^^^
EOFError: EOF when reading a line
| |
s975723224 | p00002 | u342125850 | 1496748120 | Python | Python3 | py | Runtime Error | 0 | 0 | 157 | judge = True
while judge:
a,b = map(int, input().split(" "))
if a != None:
c = a+b
print(len(str(c)))
else:
judge = False | Traceback (most recent call last):
File "/tmp/tmpk6pfbzfh/tmp0v4hsd2g.py", line 3, in <module>
a,b = map(int, input().split(" "))
^^^^^^^
EOFError: EOF when reading a line
| |
s447728215 | p00002 | u387731924 | 1498023591 | Python | Python3 | py | Runtime Error | 0 | 0 | 99 | for var in range(1,2001):
a,b=map(int,input().split())
c=a+b
c=str(c)
print(len(c)) | Traceback (most recent call last):
File "/tmp/tmpt9s6gf6y/tmpwjiyafnw.py", line 2, in <module>
a,b=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s826210106 | p00002 | u844704750 | 1498732377 | Python | Python3 | py | Runtime Error | 0 | 0 | 135 | import math
for _ in range(200):
a, b = list(map(int, input().split()))
add_ans = a + b
print(int(math.log10(add_ans)) + 1) | Traceback (most recent call last):
File "/tmp/tmpxlfcu0z0/tmpjspmzcb3.py", line 3, in <module>
a, b = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s273086285 | p00002 | u498511622 | 1500879335 | Python | Python3 | py | Runtime Error | 0 | 0 | 93 | while True:
a,b=map(int,input().split())
digit=(a+b)
digit2=str(digit)
print(len(digit2)) | Traceback (most recent call last):
File "/tmp/tmpgqih_yyo/tmpxq_8upr3.py", line 2, in <module>
a,b=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s062396791 | p00002 | u498511622 | 1500879348 | Python | Python3 | py | Runtime Error | 0 | 0 | 93 | while True:
a,b=map(int,input().split())
digit=(a+b)
digit2=str(digit)
print(len(digit2)) | Traceback (most recent call last):
File "/tmp/tmpgn4b2b9_/tmpdjam6nd7.py", line 2, in <module>
a,b=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s880411784 | p00002 | u498511622 | 1500879443 | Python | Python3 | py | Runtime Error | 0 | 0 | 101 | while True:
a,b=map(int,input().split())
digit=(a+b)
digit2=str(digit)
print(len(digit2))
print() | Traceback (most recent call last):
File "/tmp/tmpvwe8ikxg/tmp5g4axhat.py", line 2, in <module>
a,b=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s050953323 | p00002 | u498511622 | 1500879546 | Python | Python3 | py | Runtime Error | 0 | 0 | 103 | while True:
a,b=map(int,input().split())
digit=(a+b)
digit2=str(digit)
print(len(digit2))
print('') | Traceback (most recent call last):
File "/tmp/tmptg2zt8j7/tmp7qb7_e_z.py", line 2, in <module>
a,b=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s234474518 | p00002 | u369093003 | 1501418301 | Python | Python3 | py | Runtime Error | 0 | 0 | 154 | l = []
for i in range(200):
a = input()
if a == 'EOF':
break
else:
b = a[0] + a[2]
l.append(l)
n = 0
for i in range(len(l)):
print(len(l[n])) | Traceback (most recent call last):
File "/tmp/tmpgfjbv48l/tmp_mmru5a2.py", line 4, in <module>
a = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s795970679 | p00002 | u369093003 | 1501419046 | Python | Python3 | py | Runtime Error | 0 | 0 | 240 | l = []
for i in range(200):
a,b = map(str,input().split(' '))
if a == 'EOF':
break
else:
c = int(a)
d = int(b)
e = c + d
l.append(e)
a = 0
b = 0
c = 0
d = 0
e = 0
n = 0
for i in range(len(l)):
print(len(l[n])) | Traceback (most recent call last):
File "/tmp/tmpy1wu23ji/tmppodojaj0.py", line 4, in <module>
a,b = map(str,input().split(' '))
^^^^^^^
EOFError: EOF when reading a line
| |
s731333626 | p00002 | u187606290 | 1502042198 | Python | Python3 | py | Runtime Error | 0 | 0 | 272 | from sys import stdin
import math
lines = [line for line in stdin]
for line in lines:
a, b = [float(n) for n in line]
print(math.floor(math.log10(a + b)))
# x1, y1, x2, y2, x3, y3, xp, yp = [float(r) for r in line]
# print(x1, y1, x2, y2, x3, y3, xp, yp) | ||
s497584993 | p00002 | u821624310 | 1502456452 | Python | Python3 | py | Runtime Error | 0 | 0 | 75 | while True:
a, b = map(int, input().split())
print(len(str(a + b))) | Traceback (most recent call last):
File "/tmp/tmp5wa8amia/tmpcnkit6yh.py", line 2, in <module>
a, b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s915040441 | p00002 | u821624310 | 1502456576 | Python | Python3 | py | Runtime Error | 0 | 0 | 75 | while True:
a, b = map(int, input().split())
print(len(str(a + b))) | Traceback (most recent call last):
File "/tmp/tmpvwjph0uh/tmpzfjjyww5.py", line 2, in <module>
a, b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s299687931 | p00002 | u821624310 | 1502458223 | Python | Python3 | py | Runtime Error | 0 | 0 | 97 | while 1:
a, b = map(int, input().split())
c = a + b
c = str(c)
print(len(c))
| Traceback (most recent call last):
File "/tmp/tmp85pkv_ex/tmp7omvxtjf.py", line 2, in <module>
a, b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s247622626 | p00002 | u821624310 | 1502458610 | Python | Python3 | py | Runtime Error | 0 | 0 | 116 | import sys
while 1:
a, b = map(int, sys.stdin.readline().split())
c = a + b
c = str(c)
print(len(c)) | Traceback (most recent call last):
File "/tmp/tmpjsz5kc7i/tmpfo_87pqa.py", line 3, in <module>
a, b = map(int, sys.stdin.readline().split())
^^^^
ValueError: not enough values to unpack (expected 2, got 0)
| |
s078732134 | p00002 | u234052535 | 1502787816 | Python | Python3 | py | Runtime Error | 0 | 0 | 168 | import math
while True:
line = input().split(" ")
if(len(line) != 2):
exit()
a = int(line[0])
b = int(line[1])
print(int(math.log10(a+b))+1) | Traceback (most recent call last):
File "/tmp/tmplbw5g58y/tmpxsqs95ma.py", line 3, in <module>
line = input().split(" ")
^^^^^^^
EOFError: EOF when reading a line
| |
s783930892 | p00002 | u234052535 | 1502787841 | Python | Python3 | py | Runtime Error | 0 | 0 | 169 | #import math
while True:
line = input().split(" ")
if(len(line) != 2):
exit()
a = int(line[0])
b = int(line[1])
print(int(math.log10(a+b))+1) | Traceback (most recent call last):
File "/tmp/tmp2xgjlphu/tmpp91d5js7.py", line 3, in <module>
line = input().split(" ")
^^^^^^^
EOFError: EOF when reading a line
| |
s314316469 | p00002 | u234052535 | 1502787929 | Python | Python3 | py | Runtime Error | 0 | 0 | 174 | import numpy.math
while True:
line = input().split(" ")
if(len(line) != 2):
exit()
a = int(line[0])
b = int(line[1])
print(int(math.log10(a+b))+1) | Traceback (most recent call last):
File "/tmp/tmp4ujve9zz/tmpt1rkk6w6.py", line 1, in <module>
import numpy.math
ModuleNotFoundError: No module named 'numpy.math'
| |
s220630087 | p00002 | u234052535 | 1502787946 | Python | Python3 | py | Runtime Error | 0 | 0 | 167 | import math
while True:
line = input().split(" ")
if(len(line) != 2):
break
a = int(line[0])
b = int(line[1])
print(int(math.log10(a+b))+1) | Traceback (most recent call last):
File "/tmp/tmpbyh1_jh8/tmpcjnrnwc8.py", line 3, in <module>
line = input().split(" ")
^^^^^^^
EOFError: EOF when reading a line
| |
s751743436 | p00002 | u551456712 | 1502848128 | Python | Python3 | py | Runtime Error | 0 | 0 | 78 | import sys
a = [print(len(sum(map(int, line.split())))) for line in sys.stdin] | ||
s540355932 | p00002 | u299798926 | 1502854901 | Python | Python3 | py | Runtime Error | 0 | 0 | 115 | while(True):
x,y=input().split()
if x=="EOFError":
break
k=int(x)+int(y)
print(len(str(k))) | Traceback (most recent call last):
File "/tmp/tmprw6w8_tt/tmpx1h7ngj0.py", line 2, in <module>
x,y=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s437190801 | p00002 | u299798926 | 1502855227 | Python | Python3 | py | Runtime Error | 0 | 0 | 143 | try:
while(True):
x,y=input().split()
except EOFError:
pass
k=int(x)+int(y)
print(len(str(k))) | File "/tmp/tmpq931s4md/tmp01arbecd.py", line 4
except EOFError:
^^^^^^
SyntaxError: invalid syntax
| |
s167144423 | p00002 | u659034691 | 1505692674 | Python | Python3 | py | Runtime Error | 0 | 0 | 116 | while True:
try:
a,b=(int(i) for i in input().split())
print(len(str(a+b)))
except EOFError: | File "/tmp/tmp2fyj_hq6/tmp2kd74qwc.py", line 5
except EOFError:
IndentationError: expected an indented block after 'except' statement on line 5
| |
s868557387 | p00002 | u741801763 | 1505718015 | Python | Python3 | py | Runtime Error | 0 | 0 | 301 | if __name__ == "__main__":
for i in range(200):
a = list(map(int,input().strip().split()))
if len(a) == 0 :break
absum = a[0] + a[1]
count = 1
while 1:
if absum < 10: break
absum= absum /10
count += 1
print(count) | Traceback (most recent call last):
File "/tmp/tmp4cwtcmoo/tmp34m4eu4b.py", line 3, in <module>
a = list(map(int,input().strip().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s215225577 | p00002 | u741801763 | 1505718030 | Python | Python3 | py | Runtime Error | 0 | 0 | 301 | if __name__ == "__main__":
for i in range(200):
a = list(map(int,input().strip().split()))
if len(a) == 0 :break
absum = a[0] + a[1]
count = 1
while 1:
if absum < 10: break
absum= absum /10
count += 1
print(count) | Traceback (most recent call last):
File "/tmp/tmpjp991d_u/tmpf5cfgbps.py", line 3, in <module>
a = list(map(int,input().strip().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s118247347 | p00002 | u741801763 | 1505718843 | Python | Python3 | py | Runtime Error | 0 | 0 | 356 | if __name__ == "__main__":
for i in range(200):
a = list(map(int,input().strip().split()))
if len(a) == 0 :break
absum = a[0] + a[1]
for j in range(1,8):
if absum < 10:
print(1)
break
elif int(absum/pow(10,j)) == 1:
print(j+1)
break | Traceback (most recent call last):
File "/tmp/tmpcl8m8swh/tmpmkqzm7s7.py", line 3, in <module>
a = list(map(int,input().strip().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s458752699 | p00002 | u741801763 | 1505720546 | Python | Python3 | py | Runtime Error | 0 | 0 | 133 | if __name__ == "__main__":
for i in range(200):
a,b = list(map(int,input().strip().split()))
print(len(str(a+b))) | Traceback (most recent call last):
File "/tmp/tmpx7tb1336/tmpblfp5lws.py", line 3, in <module>
a,b = list(map(int,input().strip().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s292273481 | p00002 | u015592390 | 1507126343 | Python | Python3 | py | Runtime Error | 0 | 0 | 153 | while(1):
a,b=input().strip().split()
if a<0 or b<0:
break
a=int(a)
b=int(b)
sum = a+b
sum = str(sum)
print(len(sum)) | Traceback (most recent call last):
File "/tmp/tmpub0nnp59/tmpvrutkeam.py", line 2, in <module>
a,b=input().strip().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s363144972 | p00002 | u256256172 | 1507280358 | Python | Python3 | py | Runtime Error | 0 | 0 | 73 | while True:
a, b = map(int, input().split())
print(len(str(a+b))) | Traceback (most recent call last):
File "/tmp/tmpl24rjkm2/tmpdu9jxtom.py", line 2, in <module>
a, b = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s928865002 | p00002 | u424041287 | 1509093682 | Python | Python3 | py | Runtime Error | 0 | 0 | 146 | import math
while t == 0:
try:
n = int(input().rstrip().split(??? ???))
except:
break
else:
print(math.log10(int(n[0]) + int(n[1])) + 1) | File "/tmp/tmp7i1qkgpv/tmp7j30vy5i.py", line 4
n = int(input().rstrip().split(??? ???))
^
SyntaxError: invalid syntax
| |
s418186908 | p00002 | u424041287 | 1509093698 | Python | Python3 | py | Runtime Error | 0 | 0 | 144 | import math
while t == 0:
try:
n = int(input().rstrip.split(??? ???))
except:
break
else:
print(math.log10(int(n[0]) + int(n[1])) + 1) | File "/tmp/tmpuhecmj8w/tmplinly_s0.py", line 4
n = int(input().rstrip.split(??? ???))
^
SyntaxError: invalid syntax
| |
s633100075 | p00002 | u424041287 | 1509093927 | Python | Python3 | py | Runtime Error | 0 | 0 | 146 | import math
while t == 0:
try:
n = int(input().rstrip().split(??? ???))
except:
break
else:
print(math.log10(int(n[0]) + int(n[1])) + 1) | File "/tmp/tmp1m5l4g_0/tmppny8shwz.py", line 4
n = int(input().rstrip().split(??? ???))
^
SyntaxError: invalid syntax
| |
s170686961 | p00002 | u424041287 | 1509093939 | Python | Python3 | py | Runtime Error | 0 | 0 | 102 | import math
while t == 0:
try:
n = int(input().rstrip().split(??? ???))
except:
break
else:
| File "/tmp/tmphg7y_cs4/tmp8kw27wf0.py", line 4
n = int(input().rstrip().split(??? ???))
^
SyntaxError: invalid syntax
| |
s695378520 | p00002 | u424041287 | 1509093984 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | import math
while t == 0:
try:
n = int(input().rstrip().split(??? ???))
except:
break
else:
print("a") | File "/tmp/tmpr1_dl850/tmp2nfwxvrn.py", line 4
n = int(input().rstrip().split(??? ???))
^
SyntaxError: invalid syntax
| |
s616922982 | p00002 | u424041287 | 1509094255 | Python | Python3 | py | Runtime Error | 0 | 0 | 134 | import math
while t == 0:
try:
n = int(raw_input().split())
except:
break
else:
print(math.log10(int(n[0]) + int(n[1])) + 1) | Traceback (most recent call last):
File "/tmp/tmp445_cz9k/tmpaisnvn2r.py", line 2, in <module>
while t == 0:
^
NameError: name 't' is not defined
| |
s425833486 | p00002 | u424041287 | 1509094780 | Python | Python3 | py | Runtime Error | 0 | 0 | 127 | import math
while t == 0:
try:
x,y=[int(i) for i in input().split()]
except:
break
else:
print(math.log10(x + y) + 1) | Traceback (most recent call last):
File "/tmp/tmp2ng7parp/tmpu2vjfw70.py", line 2, in <module>
while t == 0:
^
NameError: name 't' is not defined
| |
s623991079 | p00002 | u424041287 | 1509095093 | Python | Python3 | py | Runtime Error | 0 | 0 | 54 | import math
x,y=[int(i) for i in input().split()]
| File "/tmp/tmpgbg896x0/tmpxp08fj7l.py", line 3
x,y=[int(i) for i in input().split()]
IndentationError: unexpected indent
| |
s890328041 | p00002 | u424041287 | 1509095159 | Python | Python3 | py | Runtime Error | 0 | 0 | 141 | import math
while t == 0:
try:
x,y=[int(i) for i in input().split()]
except:
break
else:
a = int (math.log10(x + y) + 1)
print(a) | Traceback (most recent call last):
File "/tmp/tmp401g4efx/tmp3h4f5vdg.py", line 2, in <module>
while t == 0:
^
NameError: name 't' is not defined
| |
s466424209 | p00002 | u424041287 | 1509095193 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | import math
while t == 0:
try:
x,y=[int(i) for i in input().split()]
except:
break
else:
print("s") | Traceback (most recent call last):
File "/tmp/tmpqsgtwtq_/tmpgnjh4akr.py", line 2, in <module>
while t == 0:
^
NameError: name 't' is not defined
| |
s551343501 | p00002 | u424041287 | 1509095295 | Python | Python3 | py | Runtime Error | 0 | 0 | 141 | import math
while t == 0:
try:
x,y=[int(i) for i in input().split()]
except:
break
else:
a = int (math.log10(x + y) + 1)
print(a) | Traceback (most recent call last):
File "/tmp/tmp1vvqutwk/tmphh1n6311.py", line 2, in <module>
while t == 0:
^
NameError: name 't' is not defined
| |
s113836205 | p00002 | u424041287 | 1509095334 | Python | Python3 | py | Runtime Error | 0 | 0 | 111 | import math
while t == 0:
x,y=[int(i) for i in input().split()]
a = int (math.log10(x + y) + 1)
print(a) | Traceback (most recent call last):
File "/tmp/tmp8gqkxykg/tmpd35nof10.py", line 2, in <module>
while t == 0:
^
NameError: name 't' is not defined
| |
s889410626 | p00002 | u424041287 | 1509095366 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | import math
while t == 0:
x,y=[int(i) for i in input().split()]
a = int (math.log10(x + y) + 1)
print(a) | Traceback (most recent call last):
File "/tmp/tmp_1wdxit7/tmp4i3fjjzb.py", line 2, in <module>
while t == 0:
^
NameError: name 't' is not defined
| |
s083226588 | p00002 | u846136461 | 1509261897 | Python | Python | py | Runtime Error | 0 | 0 | 650 | # coding: utf-8
import codecs
import sys
sys.stdout = codecs.getwriter("shift_jis")(sys.stdout) # ??????
sys.stdin = codecs.getreader("shift_jis")(sys.stdin) # ??\???
# ??\??¬?????????print??????????????´?????? print(u'?????????') ??¨??????
# ??\??¬?????????input??? input(u'?????????') ??§OK
# ??°?¢???????????????????????????´??????6,7???????????????????????¢??????
DEBUG = 0
if DEBUG==0:
a = []
for i in range(200):
deglist=[int(x) for x in input().split(" ")]
a.append(int_deglist)
else:
a = [[5,7],[1,99],[1000,999]]
import math
for i in range(len(a)):
wa = a[i][0] + a[i][1]
keta = int(math.log(wa, 10)) + 1
print keta | File "/tmp/tmp08m0kltv/tmpm9fiqx7w.py", line 28
print keta
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s809208432 | p00002 | u846136461 | 1509262223 | Python | Python | py | Runtime Error | 0 | 0 | 613 | # coding: utf-8
import codecs
import sys
sys.stdout = codecs.getwriter("shift_jis")(sys.stdout) # ??????
sys.stdin = codecs.getreader("shift_jis")(sys.stdin) # ??\???
# ??\??¬?????????print??????????????´?????? print(u'?????????') ??¨??????
# ??\??¬?????????input??? input(u'?????????') ??§OK
# ??°?¢???????????????????????????´??????6,7???????????????????????¢??????
DEBUG = 0
if DEBUG == 0:
a = []
for i in range(200):
deglist=[int(x) for x in input().split(" ")]
a.append(int_deglist)
else:
a = [[5,7],[1,99],[1000,999]]
for i in range(len(a)):
wa = a[i][0] + a[i][1]
print len(str(wa)) | File "/tmp/tmpc5sbj_1j/tmpy8cx5ouk.py", line 25
print len(str(wa))
^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s767967622 | p00002 | u846136461 | 1509262514 | Python | Python | py | Runtime Error | 0 | 0 | 712 | # coding: utf-8
import codecs
import sys
sys.stdout = codecs.getwriter("shift_jis")(sys.stdout) # ??????
sys.stdin = codecs.getreader("shift_jis")(sys.stdin) # ??\???
# ??\??¬?????????print??????????????´?????? print(u'?????????') ??¨??????
# ??\??¬?????????input??? input(u'?????????') ??§OK
# ??°?¢???????????????????????????´??????6,7???????????????????????¢??????
DEBUG = 0
if DEBUG == 0:
a = []
for i in range(200):
deglist=[int(x) for x in input().split(" ")]
a.append(deglist)
else:
a = [[5,7],[1,99],[1000,999]]
for i in range(len(a)):
wa = a[i][0] + a[i][1]
print len(str(wa))
"""
while True:
try:
deglist = [int(x) for x in input().split(" ")]
except EOFError:
break
""" | File "/tmp/tmp3r54jfzc/tmphz7p31um.py", line 25
print len(str(wa))
^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.