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
s243784552
p04043
u260068288
1585112608
Python
Python (3.4.3)
py
Runtime Error
17
2940
67
a=input() print(["No", "Yes"][a.count("5"==2 and a.count("7")==1)])
Traceback (most recent call last): File "/tmp/tmpqinil0ci/tmpm4xytifo.py", line 1, in <module> a=input() ^^^^^^^ EOFError: EOF when reading a line
s987556603
p04043
u260068288
1585112563
Python
Python (3.4.3)
py
Runtime Error
17
2940
67
a=input() print(["Yes", "No"][a.count("5"==2 and a.count("7")==1)])
Traceback (most recent call last): File "/tmp/tmp0dal8pz1/tmp1w85h017.py", line 1, in <module> a=input() ^^^^^^^ EOFError: EOF when reading a line
s748699721
p04043
u678505520
1585008909
Python
Python (3.4.3)
py
Runtime Error
17
2940
13
int A,B,C if
File "/tmp/tmpv32eez5s/tmpytodm332.py", line 1 int A,B,C ^ SyntaxError: invalid syntax
s725914447
p04043
u132974957
1584852669
Python
Python (3.4.3)
py
Runtime Error
18
3064
679
x = int(input("ใฏใ˜ใ‚")) y = int(input("ไธญ")) z = int(input("็ต‚ใ‚ใ‚Š")) if x >= 1 and x <= 10: if x == 5: if y == 5: if z == 7: print("YES") elif z == 5: print("NO") elif y == 7: if z == 5: print("YES") elif z == 7: print("NO") elif x == 7: if y == 5: if z == 5: print("YES") elif z == 5: print("NO") else: print("NO") else: print("NO") else: print("NO") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpuzob5e4v/tmpfa2_6hzv.py", line 1, in <module> x = int(input("ใฏใ˜ใ‚")) ^^^^^^^^^^^^^^^ EOFError: EOF when reading a line
ใฏใ˜ใ‚
s451758894
p04043
u460009487
1584812384
Python
Python (3.4.3)
py
Runtime Error
17
2940
105
A = list(map(int, input().sprit())) ans = sorted(A) if ans == [5,5,7]: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpfqkwf6f8/tmpxnzeomd1.py", line 1, in <module> A = list(map(int, input().sprit())) ^^^^^^^ EOFError: EOF when reading a line
s012491736
p04043
u652710582
1584664687
Python
Python (3.4.3)
py
Runtime Error
17
2940
152
num = [x for x in input().split() ] count5 = num.count5("5") count7 = num.count7("7") if count5 == 2 and count7 == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmphxcee7cf/tmposmibkst.py", line 1, in <module> num = [x for x in input().split() ] ^^^^^^^ EOFError: EOF when reading a line
s443655053
p04043
u652710582
1584662728
Python
Python (3.4.3)
py
Runtime Error
17
3064
129
num = list.input() count1 = num.count(5) count2 = num.count(7) if count1 == 2 and count2 == 7: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpzv3ikajl/tmpiq8o8mkj.py", line 1, in <module> num = list.input() ^^^^^^^^^^ AttributeError: type object 'list' has no attribute 'input'
s970842539
p04043
u420344407
1584557388
Python
Python (3.4.3)
py
Runtime Error
17
2940
256
a, b, c = map(int, input().split()) list_irioha = [a, b, c] count = 0 if a + b + c == 17: for i in list_iroha: if i == 5: count += 1 if count == 2: print("YES") exit() print("NO") exit()
Traceback (most recent call last): File "/tmp/tmpl1ecekkp/tmps84pip8i.py", line 1, in <module> a, b, c = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s636811823
p04043
u223663729
1584555157
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
a = 1 a*= a for a in input().split()
File "/tmp/tmp_fmoxpue/tmpjqho_rqm.py", line 2 a*= a for a in input().split() ^^^ SyntaxError: invalid syntax
s362103484
p04043
u736896213
1584428871
Python
PyPy3 (2.4.0)
py
Runtime Error
178
38256
207
a, b, c = map(int, input().split()) 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/tmpc90kw88f/tmpka6jm4ek.py", line 9 else ^ SyntaxError: expected ':'
s119666483
p04043
u634248565
1584410909
Python
Python (3.4.3)
py
Runtime Error
17
2940
83
x, y, z = input().split() if x + y + z = 17: print ("YES") else: print ("NO")
File "/tmp/tmpv0ieyk4z/tmphk186xpt.py", line 3 if x + y + z = 17: ^^^^^^^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s077768257
p04043
u634248565
1584410856
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
x, y, z = map(int, input().split()) if x + y + z = 17: print ("YES") else: print ("NO")
File "/tmp/tmp72qt8pxa/tmp90yq1y3m.py", line 3 if x + y + z = 17: ^^^^^^^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s551320214
p04043
u016323272
1584391473
Python
Python (3.4.3)
py
Runtime Error
17
3060
229
A= int(input()) B= int(input()) C = int(input()) #575ใ‚’ไฝœใ‚Œใ‚‹ใ‹ๅˆคๅฎš if A == B ==5 and C ==7: print('YES') elif A ==C ==5 and B==7: print('YES') elif A ==7 and B ==C ==5: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpoaf0e_mr/tmp1ch2lkyo.py", line 1, in <module> A= int(input()) ^^^^^^^ EOFError: EOF when reading a line
s205515433
p04043
u828139046
1584319127
Python
Python (3.4.3)
py
Runtime Error
17
2940
238
nums = map(int,input.split()) if nums[0] = 5 and nums[1] = 5 and nums[2] = 7: print('YES') elif nums[0] = 5 and nums[1] = 7 and nums[2] = 5: print('YES') elif nums[0] = 7 and nums[1] = 5 and nums[2] = 5: print('YES') else: print('NO')
File "/tmp/tmpi657opsp/tmpdn23zi33.py", line 2 if nums[0] = 5 and nums[1] = 5 and nums[2] = 7: ^^^^^^^ SyntaxError: cannot assign to subscript here. Maybe you meant '==' instead of '='?
s261151387
p04043
u840807329
1584161448
Python
Python (3.4.3)
py
Runtime Error
17
2940
146
import sys a,b,c = map(int,input().split) if 7 in [a,b,c]: if filter(lambda x:x ==5,[a,b,c]) is 2: print("YES") sys.exit() print("NO")
File "/tmp/tmp7hb2eppm/tmpecrsokyq.py", line 8 sys.exit() ^ IndentationError: unindent does not match any outer indentation level
s215091974
p04043
u082450020
1584160235
Python
Python (3.4.3)
py
Runtime Error
20
3320
21
ใ‚ใ‹ใ‚‰ใชใ„ใงใ™
Traceback (most recent call last): File "/tmp/tmpicdatv8k/tmpptlcpl5w.py", line 1, in <module> ใ‚ใ‹ใ‚‰ใชใ„ใงใ™ NameError: name 'ใ‚ใ‹ใ‚‰ใชใ„ใงใ™' is not defined
s497089146
p04043
u465152652
1583976244
Python
Python (3.4.3)
py
Runtime Error
17
2940
206
num = list(map(int,input().split())) a=0 b=0 for i in range(3): if num[i]==5: a+=1 if num[i]==7: b+=1 if a==2 and b==1: print("YES") else: print("NO")
File "/tmp/tmpx4_1fa21/tmp0lkqsmqt.py", line 1 num = list(map(int,input().split())) IndentationError: unexpected indent
s504946017
p04043
u465152652
1583976169
Python
Python (3.4.3)
py
Runtime Error
17
3060
154
num = list(map(int,input().split())) a=0 b=0 for i in range(3): if num[i]==5: a+=1 if num[i]==7: b+=1 if a==2 and b==1: print(YES) else: print(NO)
Traceback (most recent call last): File "/tmp/tmp005dbx77/tmpftt13hcb.py", line 1, in <module> num = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s954916377
p04043
u288430479
1583974780
Python
Python (3.4.3)
py
Runtime Error
18
3064
126
a,b,c = map(int,input().split()) if (a==b==5 and c==7) or (a==c==5 b==7) or (b==c==5 a==7): print('YES') else: print('NO')
File "/tmp/tmpxpndq8dw/tmpctn1s350.py", line 2 if (a==b==5 and c==7) or (a==c==5 b==7) or (b==c==5 a==7): ^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s224200161
p04043
u576335153
1583780860
Python
PyPy3 (2.4.0)
py
Runtime Error
174
38376
103
l=list(map(int,input().split())) if count(l,5)==2 and count(l,7)==1: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpj3m1a3hf/tmpxd7jbu69.py", line 1, in <module> l=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s015518716
p04043
u576335153
1583780345
Python
PyPy3 (2.4.0)
py
Runtime Error
173
38256
95
list=map(int,input().split()) li=sortrd(list) if li=[5,5,7]: print('YES') else: print('NO')
File "/tmp/tmp8x2zmv1o/tmp1cq_c91c.py", line 3 if li=[5,5,7]: ^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s182982173
p04043
u075595666
1583753659
Python
Python (3.4.3)
py
Runtime Error
17
2940
125
a,b,c = map(int,(input().split())) l = [a,b,c] if int(l.count(5)) == 2 and int(l.count(7)) == 1: print(Yes) else: print(No)
Traceback (most recent call last): File "/tmp/tmp4_n11ruf/tmp_w2bgt44.py", line 1, in <module> a,b,c = map(int,(input().split())) ^^^^^^^ EOFError: EOF when reading a line
s281062177
p04043
u775912090
1583702318
Python
Python (3.4.3)
py
Runtime Error
17
2940
179
a, b, c = map(int, input().split()) if a, b, c == (5, 5, 7): print("YES") elif a, b, c == (5, 7, 5): print("YES") elif a, b, c == (7, 5, 5): print("YES") else: print("NO")
File "/tmp/tmp8upbjhq3/tmpm_2e4gu4.py", line 2 if a, b, c == (5, 5, 7): ^ SyntaxError: invalid syntax
s343936330
p04043
u775912090
1583702264
Python
Python (3.4.3)
py
Runtime Error
16
2940
171
a, b, c = map(int, input().split()) if a, b, c == (5, 5, 7): print(YES) elif a, b, c == (5, 7, 5): print(YES) elif a, b, c == (7, 5, 5): print(YES) else: print(NO)
File "/tmp/tmpxc458dpm/tmp61r24qqe.py", line 2 if a, b, c == (5, 5, 7): ^ SyntaxError: invalid syntax
s682009500
p04043
u775912090
1583702207
Python
Python (3.4.3)
py
Runtime Error
17
2940
171
a, b, c = map(int, input().split()) if a, b, c == (5, 5, 7): print(YES) elif a, b, c == (5, 7, 5): print(YES) elif a, b, c == (7, 5, 5): print(YES) else: pring(NO)
File "/tmp/tmpkw4lxd6v/tmpvswto2k5.py", line 2 if a, b, c == (5, 5, 7): ^ SyntaxError: invalid syntax
s601140760
p04043
u637669066
1583685612
Python
Python (3.4.3)
py
Runtime Error
17
2940
328
if(A == 5): if(B == 5): if(C == 7): print('Yes') else: print('No') elif(B == 7): if(C == 5): print('Yes') else: print('No') else: print('No') elif(A == 7): if(B == 5): if(C == 5): print('Yes') else: print('No') else: print('No') else: print('No')
File "/tmp/tmp1jm4hn1y/tmpk7q9ybx2.py", line 4 print('Yes') ^ IndentationError: unindent does not match any outer indentation level
s836931669
p04043
u428132025
1583669635
Python
PyPy3 (2.4.0)
py
Runtime Error
168
38512
231
n, k = map(int, input().split()) dis = [_ for _ in input().split()] for yen in range(1, 100000): if yen < n: pass else: if len(set(list(str(yen))) & set(dis)) == 0: print(yen) exit()
Traceback (most recent call last): File "/tmp/tmp_kao8z8o/tmp_pfsh4h4.py", line 1, in <module> n, k = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s767195805
p04043
u733382738
1583649174
Python
Python (3.4.3)
py
Runtime Error
17
2940
441
#include<>stdio.h> int main(void) { int a,b,c; int count5 = 0; int count7 = 0; scanf("%d %d %d ",&a,&b,&c); if (a == 5) { cont5++; } elif(a == 7) { count7++; } if (b == 5) { cont5++; } elif(b == 7) { count7++; } if (c == 5) { cont5++; } elif(c == 7) { count7++; } if (count5 == 2 && count7 == 1){ printf("YES \n") } else{ printf("NO \n") } return 0; }
File "/tmp/tmpqaw_yylk/tmptu7r7iid.py", line 3 int main(void) ^^^^ SyntaxError: invalid syntax
s962993473
p04043
u841531687
1583644919
Python
Python (3.4.3)
py
Runtime Error
19
2940
110
str = input().gsub(" ", "") if str.count('5') == 2 and str.count('7') == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp1j_a27t3/tmpegz0zntm.py", line 1, in <module> str = input().gsub(" ", "") ^^^^^^^ EOFError: EOF when reading a line
s922304802
p04043
u123745130
1583636174
Python
Python (3.4.3)
py
Runtime Error
17
2940
111
n=list(map(input().split())) print("YES" if n==["5","7","5"] or n==["7","5","5"] or n==["5","5","7"] else "NO")
Traceback (most recent call last): File "/tmp/tmp865oze3m/tmpy9xxun7i.py", line 1, in <module> n=list(map(input().split())) ^^^^^^^ EOFError: EOF when reading a line
s841488295
p04043
u071361440
1583566748
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
n=int(input()) text=[input() for i in range(n)] print("".join(sorted(text)))
Traceback (most recent call last): File "/tmp/tmp1l4hzvza/tmpuej9rqui.py", line 1, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s385684482
p04043
u071361440
1583566675
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
n=int(input()) text=[input() for i in range(n)] print("".join(sorted(text)))
Traceback (most recent call last): File "/tmp/tmp1k0149ei/tmp41fhn0du.py", line 1, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s362244431
p04043
u465152652
1583557701
Python
Python (3.4.3)
py
Runtime Error
17
2940
202
word = list(input()) #print(word) ['5', '5', '7'] a=0 b=0 for i in range(3): if word[i]==5: a=a+1 for i in range(3): if word[i]==7: b=b+1 if a=2 and b=1: print("YES") else: print("NO")
File "/tmp/tmpr7yd4dyf/tmpolj9jg4d.py", line 7 a=a+1 TabError: inconsistent use of tabs and spaces in indentation
s082757140
p04043
u071002307
1583523703
Python
Python (3.4.3)
py
Runtime Error
17
2940
116
List = map(int, input().split()) if List.count("5")==2 and List.count("7")==1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp6q2eehth/tmpon00c1lq.py", line 1, in <module> List = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s439009237
p04043
u126887629
1583377230
Python
Python (3.4.3)
py
Runtime Error
17
2940
140
num = input().split('') if num == ['5', '7', '5'] or num == ['7', '5', '5'] or num == ['5', '5', '7']: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpjutv7fxr/tmpoynbpz5s.py", line 1, in <module> num = input().split('') ^^^^^^^ EOFError: EOF when reading a line
s761364683
p04043
u842942201
1583305334
Python
Python (3.4.3)
py
Runtime Error
17
2940
160
A = input() B = input() C = input() if(A == B == 5 and C == 7) or (A == C == 5 and B == 7) or (C == B == 5 and A == 7): print(YES) else: print(NO)
Traceback (most recent call last): File "/tmp/tmpmdvivgqo/tmpff04zt83.py", line 1, in <module> A = input() ^^^^^^^ EOFError: EOF when reading a line
s986961043
p04043
u000123984
1583283427
Python
Python (3.4.3)
py
Runtime Error
17
3060
169
n,k = map(str, input().split()) li = list(map(str, input().split())) Li = list(n) while len(set(Li)&set(li)): n = int(n)+1 Li = list(str(n)) else: print("".join(Li))
Traceback (most recent call last): File "/tmp/tmpwdgowga9/tmp3kzvrk6b.py", line 1, in <module> n,k = map(str, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s182038229
p04043
u000123984
1583278843
Python
Python (3.4.3)
py
Runtime Error
17
2940
142
a,b,c = map(int, input().split()) if a=b and b<c: print("YES") elif b=c and c<a: print("YES") elif c=a and a<b: print("YES") else: print("NO")
File "/tmp/tmpp_lzygft/tmpske2blan.py", line 2 if a=b and b<c: print("YES") ^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s471562715
p04043
u000123984
1583278639
Python
Python (3.4.3)
py
Runtime Error
17
2940
94
a,b,c = map(int, input().split()) if (a=b<c or b=c<a or c=a<b): print("YES") else: print("NO")
File "/tmp/tmpgse6d46b/tmp_v41jo5v.py", line 2 if (a=b<c or b=c<a or c=a<b): print("YES") ^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s796751117
p04043
u000123984
1583277836
Python
Python (3.4.3)
py
Runtime Error
18
2940
125
a,b,c = map(str, input().split()) if (a=b or b=c or c=a): if(not a=b=c): print("YES") else: print("NO") else: print("NO")
File "/tmp/tmphp3jpyrw/tmp6r2q6u71.py", line 2 if (a=b or b=c or c=a): ^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s093842334
p04043
u000123984
1583277614
Python
Python (3.4.3)
py
Runtime Error
17
2940
92
a,b,c = input().split() if (a=b or b=c or c=a and not a=b=c): print("YES") else: print("NO")
File "/tmp/tmplgy1au8a/tmpqkmcb9ig.py", line 2 if (a=b or b=c or c=a and not a=b=c): print("YES") ^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s969547465
p04043
u738341948
1583232849
Python
Python (3.4.3)
py
Runtime Error
17
3060
140
n,l = map(int ,input().strip().split()) s = [""]*n for i in range(n): s[i]=input() s.sort() sol = "" for i in s: sol += i print(sol)
Traceback (most recent call last): File "/tmp/tmpwchyq45k/tmpa1c24gw_.py", line 1, in <module> n,l = map(int ,input().strip().split()) ^^^^^^^ EOFError: EOF when reading a line
s452621272
p04043
u738341948
1583232629
Python
Python (3.4.3)
py
Runtime Error
18
3060
123
n,l = map(int ,input()) s = [""]*n for i in range(n): s[i]=input() s.sort() sol = "" for i in s: sol +=i print(sol)
Traceback (most recent call last): File "/tmp/tmpp25vmfo1/tmpkpob0rx1.py", line 1, in <module> n,l = map(int ,input()) ^^^^^^^ EOFError: EOF when reading a line
s764098123
p04043
u646014827
1583174655
Python
Python (3.4.3)
py
Runtime Error
17
3056
190
def main(): print("aaa") a = list(input()) a = [int(aa) for aa in a] a = sorted(a) if a==[5,7,7]: return "YES" else: return "NO" if __name__ == "__main__": main()
Traceback (most recent call last): File "/tmp/tmpewqdw6w_/tmpmotzga7u.py", line 13, in <module> main() File "/tmp/tmpewqdw6w_/tmpmotzga7u.py", line 3, in main a = list(input()) ^^^^^^^ EOFError: EOF when reading a line
aaa
s165057557
p04043
u646014827
1583174475
Python
Python (3.4.3)
py
Runtime Error
17
2940
67
def main(a): print("aaa") if __name__ == "__main__": main(a)
Traceback (most recent call last): File "/tmp/tmptyipdsv_/tmpp7q_06yx.py", line 5, in <module> main(a) ^ NameError: name 'a' is not defined
s218798104
p04043
u238605674
1583111377
Python
Python (3.4.3)
py
Runtime Error
17
2940
142
I=input().split() c5=0 c7=0 for i in I: if i=="5": c5+=1 elif i=="7": c7+=1 if c5==2 and c7=1: print("YES") else: print("NO")
File "/tmp/tmpnieawayj/tmpeyqryvgm.py", line 10 if c5==2 and c7=1: ^ SyntaxError: invalid syntax
s717074155
p04043
u629557958
1582923608
Python
Python (3.4.3)
py
Runtime Error
17
2940
91
n, l = map(int, input().split()) a = [input() for _ in range(n)] a.sort() print("".join(a))
Traceback (most recent call last): File "/tmp/tmpofne8ip9/tmptvp5vrqt.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s937174622
p04043
u922116677
1582872647
Python
Python (3.4.3)
py
Runtime Error
17
2940
211
a = int(input("A:")) b = int(input("B:")) c = int(input("C:")) con_1 = a + b + c == 17 con_2 = 1 <= a, b, c <= 10 if con_1: if con_2: print("yes") else: print("no") else: print("no")
Traceback (most recent call last): File "/tmp/tmp85lq7w84/tmpmgh62_g6.py", line 1, in <module> a = int(input("A:")) ^^^^^^^^^^^ EOFError: EOF when reading a line
A:
s121528818
p04043
u922116677
1582830983
Python
Python (3.4.3)
py
Runtime Error
17
3060
198
a = int(input("A:")) b = int(input("B:")) c = int(input("C:")) con_1 = a + b + c == 17 con_2 = 1 <= a, b, c con_3 = a, b, c <= 10 if con_1 and con_2 and con_3: print("yes") else: print("no")
Traceback (most recent call last): File "/tmp/tmpav05i748/tmpgv3n3ryx.py", line 1, in <module> a = int(input("A:")) ^^^^^^^^^^^ EOFError: EOF when reading a line
A:
s609274392
p04043
u257251421
1582817682
Python
Python (3.4.3)
py
Runtime Error
18
3064
266
n = 0 for i in range(10): n += c[i] if n > 3: cnt += math.floor(n / 4) print(cnt) # A, B, C = map(int, input().split()) L = [] for i in A,B,C: L.append(i) Ls = sorted(L) if Ls[0] == 5 and Ls[1] == 5 and Ls[2] == 7: print("Yes") else: print("No")
Traceback (most recent call last): File "/tmp/tmp4nir1rc_/tmpyeaeumov.py", line 3, in <module> n += c[i] ^ NameError: name 'c' is not defined
s345953185
p04043
u161777729
1582697437
Python
Python (3.4.3)
py
Runtime Error
17
2940
219
n,k = map(int,input().split()) l = list(input().split()) for i in range(n,n+10001): chk = True for st in list(str(i)): if st in l: chk = False if chk: print(i) exit()
Traceback (most recent call last): File "/tmp/tmp043maw5_/tmpf8vww0y9.py", line 1, in <module> n,k = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s213288163
p04043
u634248565
1582599553
Python
Python (3.4.3)
py
Runtime Error
17
2940
181
number1 = raw_input () number2 = raw_input () number3 = raw_input () if number1 + number2 + number3 == 12: print ('YES') if number1 + number2 + number3 != 12: print ('NO')
Traceback (most recent call last): File "/tmp/tmp1mg5ajx4/tmpvymguo02.py", line 1, in <module> number1 = raw_input () ^^^^^^^^^ NameError: name 'raw_input' is not defined
s718837266
p04043
u634248565
1582599500
Python
Python (3.4.3)
py
Runtime Error
20
2940
181
number1 = raw_input () number2 = raw_input () number3 = raw_input () if number1 + number2 + number3 == 12: print ('yes') if number1 + number2 + number3 != 12: print ('no')
Traceback (most recent call last): File "/tmp/tmpuy123hw7/tmph0rxobsb.py", line 1, in <module> number1 = raw_input () ^^^^^^^^^ NameError: name 'raw_input' is not defined
s788932099
p04043
u634248565
1582599447
Python
PyPy3 (2.4.0)
py
Runtime Error
180
38896
180
number1 = raw_input () number2 = raw_input () number3 = raw_input () if number1 + number2 + number3 == 12: print ('yes') if number1 + number2 + number3 != 12: print ('no')
Traceback (most recent call last): File "/tmp/tmprdetknss/tmpzk08uxvw.py", line 1, in <module> number1 = raw_input () ^^^^^^^^^ NameError: name 'raw_input' is not defined
s058500924
p04043
u090198186
1582522430
Python
Python (3.4.3)
py
Runtime Error
18
3064
696
import sys import itertools readline = lambda:sys.stdin.readline().rstrip() N,K = readline().split() dd = {int(s) for s in readline().split()} table = [None] * 10 a = 10 for i in range(9,-1,-1): if i not in dd: a = i table[i] = a nn = [int(n) for n in N] mm = [table[n] for n in nn] tab_min = min(x for x in table if x>0) tab_zero = table[0] if mm[0]==10: print(tab_min, end='') for z in itertools.repeat(tab_zero, len(mm)-1): print(z, end='') else: for z,c in zip(mm, mm[1:]+[0]): if c==10: print(min(tab_min, z), end='') elif z==10: print(tab_zero, end='') else: print(z, end='') print()
Traceback (most recent call last): File "/tmp/tmp5b3yatbh/tmpbl00ixtq.py", line 4, in <module> N,K = readline().split() ^^^ ValueError: not enough values to unpack (expected 2, got 0)
s837403842
p04043
u068584789
1582488215
Python
Python (3.4.3)
py
Runtime Error
16
2940
125
words = list(map(int, input().split()) if words.count(7) == 1 and words.count(5) == 2: print('YES') else: print('NO')
File "/tmp/tmpldtlwy5w/tmpy_md8ogb.py", line 1 words = list(map(int, input().split()) ^ SyntaxError: '(' was never closed
s163491092
p04043
u629560745
1582484181
Python
Python (3.4.3)
py
Runtime Error
17
2940
115
s = int(input().split()) s.sort() if s[0] == 5 and s[1] == 5 and s[2] == 7: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpnncjxvgy/tmpygy9b86b.py", line 1, in <module> s = int(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s772495340
p04043
u734936991
1582409099
Python
Python (3.4.3)
py
Runtime Error
17
3060
390
#!/use/bin/env python3 (n, k) = [int(s) for s in input().split()] a = [int(s) for s in input().split()] like = [] ans = n while (1): c = True for ii in range(0, 4): b = n // pow(10, ii) d = b % 10 if b == 0: break if d in a: c = False break if (c): ans = n break n += 1 print(ans)
Traceback (most recent call last): File "/tmp/tmp1hdwdccg/tmpnph75gda.py", line 3, in <module> (n, k) = [int(s) for s in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s578829729
p04043
u859364709
1582242878
Python
Python (3.4.3)
py
Runtime Error
17
2940
114
hoge = list(map(int, input().split())) huga = sorted(hoge) if huga == [5,5,7]: print("YES") elif: print("NO")
File "/tmp/tmpu3m48toe/tmp7jk2z9oy.py", line 5 elif: ^ SyntaxError: invalid syntax
s489089792
p04043
u859364709
1582242408
Python
Python (3.4.3)
py
Runtime Error
17
2940
112
hoge = list(map(int, input().split())) huga = hoge.sort() if huga == [5,5,7]: print("YES") elif: print("NO")
File "/tmp/tmpdw5oxdv3/tmpxmlm_li2.py", line 5 elif: ^ SyntaxError: invalid syntax
s197312564
p04043
u766566560
1582080891
Python
Python (3.4.3)
py
Runtime Error
17
2940
121
phrases = map(int, input().split()) phrases.sort(reverse=True) if phrases == [7,5,5]: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmp9si8rb0o/tmpfukut4dt.py", line 1, in <module> phrases = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s045975856
p04043
u031118696
1582060857
Python
Python (3.4.3)
py
Runtime Error
17
2940
126
A, B, C = map(int, input().split()) if A * B * C % 175 == 0 and sum(A + B + C) == 17: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp3exlrzrp/tmptdheew6v.py", line 1, in <module> A, B, C = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s254592831
p04043
u405256066
1582012570
Python
Python (3.4.3)
py
Runtime Error
17
2940
141
A,B,C = list(map(int(),input().split())) d = sorted([A,B,C]) if d[0] == 5 and d[1] == 5 and d[2] == 7: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpqnure0u8/tmpy089v67c.py", line 1, in <module> A,B,C = list(map(int(),input().split())) ^^^^^^^ EOFError: EOF when reading a line
s110983730
p04043
u419963262
1581740626
Python
Python (3.4.3)
py
Runtime Error
17
2940
94
A=list(map(input().split())) ans=sorted(A) if ans==[5,5,7]: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmplpy_rz1e/tmpmehqohmu.py", line 1, in <module> A=list(map(input().split())) ^^^^^^^ EOFError: EOF when reading a line
s277360803
p04043
u374082254
1581444839
Python
Python (3.4.3)
py
Runtime Error
17
2940
120
N, L = [int(i) for i in input().split()] S = [] for s in range(0, N): S.append(input()) S.sort() print(''.join(S))
Traceback (most recent call last): File "/tmp/tmpovjk6bhr/tmpdrmrjb2s.py", line 1, in <module> N, L = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s797550522
p04043
u012179538
1581378095
Python
Python (3.4.3)
py
Runtime Error
17
3060
258
a = int(input()) b = int(input()) c = int(input()) flag = bool if a == 5 and b ==7 and c==5: flag = True if a ==7 and b==5 and c == 5: flag = True if a ==5 and b==5 and c == 7: flag = True if flag == True: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmppnqwzosd/tmpjlgv1536.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s743686539
p04043
u630027862
1581288467
Python
Python (3.4.3)
py
Runtime Error
17
2940
102
A, B, C = map(int, input().split()) if A * B * C == 5 * 5 * 7: print('Yes') else: pritn('No')
Traceback (most recent call last): File "/tmp/tmprbofeppd/tmpefd4kwav.py", line 1, in <module> A, B, C = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s447439232
p04043
u772649753
1581279792
Python
Python (3.4.3)
py
Runtime Error
17
2940
252
if A == 5: if B == 5: if C == 7: print(YES) else: print(NO) else if B == 7: if C == 5: print(YES) else: print(NO) else: print(NO) else if A == 7: if B == 5 and C == 5: print(YES) else: print(NO)
File "/tmp/tmp039cdxtq/tmp75biy3m7.py", line 7 else if B == 7: ^^ SyntaxError: expected ':'
s706275986
p04043
u885440767
1580942463
Python
Python (3.4.3)
py
Runtime Error
17
3060
243
n, k = map(int,input().split()) d = list(map(str, input().split())) while(n>0): S = str(n) t = 0 for i in S: if i not in d: t += 1 if t == len(S): print(int(S)) break else: n += 1
Traceback (most recent call last): File "/tmp/tmpjz1i9541/tmpghb3_4xv.py", line 1, in <module> n, k = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s521275949
p04043
u901341592
1580854583
Python
Python (3.4.3)
py
Runtime Error
17
2940
136
# coding: utf-8 num, size = map(int,input().split()) data =[] for x in range(num): data.append(input()) print(''.join(sorted(data)))
Traceback (most recent call last): File "/tmp/tmpntcysvrt/tmph9yt3ith.py", line 2, in <module> num, size = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s512135842
p04043
u901341592
1580854442
Python
Python (3.4.3)
py
Runtime Error
17
2940
136
# coding: utf-8 num, size = map(int,input().split()) data =[] for x in range(num): data.append(input()) print(''.join(sorted(data)))
Traceback (most recent call last): File "/tmp/tmpcxkyvt_9/tmpetsfhbkk.py", line 2, in <module> num, size = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s603674082
p04043
u901341592
1580854160
Python
Python (3.4.3)
py
Runtime Error
17
2940
136
# coding: utf-8 num, size = map(int,input().split()) data =[] for x in range(num): data.append(input()) print(str.join(data.sort()))
Traceback (most recent call last): File "/tmp/tmpo87csjy_/tmpepxxhmra.py", line 2, in <module> num, size = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s847476895
p04043
u901341592
1580853384
Python
Python (3.4.3)
py
Runtime Error
17
2940
122
num, size = map(int,input().split()) data =[] for x in range(num): data.append(input()) data.sort() print(data.join())
Traceback (most recent call last): File "/tmp/tmpdw02kt4i/tmph2wqwzy0.py", line 1, in <module> num, size = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s631162341
p04043
u901341592
1580853076
Python
Python (3.4.3)
py
Runtime Error
17
2940
122
num, size = map(int,input().split()) data =[] for x in range(num): data.append(input()) data.sort() print(data.join())
Traceback (most recent call last): File "/tmp/tmpe1catt85/tmpg786_zq8.py", line 1, in <module> num, size = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s046115321
p04043
u871176343
1580851335
Python
Python (3.4.3)
py
Runtime Error
17
2940
119
a = list(map(int, input().split())) strs=[] for i in range(a[0]): strs.append(input()) print("".join(sorted(strs)))
Traceback (most recent call last): File "/tmp/tmpynwm4bi2/tmp_bg1fomh.py", line 1, in <module> a = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s396868622
p04043
u871176343
1580851235
Python
Python (3.4.3)
py
Runtime Error
17
2940
117
a = list(map(int, input().split())) strs=[] for i in range(a[0]): strs.append(input()) print("".join(sorted(strs)))
Traceback (most recent call last): File "/tmp/tmp9dvbyd2x/tmpm82_haph.py", line 1, in <module> a = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s501214730
p04043
u871176343
1580851186
Python
Python (3.4.3)
py
Runtime Error
17
2940
114
a = list(map(int, input().split())) strs=[] for i in range(a[0]): strs.push(input()) print("".join(sorted(strs)))
Traceback (most recent call last): File "/tmp/tmpfors5js3/tmprou8fg8t.py", line 1, in <module> a = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s279855636
p04043
u871176343
1580851119
Python
Python (3.4.3)
py
Runtime Error
17
2940
108
n, l = map(int, input().split()) strs=[] for i in range(n): strs.push(input()) print("".join(sorted(strs)))
Traceback (most recent call last): File "/tmp/tmpqo_mg2cz/tmpvqw5fon9.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s289839327
p04043
u901341592
1580851101
Python
Python (3.4.3)
py
Runtime Error
17
2940
121
data = list(map(int,"5 7 5".split()) if 2 == data.count(5) and 1 == data.count(7): print("Yes") else: print("No")
File "/tmp/tmpwle05fhy/tmp9opg6u0g.py", line 1 data = list(map(int,"5 7 5".split()) ^ SyntaxError: '(' was never closed
s530697028
p04043
u871176343
1580850521
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
abc = map(int,input().split()) print("YES" if sum(abc) == 17 and abc.count(5) else "NO")
Traceback (most recent call last): File "/tmp/tmpmigl9lhz/tmpfol3i9qh.py", line 1, in <module> abc = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s545196729
p04043
u871176343
1580850476
Python
Python (3.4.3)
py
Runtime Error
17
2940
81
abc = map(int,input().split()) "YES" if sum(abc) == 17 and abc.count(5) else "NO"
Traceback (most recent call last): File "/tmp/tmp_zjizv42/tmpwwpho_oj.py", line 1, in <module> abc = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s244713645
p04043
u282008876
1580703698
Python
Python (3.4.3)
py
Runtime Error
17
2940
168
a, b, c = int(input.splita = [5,7,5] b = map(int, input().split()) for i in b: try: b.remove(i) except: print('NO') quit() print('OK')
File "/tmp/tmp1yv43d3d/tmpk09vz7ui.py", line 1 a, b, c = int(input.splita = [5,7,5] ^^^^^^^^^^^^^^ SyntaxError: expression cannot contain assignment, perhaps you meant "=="?
s053947034
p04043
u591611911
1580685647
Python
Python (3.4.3)
py
Runtime Error
17
2940
225
A = input() B = input() C = input() if A != 5 or 7: print("NO") else if B != 5 or 7: print("NO") else if C != 5 or 7: print("NO") else if len(A) + len(B) + len(C) = 17: print("YES") else: print("NO")
File "/tmp/tmpazswyh_8/tmph7l4qkt7.py", line 8 else if B != 5 or 7: ^^ SyntaxError: expected ':'
s263274843
p04043
u018679195
1580537827
Python
Python (2.7.6)
py
Runtime Error
10
2568
201
a1=input() a2=input() a3=input() a=[a1,a2,a3] a.sort() flag=0 for i in range(2): if a[i]!='5': flag=flag+1 if a[2]!='7': flag=flag+1 if flag==0: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpfa8475pk/tmprdp9afef.py", line 1, in <module> a1=input() ^^^^^^^ EOFError: EOF when reading a line
s326474405
p04043
u863370423
1580537729
Python
Python (3.4.3)
py
Runtime Error
18
3064
201
a1=input() a2=input() a3=input() a=[a1,a2,a3] a.sort() flag=0 for i in range(2): if a[i]!='5': flag=flag+1 if a[2]!='7': flag=flag+1 if flag==0: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpmop_cmps/tmpgblou05h.py", line 1, in <module> a1=input() ^^^^^^^ EOFError: EOF when reading a line
s576071726
p04043
u353919145
1580537460
Python
Python (3.4.3)
py
Runtime Error
17
2940
142
a,b,c=int(input().split() if a==5 and b==5 and c==7 or a==5 and b==7 and c==5 or a==7 and b==5 and c==5: print('YES') else: print('NO'
File "/tmp/tmp5_r1_us5/tmpy38pggjb.py", line 2 if a==5 and b==5 and c==7 or a==5 and b==7 and c==5 or a==7 and b==5 and c==5: ^ SyntaxError: invalid syntax
s759699577
p04043
u113971909
1580336981
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
X=map(int,input().split()) X.sort() if X==[5,5,7]: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpoekr22_0/tmpett2hhul.py", line 1, in <module> X=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s809093766
p04043
u857070771
1580217023
Python
Python (3.4.3)
py
Runtime Error
17
2940
103
n,l=map(int,input().split()) s=list(input() for _ in range(n)) s.sort() result=''.join(s) print(result)
Traceback (most recent call last): File "/tmp/tmpvxv3ryen/tmpq3mvs2i0.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s272798291
p04043
u478452067
1580182757
Python
PyPy3 (2.4.0)
py
Runtime Error
164
38256
97
s = list(map(int, input().split())) sort(s) if s == [5, 7, 7]: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpbwj72yc6/tmpkph4t0_u.py", line 1, in <module> s = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s349829928
p04043
u479868443
1580169207
Python
Python (3.4.3)
py
Runtime Error
17
2940
125
a = list(map(int,input().split())) a.sort() if a[0] == 5: if a[1] == 5: if a[2] == 7: return "YES": return "NO"
File "/tmp/tmphogpa4s8/tmp5bse95_5.py", line 7 return "YES": ^ SyntaxError: invalid syntax
s037063310
p04043
u857070771
1580165710
Python
Python (3.4.3)
py
Runtime Error
17
2940
101
s=input() a=[] for i in s: if i == 'B': if x: a.pop() else: a.append(i) print(''.join(a))
File "/tmp/tmp2gq_0o9u/tmp9mrlpcvi.py", line 5 if x: ^ IndentationError: unindent does not match any outer indentation level
s419456654
p04043
u752552310
1580081143
Python
Python (3.4.3)
py
Runtime Error
17
2940
84
n,l=map(int,input().split()) s=sorted([input() for _ in range(n)]) print(*s, sep="")
Traceback (most recent call last): File "/tmp/tmp0czua0ns/tmpvv90y0ix.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s421634377
p04043
u067962264
1580080840
Python
Python (3.4.3)
py
Runtime Error
17
2940
132
# ๅ…ฅๅŠ› N,L=map(int,input().split()) l=[] for i in range(N): l.append(input()) # ใ‚ฝใƒผใƒˆ l.sort() # ๅ‡บๅŠ› print(''.join(l))
Traceback (most recent call last): File "/tmp/tmpvteaozwl/tmpdlwk8smk.py", line 2, in <module> N,L=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s425678684
p04043
u067962264
1580080780
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
n, l = map(int, input().split()) s = [] for i in range(n): s.append(input()) print(''.join(sorted(s)))
Traceback (most recent call last): File "/tmp/tmp7dnie6yt/tmpdx6kzg_e.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s845150795
p04043
u067962264
1580080754
Python
Python (3.4.3)
py
Runtime Error
17
2940
129
# -*- coding: utf-8 -*- N,L = list(map(int, input().split())) l=[] for i in range(N): l.append(input()) l.sort() print(l)
Traceback (most recent call last): File "/tmp/tmp5852nqk3/tmpbgla99s9.py", line 2, in <module> N,L = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s707253448
p04043
u067962264
1580080514
Python
Python (3.4.3)
py
Runtime Error
17
2940
131
# -*- coding: utf-8 -*- N,L = list(map(int, input().split())) l=[] s=N*L for i in range(s): l.append(input()) l.sort() print(l)
Traceback (most recent call last): File "/tmp/tmp1npsonxu/tmppq69ln9c.py", line 2, in <module> N,L = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s097487186
p04043
u067962264
1580080490
Python
Python (3.4.3)
py
Runtime Error
18
2940
127
# -*- coding: utf-8 -*- N,L = list(map(int, input().split())) l=[] for i in range(N*L): l.append(input()) l.sort() print(l)
Traceback (most recent call last): File "/tmp/tmptgis11pq/tmpo2kra290.py", line 2, in <module> N,L = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s004766349
p04043
u067962264
1580072860
Python
Python (3.4.3)
py
Runtime Error
17
2940
144
# -*- coding: utf-8 -*- A_B_C = list(map(int, input().split())) ABC= A_B_C.soreted() if A_B_C == [5,5,7]: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmp13cuchmy/tmppqnzjhrv.py", line 2, in <module> A_B_C = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s315620827
p04043
u110996038
1580064395
Python
Python (3.4.3)
py
Runtime Error
17
2940
120
s = input().split() if s.count(โ€œ5โ€) == 2 and s.count(โ€œ7โ€) == 1 : print(โ€œYESโ€) else : print(โ€œNOโ€)
File "/tmp/tmp3l2xo7do/tmpit3dhlah.py", line 2 if s.count(โ€œ5โ€) == 2 and s.count(โ€œ7โ€) == 1 : ^ SyntaxError: invalid character 'โ€œ' (U+201C)
s030168481
p04043
u182898140
1580009403
Python
Python (3.4.3)
py
Runtime Error
17
2940
98
abc=list(map(int,input().split())) abc.sort() if A ==[5, 5, 7]: print("Yes") else: print("No")
Traceback (most recent call last): File "/tmp/tmp536r0ctw/tmp6jzd7zfb.py", line 1, in <module> abc=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line