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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s240265452 | p00002 | u282635979 | 1362318669 | 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/tmpgm83mld9/tmpkxooy1de.py", line 3, in <module>
x = map(int,raw_input().split(' '))
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s874637406 | p00002 | u282635979 | 1362318805 | Python | Python | py | Runtime Error | 0 | 0 | 164 | import math
while True:
x = map(int,raw_input().split(' '))
a =int( math.log10(x[0] + x[1]) + 1)
if str(x[0]) != 'hellowork':
print a
continue
else:
break | File "/tmp/tmpoxoiojml/tmpeap9idgi.py", line 6
print a
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s548335987 | p00002 | u282635979 | 1362747224 | Python | Python | py | Runtime Error | 0 | 0 | 130 | while True:
x = map(int,raw_input().split(' '))
a =int( math.log10(x[0] + x[1]) + 1)
if a <=1000000 :
continue
else:
break | Traceback (most recent call last):
File "/tmp/tmppdfn4wj_/tmp_qdz05t7.py", line 2, in <module>
x = map(int,raw_input().split(' '))
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
s394542757 | p00002 | u743065194 | 1363000174 | Python | Python | py | Runtime Error | 0 | 0 | 189 | from sys import stdin
n=int(input())
for line in stdin:
x=list(map(int,line.split()))
x.sort()
y=map(lambda t:t^2,x)
if y[0]+y[1]==y[2]: print("YES")
else: print("NO") | Traceback (most recent call last):
File "/tmp/tmp6n2hmu04/tmpz_r7l79o.py", line 3, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s990103327 | p00002 | u282635979 | 1363404511 | Python | Python | py | Runtime Error | 0 | 0 | 152 | import math
while True:
x = map(int,raw_input().split(' '))
a =int( math.log10(x[0] + x[1]) + 1)
if a <=1000000 :
print a
continue
else:
break | File "/tmp/tmpu9uj9o2e/tmpesd8txeh.py", line 6
print a
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s389399578 | p00002 | u282635979 | 1363404583 | Python | Python | py | Runtime Error | 0 | 0 | 151 | import math
while True:
x = map(int,raw_input().split(' '))
a =int(math.log10(x[0] + x[1]) + 1)
if a <=1000000 :
print a
continue
else:
break | File "/tmp/tmp2dh0dz0h/tmp2jh7kts8.py", line 6
print a
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s011827058 | p00002 | u282635979 | 1363404689 | Python | Python | py | Runtime Error | 0 | 0 | 164 | import math
while True:
nums = raw_input()
if nums != '':
x = map(int,nums.split(' '))
a =int(math.log10(x[0] + x[1]) + 1)
print a
continue
else:
break | File "/tmp/tmp9ipohkr5/tmpezpmnkfw.py", line 7
print a
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s148307647 | p00002 | u282635979 | 1363404799 | Python | Python | py | Runtime Error | 0 | 0 | 164 | import math
while True:
nums = raw_input()
if nums != '':
x = map(int,nums.split(' '))
a =int(math.log10(x[0] + x[1]) + 1)
print a
continue
else:
break | File "/tmp/tmpfd2v_1eq/tmpmvij064m.py", line 7
print a
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s534708029 | p00002 | u282635979 | 1363406362 | Python | Python | py | Runtime Error | 0 | 0 | 164 | import math
while True:
nums = raw_input()
if nums != '':
x = map(int,nums.split(' '))
a =int(math.log10(x[0] + x[1]) + 1)
print a
continue
else:
break | File "/tmp/tmp_botnjjz/tmp3bidtv7e.py", line 7
print a
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s883789488 | p00002 | u350508326 | 1367929127 | Python | Python | py | Runtime Error | 0 | 0 | 94 | import sys
for line in sys.stdin
n =map(int,line.split())
a = n[0]+n[1]
print line(str(a)) | File "/tmp/tmp6pboo6r3/tmphc2o0wfo.py", line 3
for line in sys.stdin
^
SyntaxError: expected ':'
| |
s017421255 | p00002 | u350508326 | 1367929162 | Python | Python | py | Runtime Error | 0 | 0 | 93 | import sys
for line in sys.stdin
n =map(int,line.split())
a = n[0]+n[1]
print len(str(a)) | File "/tmp/tmp3puf4yla/tmp7l6pafz0.py", line 3
for line in sys.stdin
^
SyntaxError: expected ':'
| |
s345300783 | p00002 | u542421762 | 1368078082 | Python | Python | py | Runtime Error | 0 | 0 | 222 | import sys
import re
file = open(sys.argv[1], "r")
for line in file:
ab = map((lambda x: int(x)), re.split(" +", line))
answer = reduce((lambda x, y: x + y), ab, 0)
digits = len(str(answer))
print digits | File "/tmp/tmpw0lrs4cz/tmpq1b_1c7r.py", line 11
print digits
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s871855414 | p00002 | u542421762 | 1368078796 | Python | Python | py | Runtime Error | 0 | 0 | 352 | #
# AIZU ONLINE JUDGE: Digit Number
# cf. http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0002&lang=jp
#
import sys
import re
file = open(sys.argv[1], "r")
for line in file:
ab = map((lambda x: int(x)), re.split(" +", line))
answer = reduce((lambda x, y: x + y), ab, 0)
digits = len(str(answer))
print digits
file.close() | File "/tmp/tmpscpafi9p/tmpetnxtz45.py", line 17
print digits
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s528606615 | p00002 | u542421762 | 1368080399 | Python | Python | py | Runtime Error | 0 | 0 | 330 | #
# AIZU ONLINE JUDGE: Digit Number
# cf. http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0002&lang=jp
#
import sys
import re
#file = open(sys.argv[1], "r")
for line in sys.stdin:
ab = map((int, re.split(" +", line))
answer = reduce((lambda x, y: x + y), ab, 0)
digits = len(str(answer))
print digits | File "/tmp/tmpq8ddmmj4/tmpvqqpf85n.py", line 14
ab = map((int, re.split(" +", line))
^
SyntaxError: '(' was never closed
| |
s156373514 | p00002 | u093607836 | 1369051345 | Python | Python | py | Runtime Error | 0 | 0 | 54 | num = int(input()) + int(input())
print(len(str(num))) | Traceback (most recent call last):
File "/tmp/tmp_5xjnvj9/tmpnfhjr556.py", line 1, in <module>
num = int(input()) + int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s104916414 | p00002 | u093607836 | 1369051380 | Python | Python | py | Runtime Error | 0 | 0 | 54 | num = int(input()) + int(input())
print(len(str(num))) | Traceback (most recent call last):
File "/tmp/tmphkucp76_/tmp8dq7zio1.py", line 1, in <module>
num = int(input()) + int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s947215457 | p00002 | u085789778 | 1374654670 | Python | Python | py | Runtime Error | 0 | 0 | 235 | # -*- utf-8 -*-
while True:
i = map(int, raw_input().split())
if i == None:
break
a = i[0]
b = i[1]
s = a + b
ans = 0
while s >= 1:
s /= 10
ans += 1
print ans | File "/tmp/tmp58jtjcej/tmpxdmagc81.py", line 18
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s927760176 | p00002 | u085789778 | 1374654925 | Python | Python | py | Runtime Error | 0 | 0 | 250 | # -*- utf-8 -*-
while True:
inp = raw_input()
if inp == None:
break
i = map(int, inp.split())
a = i[0]
b = i[1]
s = a + b
ans = 0
while s >= 1:
s /= 10
ans += 1
print an | File "/tmp/tmpxi4wbtyg/tmp17itvole.py", line 19
print an
^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s799457723 | p00002 | u085789778 | 1374654942 | Python | Python | py | Runtime Error | 0 | 0 | 251 | # -*- utf-8 -*-
while True:
inp = raw_input()
if inp == None:
break
i = map(int, inp.split())
a = i[0]
b = i[1]
s = a + b
ans = 0
while s >= 1:
s /= 10
ans += 1
print ans | File "/tmp/tmpppyyss9l/tmpgcb5xtl6.py", line 19
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s592943277 | p00002 | u085789778 | 1374655067 | Python | Python | py | Runtime Error | 0 | 0 | 249 | # -*- utf-8 -*-
while True:
inp = raw_input()
if inp == "":
break
i = map(int, inp.split())
a = i[0]
b = i[1]
s = a + b
ans = 0
while s >= 1:
s /= 10
ans += 1
print ans | File "/tmp/tmpmwa4lq2m/tmpufu0yols.py", line 19
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s557784965 | p00002 | u085789778 | 1374655113 | Python | Python | py | Runtime Error | 0 | 0 | 249 | # -*- utf-8 -*-
while True:
inp = raw_input()
if inp == "":
break
i = map(int, inp.split())
a = i[0]
b = i[1]
s = a + b
ans = 0
while s >= 1:
s /= 10
ans += 1
print ans | File "/tmp/tmpj4_mpdh9/tmpon5skth7.py", line 19
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s353559240 | p00002 | u228756885 | 1376482369 | Python | Python | py | Runtime Error | 0 | 0 | 127 | #coding UTF-8
import math
import sys
for line in sys.stdin:
a,b = map(int, line.split(' '))
print int(math.log10(a + b) + 1 | File "/tmp/tmpotcmn483/tmpnj8on0i6.py", line 8
print int(math.log10(a + b) + 1
^
SyntaxError: '(' was never closed
| |
s069765643 | p00002 | u866760195 | 1378213960 | Python | Python | py | Runtime Error | 0 | 0 | 144 | import sys
import math
for line in sys.stdin:
a =map(int,raw_input().split())
b = a[0] + a[1]
print int(math.log10(b)+1) | File "/tmp/tmpqvdiv1tt/tmpdubp95ju.py", line 6
print int(math.log10(b)+1)
^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s854112774 | p00002 | u866760195 | 1378214024 | Python | Python | py | Runtime Error | 0 | 0 | 141 | import sys
import math
for a in sys.stdin:
a =map(int,raw_input().split())
b = a[0] + a[1]
print int(math.log10(b)+1) | File "/tmp/tmp01ymy79o/tmpodcltm8k.py", line 6
print int(math.log10(b)+1)
^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s565242560 | p00002 | u866760195 | 1378214288 | Python | Python | py | Runtime Error | 0 | 0 | 133 | import sys
import math
while True:
a =map(int,raw_input().split())
b = a[0] + a[1]
print int(math.log10(b)+1) | File "/tmp/tmp044c4996/tmp_upuduo9.py", line 6
print int(math.log10(b)+1)
^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s031701818 | p00002 | u674319057 | 1382283538 | Python | Python | py | Runtime Error | 0 | 0 | 165 | #!/usr/bin/env python
dn = lambda a, b: len(str(a+b))
if __name__ = "__main__":
while True:
a, b = raw_input().split()
print "%d\n" % dn(a, b), | File "/tmp/tmpygp1o72w/tmpo36y9o_l.py", line 5
if __name__ = "__main__":
^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s504862166 | p00002 | u674319057 | 1382283559 | Python | Python | py | Runtime Error | 0 | 0 | 149 | #!/usr/bin/env python
dn = lambda a, b: len(str(a+b))
if __name__ = "__main__":
a, b = raw_input().split()
print "%d\n" % dn(a, b), | File "/tmp/tmpw28ghzbn/tmpc_j_zh6d.py", line 5
if __name__ = "__main__":
^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
| |
s760000009 | p00002 | u674319057 | 1382283604 | Python | Python | py | Runtime Error | 0 | 0 | 166 | #!/usr/bin/env python
dn = lambda a, b: len(str(a+b))
if __name__ == "__main__":
while True:
a, b = raw_input().split()
print "%d\n" % dn(a, b), | File "/tmp/tmpcervhci4/tmph88tsj4b.py", line 8
print "%d\n" % dn(a, b),
^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s184819669 | p00002 | u674319057 | 1382284141 | Python | Python | py | Runtime Error | 0 | 0 | 187 | #!/usr/bin/env python
dn = lambda a, b: len(str(a+b))
get = lambda : [int (x) for x in raw_input().split()]
if __name__ == "__main__":
while True:
print "%d\n" % dn(*get()), | File "/tmp/tmprgz1qnl9/tmpgvqsz41b.py", line 8
print "%d\n" % dn(*get()),
^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s731186474 | p00002 | u674319057 | 1382284225 | Python | Python | py | Runtime Error | 0 | 0 | 164 | dn = lambda a, b: len(str(a+b))
get = lambda : [int (x) for x in raw_input().split()]
if __name__ == "__main__":
while True:
print "%d\n" % dn(*get()), | File "/tmp/tmpd5zuqykj/tmpxl2ifg69.py", line 6
print "%d\n" % dn(*get()),
^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s542468197 | p00002 | u674319057 | 1382284555 | Python | Python | py | Runtime Error | 0 | 0 | 183 | #!/usr/bin/env python
dn = lambda a, b: len(str(a+b))
get = lambda : [int(x) for x in raw_input().split()]
if __name__ == "__main__":
while True:
print "%d" % dn(*get()) | File "/tmp/tmpqt2cnavh/tmpvmroqe2j.py", line 8
print "%d" % dn(*get())
^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s107121794 | p00002 | u146816547 | 1386686036 | Python | Python | py | Runtime Error | 0 | 0 | 98 | import math
while True:
a, b = map(int,raw_input().split())
print int(math.log10(a+b) + 1) | File "/tmp/tmp_h6m5usv/tmpew1ok_cj.py", line 4
print int(math.log10(a+b) + 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s204730280 | p00002 | u146816547 | 1386686134 | Python | Python | py | Runtime Error | 0 | 0 | 98 | import math
while True:
a, b = map(int,raw_input().split())
print int(math.log10(a+b) + 1) | File "/tmp/tmpc89bvzx6/tmp81axgyov.py", line 4
print int(math.log10(a+b) + 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s033979858 | p00002 | u146816547 | 1386686171 | Python | Python | py | Runtime Error | 0 | 0 | 102 | while True:
import math
a, b = map(int,raw_input().split())
print int(math.log10(a+b) + 1) | File "/tmp/tmp_x9_wy6p/tmpx5j5qani.py", line 4
print int(math.log10(a+b) + 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s706180193 | p00002 | u146816547 | 1386686397 | Python | Python | py | Runtime Error | 0 | 0 | 93 | import math
while 1:
a, b = map(int,raw_input().split())
print int(math.log10(a+b)+1) | File "/tmp/tmpp480l2e3/tmp217zimzo.py", line 4
print int(math.log10(a+b)+1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s930011357 | p00002 | u912237403 | 1388815847 | Python | Python | py | Runtime Error | 0 | 0 | 71 | import sys
print(len(str(sum(map(int,s.split()))))) for s in sys.stdin: | File "/tmp/tmph_afr833/tmpyzee0qy8.py", line 2
print(len(str(sum(map(int,s.split()))))) for s in sys.stdin:
^^^
SyntaxError: invalid syntax
| |
s685380513 | p00002 | u912237403 | 1388815893 | Python | Python | py | Runtime Error | 0 | 0 | 72 | import sys
print(len(str(sum(map(int,s.split()))))) for s in sys.stdin | File "/tmp/tmpq8byy54p/tmpq7zx3e7o.py", line 2
print(len(str(sum(map(int,s.split()))))) for s in sys.stdin
^
SyntaxError: invalid non-printable character U+3000
| |
s642339962 | p00002 | u230836528 | 1392092856 | Python | Python | py | Runtime Error | 0 | 0 | 152 | while True:
[a, b] = map(int, raw_input().split(" "))
n = a+b
ans = 1
while(n >= 10):
n /= 10
ans += 1
print ans | File "/tmp/tmp42h4do1m/tmpc_13egqm.py", line 10
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s060971395 | p00002 | u230836528 | 1392093528 | Python | Python | py | Runtime Error | 0 | 0 | 194 | # -*- coding: utf-8 -*-
for line in sys.stdin.readlines():
a, b = map(int, line.strip().split())
n = a + b
ans = 1
while(n >= 10):
n /= 10
ans += 1
print ans | File "/tmp/tmphu82w6dq/tmpx087klyz.py", line 10
print ans
^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s916767885 | p00002 | u633068244 | 1393346204 | Python | Python | py | Runtime Error | 0 | 0 | 103 | while True:
a, b = map(int, raw_input().split())
if a is None:
break
print len(a+b) | File "/tmp/tmp0cl6tzm3/tmp1j35idhf.py", line 5
print len(a+b)
^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s450601770 | p00002 | u633068244 | 1393346424 | Python | Python | py | Runtime Error | 0 | 0 | 75 | import sys
for x in stdin.sys.read().split():
print len(str(x[0]+x[1]) | File "/tmp/tmpgyqgci2z/tmpcgl0o2d7.py", line 4
print len(str(x[0]+x[1])
^
SyntaxError: '(' was never closed
| |
s747793873 | p00002 | u633068244 | 1393346463 | Python | Python | py | Runtime Error | 0 | 0 | 75 | import sys
for x in sys.stdin.read().split():
print len(str(x[0]+x[1]) | File "/tmp/tmpgfl6uiyl/tmp1z2ho2p7.py", line 4
print len(str(x[0]+x[1])
^
SyntaxError: '(' was never closed
| |
s825793031 | p00002 | u193025715 | 1394713220 | Python | Python | py | Runtime Error | 0 | 0 | 80 | while 1:
a,b = map(int, raw_input().split())
print len(str(a + b)) + "\n"
| File "/tmp/tmpbvyhp0rn/tmp2p_arsev.py", line 3
print len(str(a + b)) + "\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s328112732 | p00002 | u193025715 | 1394713352 | Python | Python | py | Runtime Error | 0 | 0 | 77 | while 1:
a,b = map(int, raw_input().split())
print len(str(a + b)) + "\n" | File "/tmp/tmplc0txmkm/tmptfukjp29.py", line 3
print len(str(a + b)) + "\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s792908002 | p00002 | u193025715 | 1394713439 | Python | Python | py | Runtime Error | 0 | 0 | 64 | a,b = map(int, raw_input().split())
print len(str(a + b)) + "\n" | File "/tmp/tmprd7x8v60/tmpshzqp36h.py", line 2
print len(str(a + b)) + "\n"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s323268895 | p00002 | u140201022 | 1395768667 | Python | Python | py | Runtime Error | 0 | 0 | 78 | import sys
for jk in sys.stdin:
j,k=map(int,jk.split())
print len(j+k) | File "/tmp/tmpu99kcp7k/tmp0sygc7qd.py", line 4
print len(j+k)
^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s900091325 | p00002 | u292964502 | 1396570173 | Python | Python | py | Runtime Error | 0 | 0 | 82 | while True:
a,b=map(int,raw_input().split())
c = str(a+b)
print len(c) | File "/tmp/tmpsosb3_7h/tmp_il4lfoc.py", line 4
print len(c)
^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s249013530 | p00002 | u146816547 | 1398772649 | Python | Python | py | Runtime Error | 0 | 0 | 71 | while True:
a,b = map(int,raw_input().split())
print strlen(srt(a+b)) | File "/tmp/tmptz7kf34r/tmpz9wjmr21.py", line 3
print strlen(srt(a+b))
^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s155812976 | p00002 | u146816547 | 1398772681 | Python | Python | py | Runtime Error | 0 | 0 | 68 | while True:
a,b = map(int,raw_input().split())
print len(srt(a+b)) | File "/tmp/tmpc8xv0ndt/tmpc_nubvi2.py", line 3
print len(srt(a+b))
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s609286830 | p00002 | u146816547 | 1398772726 | Python | Python | py | Runtime Error | 0 | 0 | 68 | while True:
a,b = map(int,raw_input().split())
print len(str(a+b)) | File "/tmp/tmp_zp_tq92/tmpqn8uv53q.py", line 3
print len(str(a+b))
^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s881177676 | p00002 | u703446356 | 1400079769 | Python | Python | py | Runtime Error | 0 | 0 | 163 | while True:
try:
(a, b) = map(int, raw_input().split())
c = a + b
i = 0
while c != 0:
c /= 10
i += 1
print i
except:
pass: | File "/tmp/tmpwu8wn6nt/tmpjp49tpdo.py", line 9
print i
^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s508803148 | p00002 | u618672141 | 1403737090 | Python | Python3 | py | Runtime Error | 0 | 0 | 247 | def digits(n):
if n < 10: return 1
c = 0
while n > 0:
c += 1
n = n // 10
return c
inp = input()
while (inp != ''):
n, m = inp.split(' ')
n = int(n)
m = int(m)
print(digits(n + m))
inp = input() | Traceback (most recent call last):
File "/tmp/tmpg6haoc2g/tmpoc6ovuxt.py", line 10, in <module>
inp = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s655328803 | p00003 | u525366883 | 1535372099 | Python | Python | py | Runtime Error | 0 | 0 | 135 | for i in range(3):
a,b,c = map(int, raw_input().split())
if a*a == b*b + c*c:
print "YES"
else:
print "NO"
| File "/tmp/tmpes0l6iuf/tmpyr47kdbx.py", line 4
print "YES"
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s161085846 | p00003 | u525366883 | 1535372250 | Python | Python | py | Runtime Error | 0 | 0 | 177 | n = int(raw_input())
for i in range(n):
a,b,c = map(int, raw_input().split()).sort(reverse = True)
if a*a == b*b + c*c:
print "YES"
else:
print "NO"
| File "/tmp/tmpzq4pykv3/tmp_pyjh6jx.py", line 5
print "YES"
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s593134876 | p00003 | u923573620 | 1535530987 | Python | Python3 | py | Runtime Error | 0 | 0 | 334 | number = int(input())
for i in range(number):
tri = map(int, input.split(" "))
if tri[0] > tri[1]:
buf = tri[0]
tri[0] = tri[1]
tri[1] = buf
if tri[1] > tri[2]:
buf = tri[1]
tri[1] = tri[2]
tri[2] = buf
if tri[0] * tri[0] + tri[1] * tri[1] == tri[2] * tri[2]:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmp7hwn0t8y/tmp3h1pw6kg.py", line 1, in <module>
number = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s106765199 | p00003 | u923573620 | 1535531072 | Python | Python3 | py | Runtime Error | 0 | 0 | 336 | number = int(input())
for i in range(number):
tri = map(int, input().split(" "))
if tri[0] > tri[1]:
buf = tri[0]
tri[0] = tri[1]
tri[1] = buf
if tri[1] > tri[2]:
buf = tri[1]
tri[1] = tri[2]
tri[2] = buf
if tri[0] * tri[0] + tri[1] * tri[1] == tri[2] * tri[2]:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmpo4ot400u/tmp21as2akn.py", line 1, in <module>
number = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s832758004 | p00003 | u011621222 | 1551537659 | Python | Python3 | py | Runtime Error | 0 | 0 | 168 | n=int(input())
for i in range(n):
s=input.split()
for j in range(len(s)):
s[j]=int(s[j])
s.sort()
print("YES" if(pow(s[0],2)+pow(s[1],2)==pow(s[2],2)) else "NO")
| Traceback (most recent call last):
File "/tmp/tmp4lg2eq7t/tmp9oejlqb5.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s128817774 | p00003 | u990459103 | 1558944982 | Python | Python3 | py | Runtime Error | 0 | 0 | 186 | N = int(input())
for i in range(N) :
a,b,c = map(int,input().split(" "))
p = [a,b,c]
p.sort()
if pow(p[0],2)+pow(p[1],2)==pow[p[2],2]
print("YES")
else
print("NO")
| File "/tmp/tmpat1ireqd/tmpduu004l9.py", line 6
if pow(p[0],2)+pow(p[1],2)==pow[p[2],2]
^
SyntaxError: expected ':'
| |
s440106424 | p00003 | u990459103 | 1558945112 | Python | Python3 | py | Runtime Error | 0 | 0 | 191 | N = int(input())
for i in range(N) :
a,b,c = map(int,input().split(" "))
p = [a,b,c]
p.sort()
if pow(p[0],2)+pow(p[1],2)==pow[p[2],2]:
print("YES")
else
print("NO")
| File "/tmp/tmpwy1bvfyg/tmpk6y3_lvp.py", line 8
else
^
SyntaxError: expected ':'
| |
s376944018 | p00003 | u990459103 | 1558945386 | Python | Python3 | py | Runtime Error | 0 | 0 | 169 | N = int(input())
for i in range(N) :
p = list(map(int,input().split(" ")))
p.sort()
if p[0]**2 + p[1]**2== p[2]**2:
print("YES")
else
print("NO")
| File "/tmp/tmpmduj70ko/tmpuedpqkva.py", line 7
else
^
SyntaxError: expected ':'
| |
s414772436 | p00003 | u990459103 | 1558945496 | Python | Python3 | py | Runtime Error | 0 | 0 | 161 | N = int(input())
for i in range(N) :
a,b,c = sort(list(map(int,input().split(" "))))
if a**2 + b**2== c**2:
print("YES")
else
print("NO")
| File "/tmp/tmp5sder2nm/tmpxpyjfjwu.py", line 7
else
^
SyntaxError: expected ':'
| |
s332739608 | p00003 | u990459103 | 1558945643 | Python | Python3 | py | Runtime Error | 0 | 0 | 160 | N = int(input())
for i in range(N) :
a,b,c = sorted(list(map(int,input().split())))
if a**2 + b**2== c**2:
print("YES")
else
print("NO")
| File "/tmp/tmpfa5zyue9/tmpnwb2r53v.py", line 7
else
^
SyntaxError: expected ':'
| |
s013675110 | p00003 | u990459103 | 1558945824 | Python | Python3 | py | Runtime Error | 0 | 0 | 173 | N = int(input())
for i in range(N) :
p = list(map(int,input().split()))
p.sort()
if p[0]*p[0] + p[1]*p[1] == p[2]*p[2]:
print("YES")
else
print("NO")
| File "/tmp/tmpmzslex60/tmpdxhbpt78.py", line 7
else
^
SyntaxError: expected ':'
| |
s082597483 | p00003 | u990459103 | 1558945884 | Python | Python3 | py | Runtime Error | 0 | 0 | 172 | n = int(input())
for i in range(n):
p = list(map(int,input().split()))
p.sort()
if p[0]*p[0] + p[1]*p[1] == p[2]*p[2]:
print("YES")
else
print("NO")
| File "/tmp/tmp2ilm89_o/tmpm_963pjb.py", line 7
else
^
SyntaxError: expected ':'
| |
s882851645 | p00003 | u990459103 | 1558945923 | Python | Python3 | py | Runtime Error | 0 | 0 | 189 | n=int(input())
for i in range(n):
p=list(map(int,input().split()))
p.sort()
a=x[0]
b=x[1]
c=x[2]
if a*a+b*b==c*c:
print('YES')
else:
print('NO')
| Traceback (most recent call last):
File "/tmp/tmps_gb37ja/tmpp2t8_m9a.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s873750436 | p00003 | u990459103 | 1558949315 | Python | Python3 | py | Runtime Error | 0 | 0 | 236 | n=int(input())
for i in range(n):
a,b,c = input().split()
x = int(a)
y = int(b)
z = int(c)
p = [a,b,c]
p.sort()
if pow(p[0],2) + pow(p[1],2) == pow(p[2],2):
print('YES')
else:
print('NO')
| Traceback (most recent call last):
File "/tmp/tmp7kqkqy7e/tmpy5vpggq9.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s885475124 | p00003 | u990459103 | 1558949867 | Python | Python | py | Runtime Error | 0 | 0 | 236 | n=int(input())
for i in range(n):
a,b,c = input().split()
x = int(a)
y = int(b)
z = int(c)
p = [x,y,z]
p.sort()
if pow(p[0],2) + pow(p[1],2) == pow(p[2],2):
print('YES')
else:
print('NO')
| Traceback (most recent call last):
File "/tmp/tmpr13r12u9/tmpd9f5tmii.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s670881812 | p00003 | u990459103 | 1558949903 | Python | Python | py | Runtime Error | 0 | 0 | 236 | n=int(input())
for i in range(n):
a,b,c = input().split()
x = int(a)
y = int(b)
z = int(c)
p = [x,y,z]
p.sort()
if pow(p[0],2) + pow(p[1],2) == pow(p[2],2):
print('YES')
else:
print('NO')
| Traceback (most recent call last):
File "/tmp/tmpa8llkwfr/tmpa513uhws.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s735940207 | p00003 | u477023447 | 1558952078 | Python | Python3 | py | Runtime Error | 0 | 0 | 260 | = int(input())
for i in range(n):
tri_list = list(map(int,input().split(" ")))
#tri_list.sort()
a = int(tri_list[2]) ** 2
b = int(tri_list[0]) ** 2 + int(tri_list[1]) ** 2
if a == b:
print("YES")
else:
print("NO")
| File "/tmp/tmpqn1qy7_0/tmprkvu05fv.py", line 1
= int(input())
^
SyntaxError: invalid syntax
| |
s812995053 | p00003 | u477023447 | 1558952946 | Python | Python3 | py | Runtime Error | 0 | 0 | 326 | tri_list = []
n = int(input())
for i in range(n):
#tri_list = list(map(int,input().split(" ")))
k = int(input())
tri_list = list(k.split(" "))
tri_list.sort()
a = int(tri_list[2]) ** 2
b = int(tri_list[0]) ** 2 + int(tri_list[1]) ** 2
if a == b:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmp5y8vqaeq/tmpc0pr48c8.py", line 2, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s390232760 | p00003 | u477023447 | 1558952964 | Python | Python3 | py | Runtime Error | 0 | 0 | 326 | tri_list = []
n = int(input())
for i in range(n):
#tri_list = list(map(int,input().split(" ")))
k = int(input())
tri_list = list(k.split(" "))
tri_list.sort()
a = int(tri_list[2]) ** 2
b = int(tri_list[0]) ** 2 + int(tri_list[1]) ** 2
if a == b:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmp_2lcuay0/tmpt0t608vh.py", line 2, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s556873994 | p00003 | u477023447 | 1558952979 | Python | Python3 | py | Runtime Error | 0 | 0 | 326 | tri_list = []
n = int(input())
for i in range(n):
#tri_list = list(map(int,input().split(" ")))
k = int(input())
tri_list = list(k.split(" "))
tri_list.sort()
a = int(tri_list[2]) ** 2
b = int(tri_list[0]) ** 2 + int(tri_list[1]) ** 2
if a == b:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmp9w_d3nzz/tmpui0rlivj.py", line 2, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s261335877 | p00003 | u477023447 | 1558952997 | Python | Python3 | py | Runtime Error | 0 | 0 | 326 | tri_list = []
n = int(input())
for i in range(n):
#tri_list = list(map(int,input().split(" ")))
k = int(input())
tri_list = list(k.split(" "))
tri_list.sort()
a = int(tri_list[2]) ** 2
b = int(tri_list[0]) ** 2 + int(tri_list[1]) ** 2
if a == b:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmp_q9lc_wu/tmpquiihett.py", line 2, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s748899183 | p00003 | u051394180 | 1558956695 | Python | Python3 | py | Runtime Error | 0 | 0 | 150 | for i in int(input()):
values = sorted(map(lambda x: x^2, input().split()))
if values[2] = values[1] + values[0]:
print 'YES'
else:
print 'NO'
| File "/tmp/tmpiuf7ad40/tmppgayh7ea.py", line 3
if values[2] = values[1] + values[0]:
^^^^^^^^^
SyntaxError: cannot assign to subscript here. Maybe you meant '==' instead of '='?
| |
s552080361 | p00003 | u051394180 | 1558956841 | Python | Python3 | py | Runtime Error | 0 | 0 | 156 | for i in int(input()):
values = sorted(map(lambda x: int(x)^2, input().split()))
if values[2] == values[1] + values[0]:
print 'YES'
else:
print 'NO'
| File "/tmp/tmpuh0y686o/tmpj716r5jq.py", line 4
print 'YES'
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s015126207 | p00003 | u051394180 | 1558956860 | Python | Python3 | py | Runtime Error | 0 | 0 | 163 | for i in range(int(input())):
values = sorted(map(lambda x: int(x)^2, input().split()))
if values[2] == values[1] + values[0]:
print 'YES'
else:
print 'NO'
| File "/tmp/tmpqb04hf72/tmp0lm288gc.py", line 4
print 'YES'
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s798191768 | p00003 | u051394180 | 1558957234 | Python | Python3 | py | Runtime Error | 0 | 0 | 169 | for i in range(int(input())):
values = sorted(map(lambda x: int(x)^2, raw_input().split()))
if values[2] == values[1] + values[0]:
print('YES')
else:
print('NO')
| Traceback (most recent call last):
File "/tmp/tmprqmy6n8r/tmpdx1vezfx.py", line 1, in <module>
for i in range(int(input())):
^^^^^^^
EOFError: EOF when reading a line
| |
s537625080 | p00003 | u063179562 | 1406723735 | Python | Python | py | Runtime Error | 0 | 0 | 131 | n = int(input())
for i in range(0, n):
a, b, c = map(int, sorted(input().split()))
print("YES" if c*c == a*a+b*b else "NO") | Traceback (most recent call last):
File "/tmp/tmpis1j072x/tmpnre8h7fz.py", line 1, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s114831161 | p00003 | u578674365 | 1418632457 | Python | Python | py | Runtime Error | 0 | 0 | 280 | import sys
data_length = int(sys.stdin.readline())
lines[]
for x in xrange(data_length):
input_line = sys.stdin.readline()
lines = map(int, input_line.strip().split())
lines.sort(reverse = True)
if lines[0]**2 == (lines[1]**2 + lines[2]**2):
print "YES"
else:
print "NO" | File "/tmp/tmpe04nu0s6/tmpd6xbeta0.py", line 4
lines[]
^
SyntaxError: invalid syntax
| |
s518136301 | p00003 | u989992553 | 1420878363 | Python | Python | py | Runtime Error | 0 | 0 | 370 | def check_right_triangle(side1, side2, side3):
if side1**2 == side2**2 + side3**2:
return True
if side2**2 == side3**2 + side1**2:
return True
if sides3**3 == side1**2 + side2**2:
return True
return False
for i in range(int(raw_input())):
sides = map(int, raw_input().split())
if check_right_triangle(sides[0], sides[1], sides[2]):
print "YES"
print "NO" | File "/tmp/tmpjxy65u4a/tmpb5x7j2xj.py", line 13
print "YES"
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s011141651 | p00003 | u442472098 | 1423219678 | Python | Python | py | Runtime Error | 0 | 0 | 291 | #!/usr/bin/env python3
def right_triangle(edge):
# a < b < c
return (edge[0] ** 2 + edge[1] ** 2 == edge[2] ** 2)
n = int(input())
for i in range(n):
edge = sorted([int(x) for x in input().split()])
if right_triangle(edge):
print("YES")
else:
print("NO") | Traceback (most recent call last):
File "/tmp/tmphua2qwim/tmp_akc67vc.py", line 6, in <module>
n = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s408552741 | p00003 | u540744789 | 1425551535 | Python | Python | py | Runtime Error | 0 | 0 | 169 | import sys
x=raw_input()
for abc in sys.stdin:
L=map(int,abc.split(" ")).sort()
if L[0]**2 + L[1]**2 == L[2]**2:
print "YES"
else:
print "NO" | File "/tmp/tmp7ll7nrsv/tmp2cn9n96u.py", line 6
print "YES"
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s055155347 | p00003 | u308369184 | 1430560126 | Python | Python3 | py | Runtime Error | 0 | 0 | 162 | while True:
try:
s=input().split(" ")
s.sort
if s[0]**2+s[1]**2=s[2]**:
print("YES")
else:
print("NO") | File "/tmp/tmped4n5fyv/tmp9tauatu9.py", line 5
if s[0]**2+s[1]**2=s[2]**:
^^^^^^^^^^^^^^^
SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
| |
s956174551 | p00003 | u308369184 | 1430560185 | Python | Python3 | py | Runtime Error | 0 | 0 | 188 | while True:
try:
s=input().split(" ")
s.sort
if s[0]**2+s[1]**2=s[2]**:
print("YES")
else:
print("NO")
except:
break | File "/tmp/tmp6t202a6a/tmpgdauuivl.py", line 5
if s[0]**2+s[1]**2=s[2]**:
^^^^^^^^^^^^^^^
SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
| |
s414657545 | p00003 | u308369184 | 1430560225 | Python | Python3 | py | Runtime Error | 0 | 0 | 192 | while True:
try:
s=int.input().split(" ")
s.sort
if s[0]**2+s[1]**2=s[2]**:
print("YES")
else:
print("NO")
except:
break | File "/tmp/tmpeai9k5bv/tmpuspsa3y5.py", line 5
if s[0]**2+s[1]**2=s[2]**:
^^^^^^^^^^^^^^^
SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
| |
s898287147 | p00003 | u308369184 | 1430560239 | Python | Python3 | py | Runtime Error | 0 | 0 | 193 | while True:
try:
s=int(input().split(" "))
s.sort
if s[0]**2+s[1]**2=s[2]**:
print("YES")
else:
print("NO")
except:
break | File "/tmp/tmpuvtwn8c5/tmpxq0hinnh.py", line 5
if s[0]**2+s[1]**2=s[2]**:
^^^^^^^^^^^^^^^
SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
| |
s194689862 | p00003 | u308369184 | 1430560740 | Python | Python3 | py | Runtime Error | 0 | 0 | 188 | while True:
try:
s=input().split(" ")
s.sort
if s[0]**2+s[1]**2=s[2]**:
print("YES")
else:
print("NO")
except:
break | File "/tmp/tmpcvz2__zb/tmpvs2sqonq.py", line 5
if s[0]**2+s[1]**2=s[2]**:
^^^^^^^^^^^^^^^
SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
| |
s327352985 | p00003 | u308369184 | 1430562740 | Python | Python3 | py | Runtime Error | 0 | 0 | 267 | n=int(input())???#?????????????????????????????°
for i in range(n)
s=input().split(" ")
s=[int(j) for j in s]
s.sort()
if(s[0]**2+s[1]**2==s[2]**2):
print("YES")
else:
print("NO")
| File "/tmp/tmp5a0ynowu/tmp50tjdbyc.py", line 1
n=int(input())???#?????????????????????????????°
^
SyntaxError: invalid syntax
| |
s896778627 | p00003 | u308369184 | 1430562763 | Python | Python3 | py | Runtime Error | 0 | 0 | 235 | n=int(input())???
for i in range(n)
s=input().split(" ")
s=[int(j) for j in s]
s.sort()
if(s[0]**2+s[1]**2==s[2]**2):
print("YES")
else:
print("NO")
| File "/tmp/tmpibq50r67/tmp8kl7dzeg.py", line 1
n=int(input())???
^
SyntaxError: invalid syntax
| |
s672553201 | p00003 | u308369184 | 1430562792 | Python | Python3 | py | Runtime Error | 0 | 0 | 232 | n=int(input())
for i in range(n)
s=input().split(" ")
s=[int(j) for j in s]
s.sort()
if(s[0]**2+s[1]**2==s[2]**2):
print("YES")
else:
print("NO")
| File "/tmp/tmpt8bwb52j/tmpec5zjz66.py", line 2
for i in range(n)
^
SyntaxError: expected ':'
| |
s890397816 | p00003 | u747594996 | 1434153401 | Python | Python3 | py | Runtime Error | 0 | 0 | 230 |
def main:
n = int(input())
for i in range(n):
s1, s2, s3 = map(int, input().split())
if s1 == s2 == s3:
print('YES')
else:
print('NO')
if __name__=="__main__":
main() | File "/tmp/tmp7_h1rgvp/tmp4ew_4lz0.py", line 2
def main:
^
SyntaxError: expected '('
| |
s491384898 | p00003 | u492083164 | 1434791700 | Python | Python3 | py | Runtime Error | 0 | 0 | 114 | num=int(input())
for i in range(num):
a,b,c=input().split(" ")
if(a==b==c):
print("YES")
else:
print("NO" | File "/tmp/tmppf4iq8n9/tmpqdgf4cr6.py", line 8
print("NO"
^
SyntaxError: '(' was never closed
| |
s544385172 | p00003 | u982618289 | 1450257550 | Python | Python3 | py | Runtime Error | 0 | 0 | 179 | for i in range(int(input())):
a = sorted(map(int,input().split()),reversed = True)
if a[0]**2 == a[1]**2 + a[2]**2:
print("YES")
else:
print("NO")
| Traceback (most recent call last):
File "/tmp/tmpn06eypjm/tmpa8ipr7sg.py", line 1, in <module>
for i in range(int(input())):
^^^^^^^
EOFError: EOF when reading a line
| |
s009472724 | p00003 | u919202930 | 1459700261 | Python | Python | py | Runtime Error | 0 | 0 | 160 | N=int(input())
for n in range(N):
sides = list(map(int,input().split()))
sides.sort()
if sides[-1] < sides[-2]+sides[-3]:
print("YES")
else:
print("NO") | Traceback (most recent call last):
File "/tmp/tmpdsknco99/tmplh1jjtwd.py", line 1, in <module>
N=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s083449171 | p00003 | u018967850 | 1462444411 | Python | Python | py | Runtime Error | 0 | 0 | 321 | def check(List):
List.sort()
List.revers()
if List[0]^2 == List[1]^2+List[2]^2:
return True
else:
return False
while True:
N = input()
for i in range(N):
list = []
for j in range(3):
list.append(input())
print check(list)
| File "/tmp/tmp_odxzsex/tmpx9922scr.py", line 17
print check(list)
^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
s280191045 | p00003 | u545973195 | 1475162828 | Python | Python3 | py | Runtime Error | 0 | 0 | 137 | N=int(input())
for i in range(N):
a=map(int,input().split())
a.sort()
if a[0]**2+a[1]**2==a[2]**2:
print("YES")
else:
print("NO") | Traceback (most recent call last):
File "/tmp/tmp5_z52rsy/tmpavqq8pij.py", line 1, in <module>
N=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s575528753 | p00003 | u545973195 | 1475162956 | Python | Python3 | py | Runtime Error | 0 | 0 | 194 | N=int(input())
answer=""
for i in range(N):
if answer!="":
answer+="\n"
a=map(int,input().split())
a.sort()
if a[0]**2+a[1]**2==a[2]**2:
answer+="YES"
else:
answer+="NO"
print(answer) | Traceback (most recent call last):
File "/tmp/tmp6hinvuso/tmpfmx4ragw.py", line 1, in <module>
N=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s249060289 | p00003 | u505912349 | 1475832495 | Python | Python3 | py | Runtime Error | 0 | 0 | 156 | import sys
for line in sys.stdin:
a,b,c = [int(x) for x in line.split()]
if (a**2+b**2) == c**2:
print('YES')
else:
print('NO') | ||
s904713094 | p00003 | u505912349 | 1475832557 | Python | Python3 | py | Runtime Error | 0 | 0 | 149 | import sys
for line in sys.stdin:
a,b,c = [int(x) for x in line.split()]
if (a**2+b**2) == c**2:
print('YES')
else:
print('NO') | ||
s966425418 | p00003 | u505912349 | 1475840153 | Python | Python3 | py | Runtime Error | 0 | 0 | 280 | import sys
array = []
for line in sys.stdin:
try:
array = [int(x) for x in line.split()]
array.sort()
if array[2]**2 == (array[0]**2+array[1]**2):
print('YES')
else:
print('NO')
except(ValueError):
continue |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.