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
s076932594
p04043
u161483742
1564716381
Python
Python (3.4.3)
py
Runtime Error
17
2940
201
a = "5 5 7" aa = a.split(" ") aa.sort if aa[0] == 5: if aa[1] == 5: if aa[2] == 7: aaa = "a" if aaa == "a": print("OK") else: print("ng")
Traceback (most recent call last): File "/tmp/tmptednlz12/tmplgiq9ywz.py", line 8, in <module> if aaa == "a": ^^^ NameError: name 'aaa' is not defined. Did you mean: 'aa'?
s595819325
p04043
u982594421
1564478618
Python
Python (3.4.3)
py
Runtime Error
21
3316
141
from collections import Counter abc = input().rstrip() c = COunter(abc) if c['5'] == 2 and c['7'] == 1: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmp_flro8t7/tmps2zy_5lv.py", line 2, in <module> abc = input().rstrip() ^^^^^^^ EOFError: EOF when reading a line
s420748197
p04043
u514894322
1564325347
Python
Python (3.4.3)
py
Runtime Error
17
2940
142
numlist = list(map(int,input().split())) if max(numlist) == 7 and min(numlist) == 5 and sum(sumlist) == 17: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmplalju698/tmpt7va9yk2.py", line 1, in <module> numlist = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s948520741
p04043
u369338402
1563947888
Python
Python (3.4.3)
py
Runtime Error
17
3060
130
n,l=map(int,input().split()) s=[] res='' for i in range(n): s.append(input()) s.sort() for k in range(n): res+=s[k] print(res)
Traceback (most recent call last): File "/tmp/tmpkfaj6sl0/tmp2c9vi7t9.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s985894849
p04043
u408620326
1563844927
Python
Python (3.4.3)
py
Runtime Error
18
2940
90
ABC=iuput() if ABC.count('5')==2 and ABC.count('7')==1: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpl1txxntn/tmp4g4xmcuw.py", line 1, in <module> ABC=iuput() ^^^^^ NameError: name 'iuput' is not defined. Did you mean: 'input'?
s307687267
p04043
u921773161
1563664504
Python
Python (3.4.3)
py
Runtime Error
17
2940
109
l = list(map(int,input().split())) if l.count(5) == 2, and l.count(7)==1 : print('YES') else: print('NO')
File "/tmp/tmprty__ojg/tmph552a1z0.py", line 2 if l.count(5) == 2, and l.count(7)==1 : ^ SyntaxError: invalid syntax
s780506545
p04043
u502028059
1563650526
Python
Python (3.4.3)
py
Runtime Error
18
2940
141
a, b, c = input().split() abc = sorted([a, b, c]) ans = 'NO' if abc[0] == '5' and abc[1] == '5' and = abc[2] == '7': ans = 'YES' print(ans)
File "/tmp/tmpxwlwkgbf/tmpmbpdq5_6.py", line 4 if abc[0] == '5' and abc[1] == '5' and = abc[2] == '7': ^ SyntaxError: invalid syntax
s387073277
p04043
u148781101
1563605437
Python
Python (3.4.3)
py
Runtime Error
18
3188
90
a, b, c = map(int, input().split()) if a * b * c = 175: print("YES") else: print("NO")
File "/tmp/tmpgqly3q_j/tmpihg6p0nn.py", line 2 if a * b * c = 175: ^^^^^^^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s909683256
p04043
u591016708
1563479813
Python
Python (3.4.3)
py
Runtime Error
17
2940
134
input = input().split() count = 0 for num in input: if num == "7": count += 1 if count = 1: print("YES") else: print("NO")
File "/tmp/tmpe5t3a9ul/tmp3tanb3qb.py", line 7 if count = 1: ^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s097172873
p04043
u087129172
1563445445
Python
Python (3.4.3)
py
Runtime Error
17
3060
324
# -*- coding: utf-8 -*- price, K = map(int, input().split()) kirai_data =input().split() #print(set(data)) lst = list(range(price,10001)) for min in lst: shugo = set(kirai_data) & set(list(str(min))) if len(shugo) == 0 : print(min) break else: continue
Traceback (most recent call last): File "/tmp/tmpkfbuczes/tmphioshfog.py", line 2, in <module> price, K = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s073644291
p04043
u087129172
1563445310
Python
Python (3.4.3)
py
Runtime Error
17
3060
324
# -*- coding: utf-8 -*- price, K = map(int, input().split()) kirai_data =input().split() #print(set(data)) lst = list(range(price,10001)) for min in lst: shugo = set(kirai_data) & set(list(str(min))) if len(shugo) == 0 : print(min) break else: continue
Traceback (most recent call last): File "/tmp/tmp9_alefzh/tmpfwq6a9h3.py", line 2, in <module> price, K = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s826281505
p04043
u087129172
1563444321
Python
Python (3.4.3)
py
Runtime Error
17
2940
340
# -*- coding: utf-8 -*- price, K = map(int, input().split()) kirai_data =input().split() #print(set(data)) lst = list(range(price,10001)) for min in lst: shugo = set(kirai_data) & set(list(str(min))) if len(shugo) != 0 : continue else: #print(price) print(min) break
Traceback (most recent call last): File "/tmp/tmpcjdze5qa/tmpnmti1we4.py", line 2, in <module> price, K = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s483170031
p04043
u087129172
1563438006
Python
Python (3.4.3)
py
Runtime Error
17
2940
229
# -*- coding: utf-8 -*- number, length = map(int, input().split()) lst = [] for n in range(number): s = input() #print(s) lst.append(s) #print(lst) lst.sort() moji = "" for n in lst: moji += n print(moji)
Traceback (most recent call last): File "/tmp/tmpbegzyyog/tmp2cw_l2hl.py", line 4, in <module> number, length = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s491378350
p04043
u087129172
1563431411
Python
Python (3.4.3)
py
Runtime Error
17
2940
206
# -*- coding: utf-8 -*- number, length = map(int, input().split()) lst = [] for n in range(number): input = input() lst.append(input) lst.sort() moji = "" for n in lst: moji += n print(moji)
Traceback (most recent call last): File "/tmp/tmpm7b3b3_k/tmp_mxtesr3.py", line 3, in <module> number, length = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s665447884
p04043
u797016134
1563426112
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
li = input().split().remove('5') if '7' in li: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmppdb0ebfk/tmpwgdb2uwf.py", line 1, in <module> li = input().split().remove('5') ^^^^^^^ EOFError: EOF when reading a line
s959157191
p04043
u087129172
1563425083
Python
Python (3.4.3)
py
Runtime Error
17
2940
434
#入力した整数が5、7、5であるならばTrueを返す # int,int,int -> True x,y,z = (int(i) for i in input().split()) if x == 7: if y == z and y == 5 : print("YES") else: print("NO") elif y == 7: if x == z and x == 5: print("YES") else: print("NO") elif z == 7: if x == y and x == 5: print("YES") else: print("NO") else: print("NO")
File "/tmp/tmpc52vkvnr/tmpf26e69gf.py", line 20 else: ^^^^ SyntaxError: invalid syntax
s458129963
p04043
u087129172
1563424444
Python
Python (3.4.3)
py
Runtime Error
17
2940
413
#入力した整数が5、7、5であるならばTrueを返す # int,int,int -> True x,y,z = int(input()) if x == 7: if y == z and y == 5 : print("YES") else: print("NO") elif y == 7: if x == z and x == 5: print("YES") else: print("NO") elif z == 7: if x == y and x == 5: print("YES") else: print("NO") else: print("NO")
File "/tmp/tmpjt1m5fvx/tmp6pmelw46.py", line 20 else: ^^^^ SyntaxError: invalid syntax
s916251174
p04043
u087129172
1563424178
Python
Python (3.4.3)
py
Runtime Error
17
3060
484
#入力した整数が5、7、5であるならばTrueを返す # int,int,int -> True x,y,z = int(input()) def check7(x,y,z): if x == 7: if y == z and y == 5 : print("YES") else: print("NO") elif y == 7: if x == z and x == 5: print("YES") else: print("NO") elif z == 7: if x == y and x == 5: print("YES") else: print("NO") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpzbaq2f7l/tmpedjsd76_.py", line 3, in <module> x,y,z = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s639553013
p04043
u129750996
1563421993
Python
Python (3.4.3)
py
Runtime Error
17
2940
170
A = list(map(int, input().split())) cnt = 0 for i in A: if i != 7 or i !=5: print('NO') else i == 7: cnt += 1 if cnt == 1: print('YES') else: print('NO')
File "/tmp/tmpaic7ox7w/tmpl1idmdgy.py", line 7 else i == 7: ^ SyntaxError: expected ':'
s648548418
p04043
u087129172
1563421575
Python
Python (3.4.3)
py
Runtime Error
17
2940
512
#入力した整数が5、7、5であるならばTrueを返す # int,int,int -> True def check7(x,y,z): if x == 7: if y == z and y == 5 : print("YES") else: print("NO") elif y == 7: if x == z and x == 5: print("YES") else: print("NO") elif z == 7: if x == y and x == 5: print("YES") else: print("NO") else: print("NO") if __name__ == "__main__": check7()
Traceback (most recent call last): File "/tmp/tmpylbprj6h/tmp0v2lqgvy.py", line 24, in <module> check7() TypeError: check7() missing 3 required positional arguments: 'x', 'y', and 'z'
s235859254
p04043
u087129172
1563421489
Python
Python (3.4.3)
py
Runtime Error
17
2940
504
#入力した整数が5、7、5であるならばTrueを返す # int,int,int -> True def check7(x,y,z): if x == 7: if y == z and y == 5 : print("YES") else: print("NO") elif y == 7: if x == z and x == 5: print("YES") else: print("NO") elif z == 7: if x == y and x == 5: print("YES") else: print("NO") else: print("NO") if __name__ == "__main__": check7()
Traceback (most recent call last): File "/tmp/tmpjvp3u_hh/tmpajpfk_gh.py", line 24, in <module> check7() TypeError: check7() missing 3 required positional arguments: 'x', 'y', and 'z'
s017096224
p04043
u087129172
1563421360
Python
Python (3.4.3)
py
Runtime Error
17
2940
472
#入力した整数が5、7、5であるならばTrueを返す # int,int,int -> True def check7(x,y,z): if x == 7: if y == z : print("YES") else: print("NO") elif y == 7: if x == z : print("YES") else: print("NO") elif z == 7: if x == y: print("YES") else: print("NO") else: print("NO") if __name__ == "__main__": check7()
Traceback (most recent call last): File "/tmp/tmpmj0foaaq/tmp4n_l8hbt.py", line 24, in <module> check7() TypeError: check7() missing 3 required positional arguments: 'x', 'y', and 'z'
s762914015
p04043
u087129172
1563421207
Python
Python (3.4.3)
py
Runtime Error
17
3060
469
#入力した整数が5、7、5であるならばTrueを返す # int,int,int -> True def check7(x,y,z): if x == 7: if y == z : print("YES") else: print("NO") elif y == 7: if x == z : print("YES") else: print("NO") elif z == 7: if x == y: print("YES") else: print("NO") else: print("NO") if __name__ == __main__: check7()
Traceback (most recent call last): File "/tmp/tmph0l3wegl/tmpgma9n1g6.py", line 23, in <module> if __name__ == __main__: ^^^^^^^^ NameError: name '__main__' is not defined. Did you mean: '__name__'?
s705679347
p04043
u856947606
1563402369
Python
Python (3.4.3)
py
Runtime Error
17
2940
225
# coding: utf-8 num,num2,num3 = map(int,inpput().split()) if (num == 5 and num2 == 5 and num3 == 7) or (num == 5 and num2 == 7 and num3 == 5) or (num == 7 and num2 == 5 and num3 == 5): print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp5rn1rzvm/tmp9tzrn2qy.py", line 2, in <module> num,num2,num3 = map(int,inpput().split()) ^^^^^^ NameError: name 'inpput' is not defined. Did you mean: 'input'?
s645956140
p04043
u948524308
1563394821
Python
Python (3.4.3)
py
Runtime Error
17
3060
362
A =int(input()) B = int(input()) C = int(input()) count5 = 0 count7 = 0 if A == 5: count5 = count5 + 1 if A == 7: count7 = count7 + 1 if B == 5: count5 = count5 + 1 if B == 7: count7 = count7 + 1 if C == 5: count5 = count5 + 1 if C == 7: count7 = count7 + 1 if count5 == 2 and count7 == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpol09ng95/tmphhconjk6.py", line 1, in <module> A =int(input()) ^^^^^^^ EOFError: EOF when reading a line
s327411286
p04043
u948524308
1563394716
Python
Python (3.4.3)
py
Runtime Error
17
3064
347
A = input() B = input() C = input() count5 = 0 count7 = 0 if A == 5: count5 = count5 + 1 if A == 7: count7 = count7 + 1 if B == 5: count5 = count5 + 1 if B == 7: count7 = count7 + 1 if C == 5: count5 = count5 + 1 if C == 7: count7 = count7 + 1 if count5 == 2 and count7 == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp8ygbqirv/tmp47jp6iwd.py", line 1, in <module> A = input() ^^^^^^^ EOFError: EOF when reading a line
s887092573
p04043
u948524308
1563394555
Python
Python (3.4.3)
py
Runtime Error
17
3064
368
A =int( input()) B = int(input()) C = int(input()) count5 = 0 count7 = 0 if A == 5: count5 = count5 + 1 elif A == 7: count7 = count7 + 1 if B == 5: count5 = count5 + 1 elif B == 7: count7 = count7 + 1 if C == 5: count5 = count5 + 1 elif C == 7: count7 = count7 + 1 if count5 == 2 and count7 == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp18oz21xb/tmpw_ob3ts6.py", line 1, in <module> A =int( input()) ^^^^^^^ EOFError: EOF when reading a line
s662979982
p04043
u948524308
1563394264
Python
Python (3.4.3)
py
Runtime Error
17
3064
352
A = input() B = input() C = input() count5 = 0 count7 = 0 if A == 5: count5 = count5 + 1 elif A == 7: count7 = count7 + 1 if B == 5: count5 = count5 + 1 elif B == 7: count7 = count7 + 1 if C == 5: count5 = count5 + 1 elif C == 7: count7 = count7 + 1 if count5 == 2 and count7 == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpvq3qveaq/tmpi8zexnbc.py", line 1, in <module> A = input() ^^^^^^^ EOFError: EOF when reading a line
s655045395
p04043
u948524308
1563393927
Python
Python (3.4.3)
py
Runtime Error
17
3064
364
A = input() B = input() C = input() count5 = 0 count7 = 0 if A == "5": count5 = count5 + 1 elif A == "7": count7 = count7 + 1 if B == "5": count5 = count5 + 1 elif B == "7": count7 = count7 + 1 if C == "5": count5 = count5 + 1 elif C == "7": count7 = count7 + 1 if count5 == 2 and count7 == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpbqzlrmd7/tmp3751iulz.py", line 1, in <module> A = input() ^^^^^^^ EOFError: EOF when reading a line
s288636552
p04043
u948524308
1563393772
Python
Python (3.4.3)
py
Runtime Error
17
3064
364
A = input() B = input() C = input() count5 = 0 count7 = 0 if A == "5": count5 = count5 + 1 elif A == "7": count7 = count7 + 1 if B == "5": count5 = count5 + 1 elif B == "7": count7 = count7 + 1 if C == "5": count5 = count5 + 1 elif C == "7": count7 = count7 + 1 if count5 == 2 and count7 == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp9t_0lqhn/tmphre6jhcp.py", line 1, in <module> A = input() ^^^^^^^ EOFError: EOF when reading a line
s240964250
p04043
u257332942
1563214972
Python
Python (3.4.3)
py
Runtime Error
17
2940
272
if int(input()) == 5 and int(input()) == 5 and int(input()) == 7: print('YES') elif int(input()) == 5 and int(input()) == 7 and int(input()) == 5: print('YES') elif int(input()) == 7 and int(input()) == 5 and int(input()) == 5: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpyj_rfoyz/tmpcawk5w4i.py", line 1, in <module> if int(input()) == 5 and int(input()) == 5 and int(input()) == 7: ^^^^^^^ EOFError: EOF when reading a line
s102653975
p04043
u423585790
1563046019
Python
PyPy3 (2.4.0)
py
Runtime Error
173
38256
1364
#!/usr/bin/env python3 from collections import defaultdict from collections import deque from heapq import heappush, heappop import sys import math import bisect import random import itertools sys.setrecursionlimit(10**5) stdin = sys.stdin bisect_left = bisect.bisect_left bisect_right = bisect.bisect_right def LI(): return list(map(int, stdin.readline().split())) def LF(): return list(map(float, stdin.readline().split())) def LI_(): return list(map(lambda x: int(x)-1, stdin.readline().split())) def II(): return int(stdin.readline()) def IF(): return float(stdin.readline()) def LS(): return list(map(list, stdin.readline().split())) def S(): return list(stdin.readline().rstrip()) def IR(n): return [II() for _ in range(n)] def LIR(n): return [LI() for _ in range(n)] def FR(n): return [IF() for _ in range(n)] def LFR(n): return [LI() for _ in range(n)] def LIR_(n): return [LI_() for _ in range(n)] def SR(n): return [S() for _ in range(n)] def LSR(n): return [LS() for _ in range(n)] mod = 1000000007 inf = float('INF') #A def A(): a = LI() a.sort() if a = [5, 5, 7]: print("YES") else: print("NO") return #B def B(): return #C def C(): return #D def D(): return #E def E(): return #F def F(): return #G def G(): return #H def H(): return #Solve if __name__ == '__main__': A()
File "/tmp/tmpu696a7uo/tmpolkugn0r.py", line 35 if a = [5, 5, 7]: ^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s936701391
p04043
u576712004
1562960707
Python
Python (3.4.3)
py
Runtime Error
17
3064
560
from math import * H, W, A, B = list(map(int, input().split())) p = 1000000007 ft = [1] ift = [-1] * (H + W + 1) for i in range(1, H + W + 1): ft.append(ft[i-1] * i % p) def ifac(a): if ift[a] != -1: return ift[a] res = 1 x = ft[a] for i in range(ceil(log2(p-2))): if ((p - 2) >> i) & 1: res *= x % p x *= x % p ift[a] = res return res def com(a, b): return (ft[a] * ifac(b) * ifac(a-b)) % p ans = 0 for i in range(H-A): ans += com(B+i-1, i) * com(W-B+H-i-2, H-i-1) ans %= p print(ans)
Traceback (most recent call last): File "/tmp/tmp1_9qj_xh/tmp4j1ycqnx.py", line 3, in <module> H, W, A, B = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s317824786
p04043
u082357333
1562794781
Python
Python (3.4.3)
py
Runtime Error
17
2940
249
# -*- coding: utf-8 -*- a = [int(i) i for input().split()] count_5 = 0 count_7 = 0 for i in a: if i == 5: count_5 += 1 elif i == 7: count_7 += 1 else: continue if count_5 == 2 and count_7 == 1: print("YES") else: print("NO")
File "/tmp/tmp1kigh_r1/tmpwpj15ji2.py", line 3 a = [int(i) i for input().split()] ^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s140871250
p04043
u675073679
1562793965
Python
Python (3.4.3)
py
Runtime Error
18
2940
154
nums = list(map(int,input().split()) nums.sort() if nums[0] == 5 and nums[1] == 5 and nums[2] == 7: print("YES") else: print("NO")
File "/tmp/tmplss16cc2/tmplsl88ly6.py", line 1 nums = list(map(int,input().split()) ^ SyntaxError: '(' was never closed
s198363940
p04043
u675073679
1562793902
Python
Python (3.4.3)
py
Runtime Error
18
2940
132
nums = list(map(int,input(),split()) nums.sort() if nums[0] == 5 and nums[1] == 5 and nums[2] == 7: print("YES") else: print("NO")
File "/tmp/tmpjavzgjt8/tmpomkh654l.py", line 1 nums = list(map(int,input(),split()) ^ SyntaxError: '(' was never closed
s339181394
p04043
u675073679
1562793810
Python
Python (3.4.3)
py
Runtime Error
17
3064
154
nums = list(map(int,input(),split()) nums.sort() if nums[0] == 5 and nums[1] == 5 and nums[2] == 7: print("YES") else: print("NO")
File "/tmp/tmp_keid3i6/tmpn2v6gpob.py", line 1 nums = list(map(int,input(),split()) ^ SyntaxError: '(' was never closed
s285485483
p04043
u456033454
1562375806
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38256
91
print('YES' if (input().split().count('5')==2 and input().split().count('7')==1) else 'NO')
Traceback (most recent call last): File "/tmp/tmpemib777r/tmph6__4ysq.py", line 1, in <module> print('YES' if (input().split().count('5')==2 and input().split().count('7')==1) else 'NO') ^^^^^^^ EOFError: EOF when reading a line
s869243936
p04043
u456033454
1562375770
Python
PyPy3 (2.4.0)
py
Runtime Error
172
38256
89
print('YES' if input().split().count('5')==2 and input().split().count('7')==1 else 'NO')
Traceback (most recent call last): File "/tmp/tmpuf0f4kuh/tmpojx3xdgl.py", line 1, in <module> print('YES' if input().split().count('5')==2 and input().split().count('7')==1 else 'NO') ^^^^^^^ EOFError: EOF when reading a line
s782903212
p04043
u093500767
1562123228
Python
Python (3.4.3)
py
Runtime Error
17
2940
147
a = list(map(int, input().split())) for i in a: if i==5: i5+=1 if i==7: i7+=1 if i5==2 and i7==1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp0ykekbp3/tmpdjlkh0dw.py", line 1, in <module> a = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s224090780
p04043
u093500767
1562123050
Python
Python (3.4.3)
py
Runtime Error
18
2940
146
a = list(map(int, input().split())) for i in a: if i==5: i5+=1 elif i==7: i7+=1 if i5==2 & i7==1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp72xnvg97/tmpjlzmogsb.py", line 1, in <module> a = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s166480889
p04043
u314050667
1562122955
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
s = list(map(int, input().split()) if s.count(5)==2 and s.count(7)==1: print("YES") else: print("NO")
File "/tmp/tmpibk3bjdo/tmp2j6ck2eu.py", line 1 s = list(map(int, input().split()) ^ SyntaxError: '(' was never closed
s020498048
p04043
u265116141
1562077204
Python
Python (3.4.3)
py
Runtime Error
17
2940
83
n,l=map(int,input().split()) t=sorted([input() for i in range(n)]) print(*t,sep="")
Traceback (most recent call last): File "/tmp/tmpemgyslvt/tmpvvl80yfg.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s544315077
p04043
u375500286
1561947965
Python
Python (3.4.3)
py
Runtime Error
17
2940
142
s=list(map(int,input().split())) s.sort() if s[0]==5 and s[1]==5 and s[2]==7 : print("YES") else : print("NO")
File "/tmp/tmptdlrvr5x/tmpss7zh0y9.py", line 1 s=list(map(int,input().split())) IndentationError: unexpected indent
s466072122
p04043
u375500286
1561947894
Python
Python (3.4.3)
py
Runtime Error
17
2940
118
s=list(map(int,input().split()) s.sort() if s[0]==5 and s[1]==5 and s[2]==7 : print("YES") else : print("NO")
File "/tmp/tmp8v1_4lt7/tmpgiijp9nl.py", line 1 s=list(map(int,input().split()) ^ SyntaxError: '(' was never closed
s082666952
p04043
u556589653
1561746002
Python
Python (3.4.3)
py
Runtime Error
18
2940
114
A = llist(map(int,input().split())) if (A.count(5)) == 2 and (A.count(7)) == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp771f4g4f/tmp0kt41u_n.py", line 1, in <module> A = llist(map(int,input().split())) ^^^^^ NameError: name 'llist' is not defined. Did you mean: 'list'?
s039261363
p04043
u556589653
1561745937
Python
Python (3.4.3)
py
Runtime Error
17
2940
108
A = list(int,input().split()) if (A.count(5)) == 2 and (A.count(7)) == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmppsqsepft/tmp6utox0yc.py", line 1, in <module> A = list(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s147087596
p04043
u239756332
1561598659
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
L = list(map(int(),input().split())) if sum(L)==17: print('YES') else: pritn('NO')
Traceback (most recent call last): File "/tmp/tmpjako5m8o/tmp2dynko8z.py", line 1, in <module> L = list(map(int(),input().split())) ^^^^^^^ EOFError: EOF when reading a line
s031008904
p04043
u239756332
1561597652
Python
Python (3.4.3)
py
Runtime Error
18
2940
209
lst = input('3 nums with 2 space(1<=nums<=10):') i = 0 for n in lst: if n>10 or n<1: print('NO') break if n==5: i += 1 elif n==7: i -= 1 if i == 1: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmp2m83rr28/tmp3ipt1mlo.py", line 1, in <module> lst = input('3 nums with 2 space(1<=nums<=10):') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ EOFError: EOF when reading a line
3 nums with 2 space(1<=nums<=10):
s257834323
p04043
u349091349
1561572272
Python
Python (3.4.3)
py
Runtime Error
18
3060
158
A,B,C=map(int,input().split()) a=len(A) b=len(B) c=len(C) if (a or b or c == 5) and (a or b or c ==7) and (a*b*c ==5*7*5): print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpu741bgwt/tmp09b11n63.py", line 1, in <module> A,B,C=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s579380432
p04043
u013594089
1561512060
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
a,b,c=map(int,input().split()) if a,b,c == 5,5,7 print("YES") else: print("NO")
File "/tmp/tmpfgrqa4qt/tmp4d5y9jsv.py", line 2 if a,b,c == 5,5,7 ^ SyntaxError: invalid syntax
s875481695
p04043
u013594089
1561510911
Python
Python (3.4.3)
py
Runtime Error
17
2940
118
a,b,c=map(int,input().split()) if a,b,c == 5,5,7 or a,b,c == 7,5,5 or a,b,c == 5,7,5: print("YES") else: print("NO")
File "/tmp/tmp2pc621cu/tmpeotzir8e.py", line 2 if a,b,c == 5,5,7 or a,b,c == 7,5,5 or a,b,c == 5,7,5: ^ SyntaxError: invalid syntax
s334537739
p04043
u394153138
1561411908
Python
Python (3.4.3)
py
Runtime Error
17
2940
123
int a = 5 int b = 7 int c = 5 if a = b: print("YES") elif b = c: print("YES") elif c = b: ("YES") else: print("NO")
File "/tmp/tmp2r9l6ups/tmp5iuokw_2.py", line 1 int a = 5 ^ SyntaxError: invalid syntax
s269070403
p04043
u471212175
1561334930
Python
Python (3.4.3)
py
Runtime Error
17
2940
202
def X(A,B,C): if A == 5 or A == 7: if B == 5 or B == 7: if C == 5 or C == 7: if A + B + C == 19: return "YES" return "NO" A,B,C = int(input()) print(X(A,B,C))
Traceback (most recent call last): File "/tmp/tmph_wdx8t1/tmpyv3_qw51.py", line 8, in <module> A,B,C = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s566583665
p04043
u775742948
1560992942
Python
Python (3.4.3)
py
Runtime Error
17
2940
141
N = int(input()) L = int(input()) a = [] for i in range(N): a.append(input()) for ele in sorted(a): print(ele, end = '')
Traceback (most recent call last): File "/tmp/tmpaedg9d3y/tmp8jd4u3yi.py", line 1, in <module> N = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s969521286
p04043
u098677768
1560700506
Python
Python (3.4.3)
py
Runtime Error
17
2940
151
i = list(map(int, input().split())) countFive = i.count(5) countSeven = i.count(7) if countFive == 2 & countSeven == 1 print("YES") else print("NO")
File "/tmp/tmpdrpd5fla/tmpchyn1ema.py", line 5 if countFive == 2 & countSeven == 1 ^ SyntaxError: expected ':'
s924530914
p04043
u874549552
1560183646
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
N,L = map(int,input().split()) s = sorted([input() for i in range(N)]) print("".join(s))
Traceback (most recent call last): File "/tmp/tmpopru3cmk/tmp9alcd_9t.py", line 1, in <module> N,L = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s370389900
p04043
u203597140
1560059263
Python
Python (3.4.3)
py
Runtime Error
18
3064
1330
def equal(n, available): return n in available def less(n, available): return n < sorted(available)[0] def greater(n, available): return n > sorted(available, reverse=True)[0] #less(n, available) == True であること def upper_next(n, available): for v in sorted(available): if n < v: return v return 1/0 n_str, _ = [v for v in input().split()] n_s = [0] n_s.extend([int(n_str[i:i+1]) for i in range(len(n_str))]) d_s = [int(v) for v in input().split()] available = set(list(range(10))) - set(d_s) #print("n", n_s, "d", d_s, "u", available) min_available = sorted(available)[0] max_available = sorted(available, reverse=True)[0] ans = [0] ans.extend([min_available] * (len(n_s) - 1)) eq = True for i in range(1, len(n_s)): if eq: if equal(n_s[i], available): ans[i] = n_s[i] continue else: eq = False if less(n_s[i], available): ans[i] = upper_next(n_s[i], available) #残りは最小値詰め break else: for j in range(i - 1, -1, -1): if ans[j] == max_available: ans[j] = min_available else: ans[j] = upper_next(ans[j], available) break break begin = 0 if ans[0] == 0: begin = 1 ans_val = "".join(map(lambda x:str(x), ans[begin:])) print(ans_val)
Traceback (most recent call last): File "/tmp/tmplib1x3hk/tmp5xvqjg35.py", line 19, in <module> n_str, _ = [v for v in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s902732111
p04043
u569272329
1559935970
Python
Python (3.4.3)
py
Runtime Error
17
2940
272
#include <iostream> using namespace std; int main(){ int A[3]; cin >> A[0] >> A[1] >> A[2]; sort(A, A + 3); if((A[0] == 5) && (A[1] == 5) && (A[2] == 7)) { cout << "YES" << endl; } else { cout << "NO" <<endl; } return 0; }
File "/tmp/tmplzjxtzmu/tmp422b1mxh.py", line 2 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s586660758
p04043
u881100099
1559927729
Python
Python (3.4.3)
py
Runtime Error
17
2940
90
x=input() y=input() z=input() if (x*y*z=5*5*7): print('true') else: print('False')
File "/tmp/tmpku6umst7/tmpo3m9haho.py", line 4 if (x*y*z=5*5*7): ^^^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s816129084
p04043
u271692916
1559770263
Python
Python (3.4.3)
py
Runtime Error
17
2940
80
X = int(input()) if X ==:[5,5,7],[5,7,5],[7,5,5]: print("yes") eles("no")
File "/tmp/tmp7ijzo6b_/tmpdiic85el.py", line 3 if X ==:[5,5,7],[5,7,5],[7,5,5]: ^ SyntaxError: invalid syntax
s447966731
p04043
u476562059
1559755963
Python
Python (3.4.3)
py
Runtime Error
17
2940
109
n, l = map(int, input().split()) a = [] for x in range(n): a.append(input()) a.sort() print("".join(a))
Traceback (most recent call last): File "/tmp/tmprx1rxvo6/tmphlkho0e5.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s866307870
p04043
u476562059
1559755613
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
n, l = map(int,input().split()) a = [] for x in range(n): a.append(input()) a.sort() print("".join(a))
Traceback (most recent call last): File "/tmp/tmpv3y9ejem/tmpekr7ntjx.py", line 1, in <module> n, l = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s812416557
p04043
u476562059
1559755540
Python
Python (3.4.3)
py
Runtime Error
17
2940
105
n, l = map(int,input().split()) a = [] for x in range(n): a.append(input()) a.sort() print(""join(a))
File "/tmp/tmp8v1i7ob7/tmpo435sa6f.py", line 6 print(""join(a)) ^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s901046023
p04043
u476562059
1559755486
Python
Python (3.4.3)
py
Runtime Error
21
3188
108
n, l = map(int,input().split()) a = [] for x in range(n): a.append(input()) a.sorted() print(''.join(a))
Traceback (most recent call last): File "/tmp/tmp7jdvbnxh/tmp59euo32k.py", line 1, in <module> n, l = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s382671462
p04043
u442068463
1559615308
Python
Python (3.4.3)
py
Runtime Error
17
2940
116
A = list(map(int, input().split())) A =sorted(A) if A[0]=5 and A[1]=5 and A[2]=7: print("YES") else: print("NO")
File "/tmp/tmpma8ztak9/tmpazvozrfa.py", line 3 if A[0]=5 and A[1]=5 and A[2]=7: ^^^^ SyntaxError: cannot assign to subscript here. Maybe you meant '==' instead of '='?
s764165727
p04043
u442068463
1559615025
Python
Python (3.4.3)
py
Runtime Error
17
2940
110
A = list(map(int, input().split())) if max(A)=7 and mean(A)=5 and min(A)=5: print("YES") else: print("NO")
File "/tmp/tmpijdfrceo/tmpe_qiq7x5.py", line 2 if max(A)=7 and mean(A)=5 and min(A)=5: ^^^^^^ SyntaxError: cannot assign to function call here. Maybe you meant '==' instead of '='?
s363958408
p04043
u442068463
1559614866
Python
Python (3.4.3)
py
Runtime Error
17
2940
120
a,b,c = map(int, input().split()) if max(a,b,c)=7 and mean(a,b,c)=5 and min(a,b,c)=5: print("YES") else: print("NO")
File "/tmp/tmplo7hl175/tmpkelc1i8p.py", line 2 if max(a,b,c)=7 and mean(a,b,c)=5 and min(a,b,c)=5: ^^^^^^^^^^ SyntaxError: cannot assign to function call here. Maybe you meant '==' instead of '='?
s416435884
p04043
u442068463
1559614789
Python
Python (3.4.3)
py
Runtime Error
17
2940
113
a,b,c=int(input().split()) if max(a,b,c)=7 and mean(a,b,c)=5 and min(a,b,c)=5: print("YES") else: print("NO")
File "/tmp/tmpi1a16x1s/tmpzw8m4dcq.py", line 2 if max(a,b,c)=7 and mean(a,b,c)=5 and min(a,b,c)=5: ^^^^^^^^^^ SyntaxError: cannot assign to function call here. Maybe you meant '==' instead of '='?
s569411381
p04043
u442068463
1559614668
Python
Python (3.4.3)
py
Runtime Error
17
2940
108
a,b,c=input().split() if max(a,b,c)=7 and mean(a,b,c)=5 and min(a,b,c)=5: print("YES") else: print("NO")
File "/tmp/tmpts91nosj/tmp_0f14kcz.py", line 2 if max(a,b,c)=7 and mean(a,b,c)=5 and min(a,b,c)=5: ^^^^^^^^^^ SyntaxError: cannot assign to function call here. Maybe you meant '==' instead of '='?
s788729586
p04043
u661655756
1559591771
Python
Python (3.4.3)
py
Runtime Error
17
3060
216
[A,B,C]=[int(input()),int(input()),int(input())] list=[A,B,C] if 5 in list: list.remove(5) if 5 in list: list.remove(5) if 7 in list: list.remove(7) if len(list)==0: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp_adl972f/tmp0_itlcyv.py", line 1, in <module> [A,B,C]=[int(input()),int(input()),int(input())] ^^^^^^^ EOFError: EOF when reading a line
s664389824
p04043
u564060397
1559590890
Python
Python (3.4.3)
py
Runtime Error
17
2940
111
a,b=map(int,input().split()) List=[] for i in range(a): List.append(input()) print("".join(sorted(List)))
Traceback (most recent call last): File "/tmp/tmp_4h944n6/tmp73_wl3xd.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s639720233
p04043
u564060397
1559590864
Python
Python (3.4.3)
py
Runtime Error
17
2940
110
,b=map(int,input().split()) List=[] for i in range(a): List.append(input()) print("".join(sorted(List)))
File "/tmp/tmpmi5wycx2/tmptitdoexe.py", line 1 ,b=map(int,input().split()) ^ SyntaxError: invalid syntax
s852665219
p04043
u564060397
1559590595
Python
Python (3.4.3)
py
Runtime Error
17
2940
109
a,b=map(int,input().split()) List=[] for i in range(a): List.append(input) print("".join(sorted(List)))
Traceback (most recent call last): File "/tmp/tmppl8i_tuo/tmpd45qnex1.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s501082594
p04043
u564060397
1559590464
Python
Python (3.4.3)
py
Runtime Error
17
2940
113
a,b=map(int,input().split()) List=[] for i in range(a): List.append(input) print("".join(sorted(List)))
Traceback (most recent call last): File "/tmp/tmpdpx4d2z9/tmpwtccuard.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s151064906
p04043
u221841077
1559404247
Python
Python (2.7.6)
py
Runtime Error
10
2568
283
seven = 0 five = 0 A,B,C = map(int,input().split()) if A == 7: seven += 1 elif A == 5: five += 1 if B == 7: seven += 1 elif B == 5: five += 1 if C == 7: seven += 1 elif C == 5: five += 1 if seven == 1 or five == 2: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpiksqs0oj/tmpfe9q17au.py", line 4, in <module> A,B,C = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s880220692
p04043
u267970779
1559172871
Python
Python (3.4.3)
py
Runtime Error
16
2940
170
A,B,C=map(int,input().split()) if A==B==5 and C==7; print("YES") elif A==C==5 and B==7; print("YES") elif B==C==5 and A==7; print("YES") else; print("NO")
File "/tmp/tmpvzv6mzpo/tmpewdci0jo.py", line 2 if A==B==5 and C==7; ^ SyntaxError: invalid syntax
s627230292
p04043
u267970779
1559172656
Python
Python (3.4.3)
py
Runtime Error
17
2940
170
A,B,C=map(int,input().split()) if A==B==5 and C==7; print("YES") elif A==C==5 and B==7; print("YES") elif B==C==5 and A==7; print("YES") else; print("NO")
File "/tmp/tmpp4qv7dwh/tmp7symjsjb.py", line 2 if A==B==5 and C==7; ^ SyntaxError: invalid syntax
s762402940
p04043
u502634014
1559160877
Python
Python (3.4.3)
py
Runtime Error
17
2940
5
if
File "/tmp/tmp8qm1zvtz/tmp42zy2c9j.py", line 3 if ^ SyntaxError: invalid syntax
s237102979
p04043
u284231738
1559087584
Python
Python (3.4.3)
py
Runtime Error
17
3060
355
N,K = list(map(int,input().split())) D = list(map(int,input().split())) over = 0 for x in range(N,10000): for y in str(x): mediation = False for z in D: if int(y) == z: mediation = True break if mediation: break over = x if over!=0: break print(over)
Traceback (most recent call last): File "/tmp/tmpk7le41mm/tmpc5fbyt5r.py", line 1, in <module> N,K = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s283356825
p04043
u284231738
1559087403
Python
Python (3.4.3)
py
Runtime Error
17
3060
355
N,K = list(map(int,input().split())) D = list(map(int,input().split())) over = 0 for x in range(N,10000): for y in str(x): mediation = False for z in D: if int(y) == z: mediation = True break if mediation: break over = x if over!=0: break print(over)
Traceback (most recent call last): File "/tmp/tmpkcr71fd0/tmpoopoe4al.py", line 1, in <module> N,K = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s038868242
p04043
u564060397
1558810817
Python
Python (3.4.3)
py
Runtime Error
17
2940
91
a,b=map(int,input().split()) List=[input() for i in range(a)] print("".join(sorted(List)))
Traceback (most recent call last): File "/tmp/tmpx7jazgp9/tmpxlh01x6t.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s905716405
p04043
u366959492
1558759633
Python
Python (3.4.3)
py
Runtime Error
17
2940
158
a,b,c=input().split() l=[] l.append(len(a)) l.append(len(b)) l.append(len(c)) if l==[5,5,7] or l=[5,7,5] or l=[7,5,5]: print("YES") else: print("NO")
File "/tmp/tmpcunh6oz0/tmpk7cdzl0h.py", line 6 if l==[5,5,7] or l=[5,7,5] or l=[7,5,5]: ^ SyntaxError: invalid syntax
s894445260
p04043
u260509802
1558621764
Python
Python (3.4.3)
py
Runtime Error
17
2940
79
def hantei(A,B,C): if A+B+C = 17: print('YES") else: print('NO')
File "/tmp/tmp2nav2h29/tmpiy7o_gfe.py", line 3 print('YES") ^ SyntaxError: unterminated string literal (detected at line 3)
s075614519
p04043
u706167597
1558327097
Python
Python (3.4.3)
py
Runtime Error
21
3316
127
s, n = map(int,input().split()) a = input() b = input() c = input() ar = [a,b,c] ar.sort() result = ''.join(ar) print(result)
Traceback (most recent call last): File "/tmp/tmpsjbwlwar/tmp8ogpzido.py", line 1, in <module> s, n = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s857873285
p04043
u910295650
1558296882
Python
Python (3.4.3)
py
Runtime Error
17
2940
124
s = input().split() if s.count('5') == 2 and s.count('7') == 1: print('YES') else: print('NO')
File "/tmp/tmp92hg2zf1/tmp5w8hoie6.py", line 1 s = input().split() IndentationError: unexpected indent
s134813397
p04043
u910295650
1558296277
Python
Python (3.4.3)
py
Runtime Error
17
2940
124
s = input().split() if s.count('5') == 2 and s.count('7') == 1: print('YES') else: print('NO')
File "/tmp/tmpc7jigi7c/tmpxufj3amt.py", line 1 s = input().split() IndentationError: unexpected indent
s650621445
p04043
u961916328
1557868915
Python
Python (3.4.3)
py
Runtime Error
20
3316
135
list1 = list(map(int,input().split())) list1.sort() if list1[0] == 5 and list[1] ==7 and list[2]==7: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpw9qwqm3x/tmp54clhv1s.py", line 1, in <module> list1 = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s060860097
p04043
u046585946
1557781444
Python
Python (3.4.3)
py
Runtime Error
18
2940
141
a,b,c=map(int,input().split()) if ((a+b==10 and a==5) and c==7) or ((a+b=12 and c==5) and (a==5 or b==5)): print("YES") else: print("NO")
File "/tmp/tmp_nywqbpb/tmpzul6g_bo.py", line 2 if ((a+b==10 and a==5) and c==7) or ((a+b=12 and c==5) and (a==5 or b==5)): ^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s480953324
p04043
u046585946
1557781390
Python
Python (3.4.3)
py
Runtime Error
17
2940
137
a,b,c=map(int,input().split()) if (a+b==10 and a==5 and c==7) or (a+b=12 and c==5 and (a==5 or b==5)): print("YES") else: print("NO")
File "/tmp/tmp2d5gzj2k/tmpfa96i0a0.py", line 2 if (a+b==10 and a==5 and c==7) or (a+b=12 and c==5 and (a==5 or b==5)): ^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s591002768
p04043
u643912307
1557495765
Python
Python (3.4.3)
py
Runtime Error
18
3188
97
a,b,c=map(int,input().split()) if a+b+c==17 and a*b*c==175:  print("YES") else:  print("NO")
File "/tmp/tmpkkpb6jrw/tmp3805yi89.py", line 4  print("YES") ^ SyntaxError: invalid non-printable character U+3000
s394565225
p04043
u172386990
1557461389
Python
Python (3.4.3)
py
Runtime Error
17
3064
792
import itertools white_num_list = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] N, K = map(int, input().split()) black_num_list = list(map(int, input().split())) white_num_list = list(set(white_num_list).difference(set(black_num_list))) num_combination = list(itertools.combinations_with_replacement(white_num_list, len(str(N)))) num_list = [] for num in num_combination: if num[0] == 0: continue num_list.append(int(''.join(map(str, num)))) num_list = sorted(num_list) def price(N, num_list, white_num_list): for num in num_list: if num >= N: return num if 0 in white_num_list: white_num_list.remove(0) placeholder = str(min(white_num_list)) return int(placeholder * (len(str(N)) + 1)) print(price(N, num_list, white_num_list))
Traceback (most recent call last): File "/tmp/tmp7dbaq_2v/tmpbb1dw8y7.py", line 5, in <module> N, K = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s875025301
p04043
u827392300
1557106772
Python
Python (3.4.3)
py
Runtime Error
17
2940
126
if A+B+C==17 : if A==5 and B==5 : print("YES") elif A==5 and B==7 : print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpqasl7d7u/tmpqke7d4n3.py", line 1, in <module> if A+B+C==17 : ^ NameError: name 'A' is not defined
s496426913
p04043
u827392300
1557106719
Python
Python (3.4.3)
py
Runtime Error
17
2940
130
if A+B+C==17 : if (A==5 and B==5) : print("YES") elif (A==5 and B==7) : print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpl2ohhmen/tmpjk9cr1nz.py", line 1, in <module> if A+B+C==17 : ^ NameError: name 'A' is not defined
s156442829
p04043
u827392300
1557106441
Python
Python (3.4.3)
py
Runtime Error
17
2940
100
if A+B+C==17 : if (A==5 and B==5)or(A==5 and B==7) : print("YES") elif: print("NO")
File "/tmp/tmp2c7wfa7p/tmpjucmx6qv.py", line 5 elif: ^ SyntaxError: invalid syntax
s197662466
p04043
u827392300
1557106289
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
if A+B+C==17 : if (A==5&&B==5)||(A==5&&B==7) : print("YES") else: print("NO")
File "/tmp/tmp6knmwsu7/tmpwz1fioq6.py", line 2 if (A==5&&B==5)||(A==5&&B==7) : ^ SyntaxError: invalid syntax
s872173269
p04043
u827392300
1557106188
Python
Python (3.4.3)
py
Runtime Error
17
2940
102
if A+B+C==17 : if (A==5&&B==5)||(A==5&&B==7) : print("YES") elif: print("NO")
File "/tmp/tmpgn_pl42u/tmp773y4jv4.py", line 2 if (A==5&&B==5)||(A==5&&B==7) : ^ SyntaxError: invalid syntax
s587601013
p04043
u827392300
1557106021
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
if A+B+C==17 : if (A==5&&B==5)||(A==5&&B==7) : print("YES") elif: print("NO")
File "/tmp/tmpgx94_sxq/tmpbllzn8wq.py", line 2 if (A==5&&B==5)||(A==5&&B==7) : ^ SyntaxError: invalid syntax
s038900835
p04043
u827392300
1557105827
Python
Python (3.4.3)
py
Runtime Error
18
2940
129
A = input() B = input() C = input() if A+B+C==17 : if (A==5&&B==5)||(A==5&&B==7) : print("YES") elif: print("NO")
File "/tmp/tmperyquvfu/tmplok47z44.py", line 5 if (A==5&&B==5)||(A==5&&B==7) : ^ SyntaxError: invalid syntax
s193416772
p04043
u534284406
1557088723
Python
Python (3.4.3)
py
Runtime Error
17
2940
119
items = input().split() items= map(int, items) items.sort() if items == [5,5,7]: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpavq88gln/tmpd09xb9l1.py", line 1, in <module> items = input().split() ^^^^^^^ EOFError: EOF when reading a line