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
s352635938
p04043
u020604402
1547423962
Python
PyPy3 (2.4.0)
py
Runtime Error
176
38256
109
L=list(map(int,input().split())) table=[5,5,7] L=soretd(L) if table == L: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmps2d9u4_x/tmpo7ddj_dz.py", line 1, in <module> L=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s818724577
p04043
u020604402
1547423929
Python
PyPy3 (2.4.0)
py
Runtime Error
174
38512
103
L=map(int,input().split()) table=[5,5,7] L=soretd(L) if table == L: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmphcs5qfg9/tmpmsukk1ah.py", line 1, in <module> L=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s468871122
p04043
u020604402
1547423892
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38256
102
L=amp(int,input().split()) table=[5,5,7] L=soretd(L) if table == L: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmptsfepo6d/tmp44nb6l27.py", line 1, in <module> L=amp(int,input().split()) ^^^ NameError: name 'amp' is not defined
s832577672
p04043
u231647664
1547331468
Python
Python (3.4.3)
py
Runtime Error
18
2940
135
n, l = map(int, input().split()) sn = [] for _ in range(1, n+1): sn.append(input()) sn = sorted(sn) sn = ''.join(sn) print(sn)
Traceback (most recent call last): File "/tmp/tmpnv1bvmy9/tmpx3s7fvfy.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s989151533
p04043
u231647664
1547331358
Python
Python (3.4.3)
py
Runtime Error
18
2940
131
n, l = map(int, input().split()) sn = [] for _ in range(n+1): sn.append(input()) sn = sorted(sn) sn = ''.join(sn) print(sn)
Traceback (most recent call last): File "/tmp/tmpemt03kgz/tmpqvee0w1_.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s432968705
p04043
u231647664
1547331231
Python
Python (3.4.3)
py
Runtime Error
18
2940
130
n, l = map(int, input().split()) sn = [] for _ in range(n): sn.append(input()) sn = sorted(sn) sn = ''.join(sn) print(sn)
Traceback (most recent call last): File "/tmp/tmpj67lcdr7/tmpsm94toeh.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s256911978
p04043
u231647664
1547325556
Python
Python (3.4.3)
py
Runtime Error
17
2940
87
a, b, c = map(int, input().split()) if a*b*c = 245: print('YES') else: print('NO')
File "/tmp/tmphuy4ohs9/tmpl12rbs4r.py", line 2 if a*b*c = 245: ^^^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s638811645
p04043
u912158215
1546597505
Python
Python (3.4.3)
py
Runtime Error
18
2940
248
N, L = map(int, input().split()) #標準入力からリストの作成 list = [] for _ in range(N): i = str(input()) list.append(i) #リストのソート list_a = sorted(list) #リストの結合 mojiretu = ''.join(list_a) print(mojiretu)
Traceback (most recent call last): File "/tmp/tmpn84e_j8i/tmp_u9unzgv.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s637019568
p04043
u912158215
1546596522
Python
Python (3.4.3)
py
Runtime Error
17
2940
200
N, L = map(int, input().split()) #標準入力からリストの作成 list = [] for _ in range(2, N+2): i = input() list.append(i) #リストの結合 mojiretu = ''.join(list) print(mojiretu)
Traceback (most recent call last): File "/tmp/tmpzrp2aojy/tmpb2w7n0ag.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s737862364
p04043
u912158215
1546586877
Python
Python (3.4.3)
py
Runtime Error
18
2940
206
a,b,c = map(int, input().split()) flag = 0 if a == 7 & b,c == 5: flag = 1 elif b == 7 & a,c == 5: flag = 1 elif c == 7 & a,b == 5: flag = 1 else: flag = 0 if flag = 0: print('No') else: print('YES')
File "/tmp/tmpzycvtgba/tmpf1i7nkf3.py", line 3 if a == 7 & b,c == 5: ^ SyntaxError: invalid syntax
s899975311
p04043
u739008524
1546461066
Python
Python (3.4.3)
py
Runtime Error
17
2940
156
import sys n,l = map(int,input().split()) s =[] for i in range(n): s.append((input())) s.sort() for i in range(n): sys.stdout.write(s[i]) print("")
Traceback (most recent call last): File "/tmp/tmpn4pnnh6r/tmpfh9f9ryo.py", line 2, in <module> n,l = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s842064189
p04043
u066455063
1546398632
Python
Python (3.4.3)
py
Runtime Error
18
2940
118
ABC = list(map(int(input().split()))) if ABC.count(5) == 2 and ABC.count == 7: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpmhr1r96s/tmpvpyzg_lw.py", line 1, in <module> ABC = list(map(int(input().split()))) ^^^^^^^ EOFError: EOF when reading a line
s096288579
p04043
u066455063
1546398552
Python
Python (3.4.3)
py
Runtime Error
18
2940
118
ABC = list(map(int(input().split()))) if ABC.count(5) == 2 and ABC.count == 7: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpsas55urs/tmp7m_0q3b6.py", line 1, in <module> ABC = list(map(int(input().split()))) ^^^^^^^ EOFError: EOF when reading a line
s326893979
p04043
u277556971
1546026274
Python
Python (3.4.3)
py
Runtime Error
17
3064
301
a, b, c = map(int, input().split()) five = 0; if a == 5: five = five + 1; elif a == 7: seven = seven + 1; if b == 5: five = five + 1; elif b == 7: seven = seven + 1; if c == 5: five = five + 1; elif c == 7: seven = seven + 1; if five == 2 and seven == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpom1gccgw/tmphblf_nk9.py", line 1, in <module> a, b, c = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s404374393
p04043
u227379863
1545918599
Python
Python (3.4.3)
py
Runtime Error
18
3064
725
H, W, A, B = map(int, input().split()) answer = 0 mod = 1000000007 factorial = [1] for n in range(1, H+W): factorial.append(factorial[n-1]*n%mod) def power(x, y): if y == 0: return 1 elif y == 1: return x % mod elif y % 2 == 0: return power(x, y/2)**2%mod else: return power(x, y/2)**2*x%mod inverseFactorial = [0] * (H+W) inverseFactorial[H+W-1] = power(factorial[H+W-1], mod-2) for n in range(H+W-2, -1, -1): inverseFactorial[n] = inverseFactorial[n+1] * (n+1) % mod def combi(n, m): return factorial[n] * inverseFactorial[m] *inverseFactorial[n-m]%mod for i in range(B+1, W+1): answer = (answer + combi(H-A-2+i, i-1)*combi(A+W-i-1,W-i)) % mod print(answer)
Traceback (most recent call last): File "/tmp/tmpsihcs639/tmpfx135aaq.py", line 1, in <module> H, W, A, B = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s706924978
p04043
u236127431
1545839299
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38256
101
A=sorted([int(i) for i in input().split()]) if A==[5,5,7]: print(“YES”) else: print(“NO”)
File "/tmp/tmpfz4u2jzc/tmpg6tw503k.py", line 3 print(“YES”) ^ SyntaxError: invalid character '“' (U+201C)
s389995622
p04043
u371467115
1545696894
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
n,l=map(int,input().split()) s=[input() for i in range(n)] S="".join(sorted(s)) print(S)
Traceback (most recent call last): File "/tmp/tmp78wcfznn/tmpoltvovf3.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s703162244
p04043
u371467115
1545696212
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
n,l=map(int,input().split()) s=[input() for i in range(n)] print("".join(sorted(s)))
Traceback (most recent call last): File "/tmp/tmpd298fsip/tmpbdpxfk4v.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s130795606
p04043
u371467115
1545695847
Python
Python (3.4.3)
py
Runtime Error
19
2940
85
n,l=map(int,input().split()) s=[input() for i in range(n)] s.sort() print("".join(s))
Traceback (most recent call last): File "/tmp/tmpes6h1umj/tmpybs1h4ac.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s302068856
p04043
u371467115
1545694898
Python
Python (3.4.3)
py
Runtime Error
18
2940
84
n,l=map(int,input().split()) s=[input() for i in range(n)] s.sort print("".join(s))
Traceback (most recent call last): File "/tmp/tmppqn0chwg/tmpp6qi1_1i.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s732874707
p04043
u371467115
1545694877
Python
Python (3.4.3)
py
Runtime Error
17
2940
84
n,l=map(int,input().split()) s=[input() for i in range(n)] s.sort print("".join(s))
Traceback (most recent call last): File "/tmp/tmp892wi65c/tmptjl5y43u.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s186039614
p04043
u709630872
1545676342
Python
Python (3.4.3)
py
Runtime Error
17
2940
136
L, N = list(map(int, input().split())) S = [input() for i in range(N)] S.sort() ans = ""; for j in range(N): ans += S[j] print(ans)
Traceback (most recent call last): File "/tmp/tmp0v1ahmnd/tmp4sosv5jh.py", line 1, in <module> L, N = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s863043680
p04043
u227379863
1545623577
Python
Python (3.4.3)
py
Runtime Error
17
2940
111
N, L = map(int, input().split()) S = [] for i in range(N): S.append(input()) S.sort() S = ''.join(S) print(S)
Traceback (most recent call last): File "/tmp/tmpy5l9prp0/tmpn1lu2arj.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s755823037
p04043
u227379863
1545621276
Python
Python (3.4.3)
py
Runtime Error
19
3064
318
flag = False a = input().split(' ') for i in range(3): a[i]=int(a[i]) while True: for i in range(3): if a[i] != 5 and a[i] != 7: print('NO') frag = True break if frag == True: print(2) break if a[0] + a[1] + a[2] == 17: print('YES') break else: print('NO') break
Traceback (most recent call last): File "/tmp/tmp2o2hlcay/tmp3sq15u6g.py", line 2, in <module> a = input().split(' ') ^^^^^^^ EOFError: EOF when reading a line
s630198982
p04043
u227379863
1545619942
Python
Python (3.4.3)
py
Runtime Error
18
2940
198
a = input().split(' ') while True: for i in renge(3): if a[i] != 5 or a[i] != 7: print('NO') break if a[0] + a[1] + a[2] == 17: print('YES') break print('NO') break
Traceback (most recent call last): File "/tmp/tmpz5oql7_6/tmpujbwylls.py", line 1, in <module> a = input().split(' ') ^^^^^^^ EOFError: EOF when reading a line
s828747716
p04043
u794707792
1545342912
Python
Python (3.4.3)
py
Runtime Error
18
3060
257
n, k = map(int, input().split()) a = [int(x) for x in input().split()] while True: s = str(n) poss = False for i in s: if int(i) in a: poss = True break if not poss: print(n) exit(0) n += 1
Traceback (most recent call last): File "/tmp/tmpx88qyf9z/tmp0pmc1qqi.py", line 1, in <module> n, k = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s653656516
p04043
u371467115
1545294706
Python
Python (3.4.3)
py
Runtime Error
18
2940
90
N,L=map(int,input().split()) s=[input() for i in range(N)] s=sorted(s) print("".join(s))
Traceback (most recent call last): File "/tmp/tmp6dos8mm6/tmp7ljx0rt5.py", line 1, in <module> N,L=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s058850197
p04043
u278670845
1545245746
Python
PyPy3 (2.4.0)
py
Runtime Error
180
38384
105
n,l = map(int, input().split()) string = [input() for i in range(n)] string.sort() print("".join(string))
Traceback (most recent call last): File "/tmp/tmpk7d2v_st/tmp7rr0oz4a.py", line 1, in <module> n,l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s778101510
p04043
u434208140
1544894860
Python
Python (3.4.3)
py
Runtime Error
19
2940
70
s=input() print('YES' if s=='5 5 7'||s=='5 7 5'||s=='7 5 5' else 'NO')
File "/tmp/tmp03vppr20/tmpkxsey3o1.py", line 2 print('YES' if s=='5 5 7'||s=='5 7 5'||s=='7 5 5' else 'NO') ^^^^^^^^^^^^^^^^^^^ SyntaxError: expected 'else' after 'if' expression
s150460484
p04043
u371467115
1544658601
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
print(["NO","YES"][eval(input().replace(" ","*"))])
Traceback (most recent call last): File "/tmp/tmp_dqm68li/tmpk0pm798j.py", line 1, in <module> print(["NO","YES"][eval(input().replace(" ","*"))]) ^^^^^^^ EOFError: EOF when reading a line
s692920671
p04043
u928784113
1544423288
Python
Python (3.4.3)
py
Runtime Error
17
2940
143
# -*- coding: utf-8 -*- A,B,C=map(int,input().split()) S =set("ABC") T =set("557") if S & T = ("5","5","7"): print("YES") else: print("NO")
File "/tmp/tmp1afvx79s/tmpzn717zvr.py", line 5 if S & T = ("5","5","7"): ^^^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s380161856
p04043
u928784113
1544422872
Python
Python (3.4.3)
py
Runtime Error
18
3188
121
# -*- coding: utf-8 -*- A,B,C=map(int,input().split()) S =[A,B,C] T =[5,5,7] if S = T: print("YES") else: print("NO")
File "/tmp/tmpm3c1yebp/tmpjb6pbyh4.py", line 5 if S = T: ^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s578847857
p04043
u140251125
1544039835
Python
Python (3.4.3)
py
Runtime Error
17
2940
221
# input A = map(int, input().split()) ans1 = 0 ans2 = 0 for i in range(len(A)): if A[i] == 5: ans1 += 1 if A[i] == 7: ans2 += 1 if ans1 == 2 and ans2 == 1: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpf9qgyt_k/tmpzka5xysd.py", line 2, in <module> A = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s095123592
p04043
u140251125
1544039805
Python
Python (3.4.3)
py
Runtime Error
17
3060
221
# input A = map(int, input().split()) ans1 = 0 ans2 = 0 for i in range(len(A)): if A[i] == 5: ans1 += 1 if A[i] == 7: ans2 += 1 if ans1 == 2 and ans2 == 1: print('YES') else: print("NO")
Traceback (most recent call last): File "/tmp/tmpatjlw2ql/tmpc4_qpo72.py", line 2, in <module> A = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s579066715
p04043
u688055251
1543968503
Python
Python (3.4.3)
py
Runtime Error
18
2940
148
a=input() b=input() c=input() w=[a,b,c] e=w.count('5') if '5' and '7' not in w: print ('NO') elif e==2: print ('YES') else: print ('NO')
Traceback (most recent call last): File "/tmp/tmp0bxul3de/tmpue27nrfc.py", line 1, in <module> a=input() ^^^^^^^ EOFError: EOF when reading a line
s384235738
p04043
u688055251
1543968085
Python
Python (3.4.3)
py
Runtime Error
18
2940
549
import sys def solve(a, b, c): # Uncomment the following if you want to check the input. # print('a =', a) # print('b =', b) # print('c =', c) def I(a,b,c): w=[a,b,c] if 5 and 7 not in w: print ('NO') e=w.count(5) if e==2: print ('YES') else: print ('NO') def readQuestion(): ws = sys.stdin.readline().strip().split() a = int(ws[0]) b = int(ws[1]) c = int(ws[2]) return (a, b, c,) def main(): solve(*readQuestion()) # Uncomment before submission main()
File "/tmp/tmpseeskwdh/tmpmnj82gwb.py", line 9 w=[a,b,c] ^ IndentationError: expected an indented block after function definition on line 8
s279804567
p04043
u688055251
1543967939
Python
Python (3.4.3)
py
Runtime Error
18
3064
531
import sys def solve(a, b, c): # Uncomment the following if you want to check the input. # print('a =', a) # print('b =', b) # print('c =', c) w=[a,b,c] if 5 and 7 not in w: return ('NO') e=w.count(5) if e==2: return ('YES') else: return ('NO') def readQuestion(): ws = sys.stdin.readline().strip().split() a = int(ws[0]) b = int(ws[1]) c = int(ws[2]) return (a, b, c,) def main(): solve(*readQuestion()) # Uncomment before submission main()
File "/tmp/tmp0q6rebla/tmprginuz7y.py", line 29 main() TabError: inconsistent use of tabs and spaces in indentation
s823638614
p04043
u688055251
1543967665
Python
Python (3.4.3)
py
Runtime Error
18
2940
531
import sys def solve(a, b, c): # Uncomment the following if you want to check the input. # print('a =', a) # print('b =', b) # print('c =', c) w=[a,b,c] if 5 and 7 not in w: return ('NO') e=w.count(5) if e==2: return ('YES') else: return ('NO') def readQuestion(): ws = sys.stdin.readline().strip().split() a = int(ws[0]) b = int(ws[1]) c = int(ws[2]) return (a, b, c,) def main(): solve(*readQuestion()) # Uncomment before submission main()
File "/tmp/tmpaoyzg17q/tmp2qv7h2w1.py", line 29 main() ^ IndentationError: unindent does not match any outer indentation level
s541348048
p04043
u440191278
1543965996
Python
Python (3.4.3)
py
Runtime Error
18
3064
522
def solve(a,b,c): li = [a,b,c] cf = 0 cs = 0 for i in li: if i == 5: cf +=1 if i==7: cs +=1 if cf == 2 and cs ==1: return YES else: return NO def readQuestion(): line = sys.stdin.readline().rstrip() [str_a, str_b, str_c] = line.split(' ') return (int(str_a), int(str_b), int(str_c)) def main(): a, b, c = readQuestion() answer = solve(a, b, c) print(answer) if __name__ == '__main__': main()
Traceback (most recent call last): File "/tmp/tmp4o116af5/tmpdup1amv1.py", line 26, in <module> main() ^^^^^^ File "/tmp/tmp4o116af5/tmpdup1amv1.py", line 21, in main a, b, c = readQuestion() ^^^^^^^^^^^^^^ File "/tmp/tmp4o116af5/tmpdup1amv1.py", line 16, in readQuestion line = sys.stdin.readline().rstrip() ^^^ NameError: name 'sys' is not defined
s173136846
p04043
u886366470
1543803374
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
l = input.split() if l.count('5')==2 and '7' in l: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpion7jbdo/tmptcwj7hil.py", line 1, in <module> l = input.split() ^^^^^^^^^^^ AttributeError: 'builtin_function_or_method' object has no attribute 'split'
s501032990
p04043
u553605501
1543735115
Python
Python (3.4.3)
py
Runtime Error
17
3060
174
a,b,c=map(int,input().split()) if(((a==5)or(a==7)) and ((b==5)or(b==7)) and ((c==5)or(c==7))): if(a+B+c==17): print("YES") else: print("NO") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpi936l674/tmpyeuqmq7l.py", line 1, in <module> a,b,c=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s282045491
p04043
u553605501
1543735040
Python
Python (3.4.3)
py
Runtime Error
18
2940
172
a,b,c=map(int,input().split()) if(((a==5)or(a==7)) and ((b==5)or(b==7)) and ((c==5)or(c==7))): ifa+B+c==17: print("YES") else: print("NO") else: print("NO")
File "/tmp/tmpcmjfzxg1/tmp0o20z77r.py", line 3 ifa+B+c==17: ^ SyntaxError: invalid syntax
s790011490
p04043
u553605501
1543735014
Python
Python (3.4.3)
py
Runtime Error
17
2940
166
a,b,c=map(int,input().split()) if(((a==5)or(a==7)) and ((b==5)or(b==7)) and ((c==5)or(c==7))): ifa+B+c==17: print(YES) else: print(NO) else: print(NO)
File "/tmp/tmp8d6egfxy/tmp6pslxgkj.py", line 3 ifa+B+c==17: ^ SyntaxError: invalid syntax
s195074100
p04043
u009249232
1543710678
Python
Python (3.4.3)
py
Runtime Error
18
2940
228
text = input().split() if len(text[0]) + len(text[1]) + len(text[2]) != 17: print("NO") elif len(text[0]) != 5 || len(text[0]) != 7: print("NO") elif len(text[1]) != 5 || len(text[1]) != 7: print("NO") else: print("YES")
File "/tmp/tmpngw6bmck/tmp_07lp6jg.py", line 4 elif len(text[0]) != 5 || len(text[0]) != 7: ^ SyntaxError: invalid syntax
s140402063
p04043
u869728296
1541622259
Python
Python (3.4.3)
py
Runtime Error
18
2940
227
a=input() b=[int(i) for i in a] if(b[0]==5 and b[1]==5 and b[2]==7): print("YES") elif(b[1]==5 and b[2]==5 and b[0]==7) print("YES") elif(b[2]==5 and b[0]==5 and b[1]==7) print("YES") else: print("NO")
File "/tmp/tmpm0pbm23n/tmpdwi3s_jw.py", line 7 elif(b[1]==5 and b[2]==5 and b[0]==7) ^ SyntaxError: expected ':'
s003100930
p04043
u475018333
1541581898
Python
Python (3.4.3)
py
Runtime Error
17
2940
149
n, l = map(int, input().split()) l = [] i = 0 l = [input() for i in range(n)] result = sorted(l) s = ''.join(result) # for i in range(n): print(s)
Traceback (most recent call last): File "/tmp/tmpuq46ubt6/tmpbiubcwfh.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s008493045
p04043
u397531548
1541538809
Python
Python (3.4.3)
py
Runtime Error
17
3060
116
X={int(input()),int(input()),int(input())} if X in [{5,5,7},{5,7,5},{7,5,5}]: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpcdv79s5n/tmpxd3dxqjr.py", line 1, in <module> X={int(input()),int(input()),int(input())} ^^^^^^^ EOFError: EOF when reading a line
s850942154
p04043
u475018333
1541374180
Python
Python (3.4.3)
py
Runtime Error
17
2940
539
a,b,c= map(int,input().split()) if a==5: if b==5: if c==7: return print("YES") else: return print("NO") elif b==7: if c==5: return print("YES") else: return print("NO") elif a==7: if b==5: if c==7: return print("YES") else: return print("NO") elif : return print("NO") else: return print("NO") judge()
File "/tmp/tmpant9png_/tmp9q7lszr9.py", line 3 if a==5: IndentationError: unexpected indent
s924839619
p04043
u432805419
1540867771
Python
Python (3.4.3)
py
Runtime Error
17
2940
116
a = map(int,input().split()) a.sort() if a[0] == 5: if a[1] == 7: if a[2] == 5: print("YES") print("NO")
Traceback (most recent call last): File "/tmp/tmpq2ss0ahu/tmpevgpj9wa.py", line 1, in <module> a = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s672488797
p04043
u370793182
1540231753
Python
Python (3.4.3)
py
Runtime Error
17
2940
212
num = list(map(int, input().strip(" "))) five = 0; seven = 0; for i in range(3): if (num[i]==5): five++; elif (num[i] == 7): seven++; if (five == 2 and seven == 1): print("Yes") else: print("no")
File "/tmp/tmp35n1uqcq/tmpk9p9fee1.py", line 6 five++; ^ SyntaxError: invalid syntax
s436166956
p04043
u370793182
1540231634
Python
Python (3.4.3)
py
Runtime Error
16
2940
189
a = input().strip(" ") five = 0; seven = 0; for i in range(3): if (a[i]==5): five++; elif (a[i] == 7): seven++; if (five == 2 and seven == 1): print("Yes") else: print("no")
File "/tmp/tmp5s0hc31r/tmpq5ul75e2.py", line 6 five++; ^ SyntaxError: invalid syntax
s478917935
p04043
u131405882
1540070049
Python
Python (3.4.3)
py
Runtime Error
17
2940
199
A, B, C = map(int, raw_input().split()) if (A != 5 and A!=7): print('NO') if (B != 5 and B!=7): print('NO') if (C != 5 and C!=7): print('NO') if(A + B + C != 17): print('NO') else: print('YES')
Traceback (most recent call last): File "/tmp/tmpfyuxys66/tmpv_jr0tou.py", line 1, in <module> A, B, C = map(int, raw_input().split()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s927845359
p04043
u094191970
1539613963
Python
Python (3.4.3)
py
Runtime Error
17
2940
123
A = int(input()) B = int(input()) C = int(input()) if A+B+C == 17 and A*B*C == 175: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpi6i48dp_/tmp_h7xjx_t.py", line 1, in <module> A = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s566470617
p04043
u832039789
1539303196
Python
Python (3.4.3)
py
Runtime Error
17
2940
153
n,k=map(int,input().split());d=input().split() while 1: for c in str(n): if c in d:break else: print(n) exit() n += 1
Traceback (most recent call last): File "/tmp/tmp3z5flwkm/tmpwxduczun.py", line 1, in <module> n,k=map(int,input().split());d=input().split() ^^^^^^^ EOFError: EOF when reading a line
s569240875
p04043
u832039789
1539296762
Python
Python (3.4.3)
py
Runtime Error
17
2940
94
l = sort(list(map(int,input().split()))) if l==[5,5,7]: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpyhgpamsz/tmp9wadtbg0.py", line 1, in <module> l = sort(list(map(int,input().split()))) ^^^^ NameError: name 'sort' is not defined. Did you mean: 'sorted'?
s620056098
p04043
u063052907
1538249862
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
#coding: utf-8 s = input() print(["NO", "YES"][s.count("5")==2 * s.count("7")==1]
File "/tmp/tmpo7b_heyg/tmptl1mtaww.py", line 3 print(["NO", "YES"][s.count("5")==2 * s.count("7")==1] ^ SyntaxError: '(' was never closed
s112559277
p04043
u498486375
1537060706
Python
Python (3.4.3)
py
Runtime Error
17
3060
245
N,x=map(int,input().split()) a=list(map(int, input().split())) a.sort() m=0 i=0 if a[0]>x: print(0) else: while m<=x and i<N: m += a[i] i +=1 if i==N and m!=x: i -=1 print(i) else: print(i)
Traceback (most recent call last): File "/tmp/tmphmn766mn/tmp1yfvcvfj.py", line 1, in <module> N,x=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s557817881
p04043
u484460274
1536916669
Python
Python (3.4.3)
py
Runtime Error
16
2940
508
#include <iostream> #include <math.h> #include <vector> #include <map> #include <stack> #include <queue> #include <set> #include <algorithm> #include <iomanip> #include <string.h> #define FOR(i,a,b) for(int i=(a);i<(b);++i) #define REP(i,n) FOR(i,0,n) #define ALL(a) (a).begin(),(a).end() typedef long long lint; using namespace std; int main(){ int A[3]; int B[3]={5,5,7}; cin>>A[0]>>A[1]>>A[2]; sort(A,A+3); if(memcmp(A,B,sizeof A))cout<<"NO"<<endl; else cout<<"YES"<<endl; return 0; }
File "/tmp/tmp3o82hwlk/tmpes76ye1s.py", line 16 typedef long long lint; ^^^^ SyntaxError: invalid syntax
s662751815
p04043
u932465688
1536894247
Python
Python (3.4.3)
py
Runtime Error
17
2940
105
P = list(input().split()) if (P.count('5') == 2 and P.count('7') == 1): print('YES') else: prit('NO')
Traceback (most recent call last): File "/tmp/tmpaheg3jkh/tmp_u0yemsn.py", line 1, in <module> P = list(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s583491419
p04043
u534028046
1536030700
Python
Python (3.4.3)
py
Runtime Error
18
3064
997
num1 = int(input("整数値を入力してください>")) while num1<1 or num1>10: print("1~10の整数値を入力してください") num1 = int(input("整数値を入力してください>")) num2 = int(input("整数値を入力してください>")) while num2<1 or num2>10: print("1~10の整数値を入力してください") num2 = int(input("整数値を入力してください>")) num3 = int(input("整数値を入力してください>")) while num3<1 or num3>10: print("1~10の整数値を入力してください") num3 = int(input("整数値を入力してください>")) if num1 == 7 : if num2 == num3 and num2 == 5 : print("YES") else : print("NO") elif num2 == 7 : if num1 == num3 and num1 == 5 : print("YES") else : print("NO") elif num3 == 7 : if num1 == num2 and num1 == 5 : print("YES") else : print("NO") else : print("NO")
Traceback (most recent call last): File "/tmp/tmprdwjfwvb/tmp435t0ais.py", line 1, in <module> num1 = int(input("整数値を入力してください>")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ EOFError: EOF when reading a line
整数値を入力してください>
s577868857
p04043
u534028046
1536030442
Python
Python (3.4.3)
py
Runtime Error
17
3064
997
num1 = int(input("整数値を入力してください>")) while num1<1 or num1>10: print("1~10の整数値を入力してください") num1 = int(input("整数値を入力してください>")) num2 = int(input("整数値を入力してください>")) while num2<1 or num2>10: print("1~10の整数値を入力してください") num2 = int(input("整数値を入力してください>")) num3 = int(input("整数値を入力してください>")) while num3<1 or num3>10: print("1~10の整数値を入力してください") num3 = int(input("整数値を入力してください>")) if num1 == 7 : if num2 == num3 and num2 == 5 : print("YES") else : print("NO") elif num2 == 7 : if num1 == num3 and num1 == 5 : print("YES") else : print("NO") elif num3 == 7 : if num1 == num2 and num1 == 5 : print("YES") else : print("NO") else : print("NO")
Traceback (most recent call last): File "/tmp/tmpzxo5khl4/tmpy2qcy242.py", line 1, in <module> num1 = int(input("整数値を入力してください>")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ EOFError: EOF when reading a line
整数値を入力してください>
s261662744
p04043
u534028046
1536030024
Python
Python (3.4.3)
py
Runtime Error
18
3060
530
num1 = int(input("整数値を入力してください>")) num2 = int(input("整数値を入力してください>")) num3 = int(input("整数値を入力してください>")) if num1 == 7 : if num2 == num3 and num2 == 5 : print("YES") else : print("NO") elif num2 == 7 : if num1 == num3 and num1 == 5 : print("YES") else : print("NO") elif num3 == 7 : if num1 == num2 and num1 == 5 : print("YES") else : print("NO") else : print("NO")
Traceback (most recent call last): File "/tmp/tmpu9_84u88/tmpd5usy7gd.py", line 1, in <module> num1 = int(input("整数値を入力してください>")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ EOFError: EOF when reading a line
整数値を入力してください>
s275924353
p04043
u601082779
1535992119
Python
Python (3.4.3)
py
Runtime Error
17
2940
13
/7 7/cNO cYES
File "/tmp/tmprn2agif4/tmpo4mt3jj_.py", line 1 /7 7/cNO ^ SyntaxError: invalid syntax
s061959290
p04043
u601082779
1535991788
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
print("YES"if input().count(7)==1else"NO")
/tmp/tmp3dr1w8yy/tmpw1ew04b4.py:1: SyntaxWarning: invalid decimal literal print("YES"if input().count(7)==1else"NO") Traceback (most recent call last): File "/tmp/tmp3dr1w8yy/tmpw1ew04b4.py", line 1, in <module> print("YES"if input().count(7)==1else"NO") ^^^^^^^ EOFError: EOF when reading a line
s263763621
p04043
u328755070
1535849805
Python
Python (3.4.3)
py
Runtime Error
16
2940
131
a, b, c = list(map(int, input().split())) if (a + b + c == 17) && (a * b * c == 5 * 5 * 7): print("YES") else: print("NO")
File "/tmp/tmpei7ttzoe/tmp0j_zxjj2.py", line 3 if (a + b + c == 17) && (a * b * c == 5 * 5 * 7): ^ SyntaxError: invalid syntax
s551610583
p04043
u328755070
1535849767
Python
Python (3.4.3)
py
Runtime Error
30
2940
127
a, b, c = list(map(int, input().split())) if a + b + c == 17 && a * b * c == 5 * 5 * 7: print("YES") else: print("NO")
File "/tmp/tmpu2c11avq/tmpdzx2a83f.py", line 3 if a + b + c == 17 && a * b * c == 5 * 5 * 7: ^ SyntaxError: invalid syntax
s570598832
p04043
u328755070
1535849732
Python
Python (3.4.3)
py
Runtime Error
17
2940
121
a, b, c = map(int, input().split()) if a + b + c == 17 && a * b * c == 5 * 5 * 7: print("YES") else: print("NO")
File "/tmp/tmpo3fks5lv/tmp_spg15n2.py", line 3 if a + b + c == 17 && a * b * c == 5 * 5 * 7: ^ SyntaxError: invalid syntax
s079432435
p04043
u966695411
1535428878
Python
Python (2.7.6)
py
Runtime Error
10
2568
33
print('YNEOS'[input()%18!=17::2])
Traceback (most recent call last): File "/tmp/tmpszdlkyoi/tmp_484ta64.py", line 1, in <module> print('YNEOS'[input()%18!=17::2]) ^^^^^^^ EOFError: EOF when reading a line
s207696800
p04043
u138486156
1535421550
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
a = map(int, input().split()) if a.sort() == [5,5,7]: print('Yes') else: print('No')
Traceback (most recent call last): File "/tmp/tmp2q2d5d1q/tmpawudfnpu.py", line 1, in <module> a = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s064708378
p04043
u136090046
1535217309
Python
Python (3.4.3)
py
Runtime Error
17
3060
316
import itertools n, k = map(int, input().split()) array = {x for x in input().split()} num_array = {str(x) for x in range(10)} like_num = array^num_array res = float("inf") for i in range(1, 100000): tmp = set(list(str(i))) if tmp.issubset(like_num): if n <= i < res: res = i print(res)
Traceback (most recent call last): File "/tmp/tmp2ewo_z3e/tmpbryh_b6f.py", line 3, in <module> n, k = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s925365608
p04043
u759651152
1534217541
Python
Python (3.4.3)
py
Runtime Error
17
3056
213
#-*-coding:utf-8-*- def main(): arry = list(map(int, input().split)) if arry.count(5) == 2 and arry.count(7) == 1: print('YES') else: print('NO') if __name__ == '__main__': main()
Traceback (most recent call last): File "/tmp/tmpurovl0yt/tmp9i71p9_k.py", line 11, in <module> main() File "/tmp/tmpurovl0yt/tmp9i71p9_k.py", line 4, in main arry = list(map(int, input().split)) ^^^^^^^ EOFError: EOF when reading a line
s266058420
p04043
u846150137
1534006980
Python
Python (3.4.3)
py
Runtime Error
17
2940
64
print("YES" if sorted(input().split())==["5","5","7"] else "NO"]
File "/tmp/tmpkwlexkt4/tmp4klecwy6.py", line 1 print("YES" if sorted(input().split())==["5","5","7"] else "NO"] ^ SyntaxError: closing parenthesis ']' does not match opening parenthesis '('
s077585990
p04043
u879870653
1533659272
Python
Python (3.4.3)
py
Runtime Error
17
2940
160
a,b,c =map(int(input().split())) L=[] L.append(a) L.append(b) L.append(c) if L.count(5)==2 and L.count(7)==1 : print("YES") else : print("NO")
Traceback (most recent call last): File "/tmp/tmp2c04_nyn/tmpwp9r6xp2.py", line 1, in <module> a,b,c =map(int(input().split())) ^^^^^^^ EOFError: EOF when reading a line
s403011799
p04043
u599547273
1532884644
Python
Python (3.4.3)
py
Runtime Error
17
2940
81
abc = list(map(int, input())) print("Yes" if sorted(abc) == [5, 5, 7] else "No")
Traceback (most recent call last): File "/tmp/tmpk0fioq9a/tmp12c5im1v.py", line 1, in <module> abc = list(map(int, input())) ^^^^^^^ EOFError: EOF when reading a line
s578460995
p04043
u513081876
1532817763
Python
Python (3.4.3)
py
Runtime Error
17
2940
87
a, b, c = map(int,input().split()) if a+b+c=17: print('YES') else: print('NO')
File "/tmp/tmpwhe_czb3/tmpe_l42_pb.py", line 2 if a+b+c=17: ^^^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s743570408
p04043
u136395536
1531914464
Python
Python (3.4.3)
py
Runtime Error
17
2940
256
A,B,C = (int(i) for i in input().split()) Aaddition = A+B+C if Addition != 17: haiku = False else: if ((A==5 or A==7) and (B==5 or B==7) and (C==5 or C==7)): haiku = True else: haiku = False if haiku: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpxyo98if4/tmpemz7_6pe.py", line 1, in <module> A,B,C = (int(i) for i in input().split()) ^^^^^^^ EOFError: EOF when reading a line
s705083953
p04043
u136395536
1531914343
Python
Python (3.4.3)
py
Runtime Error
17
3060
255
A,B,C = (int(i) for i in input().split()) Aaddition = A+B+C if Addition != 17: haiku = False else: if((A==5 or A==7) and (B==5 or B==7) and (C==5 or C==7) ): haiku = True else: haiku = False if haiku: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp03orowtt/tmpi84j9jyf.py", line 1, in <module> A,B,C = (int(i) for i in input().split()) ^^^^^^^ EOFError: EOF when reading a line
s112816728
p04043
u118147328
1531438301
Python
Python (3.4.3)
py
Runtime Error
17
2940
179
if A = 5 and B = 5 and C = 7: print("YES") elif A = 5 and B = 7 and C = 5: print("YES") elif A = 7 and B = 5 and C = 5: print("YES") else: print("NO")
File "/tmp/tmpzux81c64/tmpi4cbjw90.py", line 1 if A = 5 and B = 5 and C = 7: ^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s144079398
p04043
u395086545
1530470419
Python
Python (3.4.3)
py
Runtime Error
18
3064
865
h, w, lower_bound, left_bound = map(int, input().split()) grid = [[0 for i in range(w)] for j in range(h)] lower_i = h - lower_bound left_i = left_bound for i in range(lower_i, len(grid)): for j in range(0, left_i): grid[i][j] = 1 def count_path(row, col, grid, memo): if memo[row][col] != -1: return memo[row][col] path_count = 0 if grid[row][col] == 1: memo[row][col] = 0 return memo[row][col] if row == h-1 and col == w-1: return 1 if row+1 < len(grid): path_count += count_path(row+1, col, grid, memo) if col+1 < len(grid[0]): path_count += count_path(row, col+1, grid, memo) memo[row][col] = path_count return memo[row][col] path_count = 0 memo = [[-1 for i in range(w)] for j in range(h)] path_count += count_path(0, 0, grid, memo) final_path_count = path_count % (pow(10, 9) + 7) print(final_path_count)
Traceback (most recent call last): File "/tmp/tmpll8yokta/tmp6hj85um1.py", line 1, in <module> h, w, lower_bound, left_bound = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s194189552
p04043
u395086545
1530401132
Python
Python (3.4.3)
py
Runtime Error
17
2940
203
n, k = map(int, input().split()) d = list(map(int, input().split())) for i in range(10*n+2): if i >= n: s = str(i) for j in range(len(s)): if int(s[j]) in d: break print(i)
Traceback (most recent call last): File "/tmp/tmp7t1m33ew/tmpwjeqjo10.py", line 1, in <module> n, k = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s591017204
p04043
u395086545
1530399150
Python
Python (3.4.3)
py
Runtime Error
18
3064
681
n, k = map(int, input().split()) d_list = list(map(int, input().split())) num_list = [0,1,2,3,4,5,6,7,8,9] for d in d_list: num_list.remove(d) final_price = '' def is_dislike_number(number, dislike_list): if number in dislike_list: return True else: return False for i, num in enumerate(str(n)): num = int(num) if is_dislike_number(num, d_list): while num < 10: num += 1 digit = len(str(n)) - i - 1 if not is_dislike_number(str(num), d_list): final_price += str(num) for j in range(digit): final_price += str(num_list[0]) print(final_price) exit() final_price += str(num) print(final_price)
Traceback (most recent call last): File "/tmp/tmpeho8n8oz/tmpsko0e_55.py", line 1, in <module> n, k = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s072358870
p04043
u334066432
1529703269
Python
Python (3.4.3)
py
Runtime Error
17
3064
215
ans=list(map(int,input().split())) dic=[] for x in ans: if(x!=5 or x!=7): print("NO") break else: dic[str(x)]=dic.get(str(x),0)+1 if(dic["5"]!=2 and dic["7"]!=1): print("NO") else: print("YES")
File "/tmp/tmpx5jqpyqp/tmp_3gmzpnv.py", line 8 dic[str(x)]=dic.get(str(x),0)+1 ^ SyntaxError: invalid character ')' (U+FF09)
s746841833
p04043
u334066432
1529703177
Python
Python (3.4.3)
py
Runtime Error
19
3192
233
ans=list(map(int,input().split())) dic=[] for x in ans: if(x!=5 or x!=7): print("NO") break else: dic[str(x)]=dic.get(x,0)+1 if(dic["5"]!=2 and dic["7"]!=1): print("NO") else: print("YES")
File "/tmp/tmpc4_dlif3/tmppq58wdok.py", line 8 dic[str(x)]=dic.get(x,0)+1 ^ SyntaxError: invalid character ',' (U+FF0C)
s730960569
p04043
u333139319
1529601970
Python
Python (3.4.3)
py
Runtime Error
17
2940
127
s=[int(i) for i in input.split()] if len(s)==3 and s.count("5")==2 and s.count("7")==1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpgg9bsupf/tmpqmisb6md.py", line 1, in <module> s=[int(i) for i in input.split()] ^^^^^^^^^^^ AttributeError: 'builtin_function_or_method' object has no attribute 'split'
s924639032
p04043
u114954806
1529123972
Python
Python (3.4.3)
py
Runtime Error
17
2940
141
sorted_lst=sorted(list(map(int,input().split()))) if so_lst[0]==5 and so_lst[1] == 5 and so_lst[2]==7: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpfdgogf76/tmp79qgusu3.py", line 1, in <module> sorted_lst=sorted(list(map(int,input().split()))) ^^^^^^^ EOFError: EOF when reading a line
s278359553
p04043
u205561862
1528827818
Python
Python (3.4.3)
py
Runtime Error
17
2940
90
print(["YES","NO"][bool(len(list(multiset(map(int,input().split()))-multiset([5,5,7]))))])
Traceback (most recent call last): File "/tmp/tmp_26sjd2v/tmpv246cm9n.py", line 1, in <module> print(["YES","NO"][bool(len(list(multiset(map(int,input().split()))-multiset([5,5,7]))))]) ^^^^^^^^ NameError: name 'multiset' is not defined
s552241081
p04043
u205561862
1528827764
Python
Python (3.4.3)
py
Runtime Error
17
2940
81
print(["YES","NO"][bool(len(list(multiset(input().split())-multiset([5,5,7]))))])
Traceback (most recent call last): File "/tmp/tmpomvprtt3/tmp1opax05x.py", line 1, in <module> print(["YES","NO"][bool(len(list(multiset(input().split())-multiset([5,5,7]))))]) ^^^^^^^^ NameError: name 'multiset' is not defined
s331137166
p04043
u205561862
1528827740
Python
Python (3.4.3)
py
Runtime Error
17
2940
79
print(["YES","NO"][bool(len(list(multiset(input.split())-multiset([5,5,7]))))])
Traceback (most recent call last): File "/tmp/tmpw4e6u1lm/tmp6ncxx6ut.py", line 1, in <module> print(["YES","NO"][bool(len(list(multiset(input.split())-multiset([5,5,7]))))]) ^^^^^^^^ NameError: name 'multiset' is not defined
s476017744
p04043
u205561862
1528827601
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
print(["YES","NO"][bool(len([set(input.split())-set([5,5,7])]))])
Traceback (most recent call last): File "/tmp/tmpmblrua5g/tmp4c7pstjy.py", line 1, in <module> print(["YES","NO"][bool(len([set(input.split())-set([5,5,7])]))]) ^^^^^^^^^^^ AttributeError: 'builtin_function_or_method' object has no attribute 'split'
s168520123
p04043
u894440853
1528290843
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
s = input() if s.count("7") == 2 and s.count("5") == 1: print("YES") else: print("NO)
File "/tmp/tmp0vw7vy0l/tmpsb50bjti.py", line 5 print("NO) ^ SyntaxError: unterminated string literal (detected at line 5)
s219297984
p04043
u288087195
1527830605
Python
Python (3.4.3)
py
Runtime Error
17
2940
183
l = map(int, raw_input().split()) a = 0 b = 0 for i in len(l): if l[i] == 5: a = a + 1 elif l[i] == 7: b = b + 1 if (a==2 or b ==1): print("Yes") else: print("No")
Traceback (most recent call last): File "/tmp/tmpfupjrwhs/tmpxfv_4yhx.py", line 1, in <module> l = map(int, raw_input().split()) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s495421219
p04043
u807772568
1527197642
Python
Python (3.4.3)
py
Runtime Error
17
3060
183
da = list(map(int,input(),split())) a = 0 k = 0 for i in range(3): if da[i] == 5: a += 1 elif da[i] == 7: k += 1 if a == 2 and k == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpaotr7mj8/tmp24_8vf09.py", line 1, in <module> da = list(map(int,input(),split())) ^^^^^^^ EOFError: EOF when reading a line
s494375363
p04043
u881612683
1527023345
Python
Python (3.4.3)
py
Runtime Error
17
2940
79
ls = input().strip().split() return (ls.count('7') == 1) and (ls.count('5')==2)
File "/tmp/tmp7dnx_49s/tmp_1223o77.py", line 2 return (ls.count('7') == 1) and (ls.count('5')==2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: 'return' outside function
s127857225
p04043
u709052417
1524985427
Python
Python (3.4.3)
py
Runtime Error
18
3064
399
N, K = map(int, input().split()) D = list(map(int, input().split())) shiharai=N l = [int(x) for x in list(str(N))] c=len(l) for i in range(len(l)): while l[i] in D: shiharai+=1 l = [int(x) for x in list(str(shiharai))] if len(l)!=c: for i in range(len(l)): while l[i] in D: shiharai+=1 l = [int(x) for x in list(str(shiharai))] print(shiharai)
Traceback (most recent call last): File "/tmp/tmp4jygazyf/tmp4_n9jf6y.py", line 1, in <module> N, K = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s462329904
p04043
u745385679
1524971443
Python
Python (3.4.3)
py
Runtime Error
18
2940
174
import sys import defaultdict args = sys.argv dd = defaultdict(int) for arg in args: dd[arg] += 1 if dd[5] == 2 and dd[7] == 1: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpkj1gcnj7/tmpxxwhtyfh.py", line 2, in <module> import defaultdict ModuleNotFoundError: No module named 'defaultdict'
s145047307
p04043
u352499693
1524547998
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
print('YES' if sorted(input()) == [*' 557'] else 'NO')
Traceback (most recent call last): File "/tmp/tmpgpse4k43/tmpel4v5l9s.py", line 1, in <module> print('YES' if sorted(input()) == [*' 557'] else 'NO') ^^^^^^^ EOFError: EOF when reading a line
s851452243
p04043
u352499693
1524547511
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
print('YES' if sorted(input()) == [*' 557'] else 'No')
Traceback (most recent call last): File "/tmp/tmpp8rxxytg/tmpywm6rilq.py", line 1, in <module> print('YES' if sorted(input()) == [*' 557'] else 'No') ^^^^^^^ EOFError: EOF when reading a line
s650644783
p04043
u314219654
1524518557
Python
Python (3.4.3)
py
Runtime Error
17
2940
172
N= list(map(int,input().split())) GO=0 SHICHI=0 For i in N: if i== 5: GO +=1 elif i==7: SHICHI+=1 if GO==2 and SHICHI==1:print("YES") else:print("NO")
File "/tmp/tmpjryjzxj9/tmpis9bkyq7.py", line 6 For i in N: ^ SyntaxError: invalid syntax
s564461192
p04043
u314219654
1524518514
Python
Python (3.4.3)
py
Runtime Error
17
2940
174
N= list(map(int,input().split())) GO=0 SHICHI=0 For i in N: if i== 5: GO +=1 elif i==7: SHICHI+=1 if GO==2 and SHICHI==1:print("YES") else: print("NO")
File "/tmp/tmp8srg98p8/tmpppd7ub_a.py", line 6 For i in N: ^ SyntaxError: invalid syntax
s137349010
p04043
u856232850
1522985219
Python
Python (3.4.3)
py
Runtime Error
17
2940
120
l = map(int, raw_input().split()) if l.count(5) == 2: if l.count(7) ==1: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpuk075swt/tmpj2sdq05o.py", line 1, in <module> l = map(int, raw_input().split()) ^^^^^^^^^ NameError: name 'raw_input' is not defined