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
s221137895
p04043
u306664745
1556875011
Python
Python (3.4.3)
py
Runtime Error
17
2940
99
a, b, c= map(int, input().split()) if a+b+c==17 && a*b*c==175: print("YES") else: print("NO")
File "/tmp/tmp_u4vq9qc/tmpe_cg3eqd.py", line 2 if a+b+c==17 && a*b*c==175: ^ SyntaxError: invalid syntax
s767171516
p04043
u871374729
1556835910
Python
Python (3.4.3)
py
Runtime Error
17
2940
365
#include <bits/stdc++.h> using namespace std; int main() { vector<int> V(3); scanf("%d %d %d", &V[0], &V[1], &V[2]); int five = 0; int seven = 0; for (int v : V) { if (v == 5) { five++; } else if (v == 7) { seven++; } } if (five == 2 && seven == 1) { printf("YES"); } else { printf("NO"); } }
File "/tmp/tmp4r7g3dk9/tmp666qlyxk.py", line 2 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s125043104
p04043
u592248346
1556819648
Python
Python (3.4.3)
py
Runtime Error
17
2940
271
#include <stdio.h> int main(void){ // Your code here! int a,b,c; int i,cnt=0; scanf("%d%d%d",&a,&b,&c); if(a==5) cnt+=1; if(b==5) cnt+=1; if(c==5) cnt+=1; if(a+b+c==17 && cnt==2) printf("YES\n"); else printf("NO\n"); }
File "/tmp/tmpd9tl_kco/tmprv8kquln.py", line 2 int main(void){ ^^^^ SyntaxError: invalid syntax
s996070907
p04043
u432805419
1556672003
Python
Python (3.4.3)
py
Runtime Error
18
2940
120
a = list(map(int,input().split())) a.sort() if a[0] == 5 and a[1] == 5 amd a[2] == 7: print("YES") else: print("NO")
File "/tmp/tmpr48zl4ai/tmpptya_cyi.py", line 3 if a[0] == 5 and a[1] == 5 amd a[2] == 7: ^^^ SyntaxError: invalid syntax
s145469525
p04043
u507116804
1556638211
Python
Python (3.4.3)
py
Runtime Error
16
2940
94
n=input().split() if a.count("5")==2 and a.count("7")==1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpff6emw5p/tmpgbyiqtza.py", line 1, in <module> n=input().split() ^^^^^^^ EOFError: EOF when reading a line
s517491981
p04043
u507116804
1556637827
Python
Python (3.4.3)
py
Runtime Error
17
2940
129
a=list(map(int,input().split())) if a.count("5")==2 and a.count("7")==1: print("YES") else: print("NO")
File "/tmp/tmpdoj_lmus/tmpnr0uwx87.py", line 3 if a.count("5")==2 and a.count("7")==1: IndentationError: unexpected indent
s180932806
p04043
u507116804
1556596206
Python
Python (3.4.3)
py
Runtime Error
17
2940
117
a =map(int, [input() for i in range(3)]) if a.count("5")==2 and a.count("7")==1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpjrip_u0z/tmp6fktpnof.py", line 1, in <module> a =map(int, [input() for i in range(3)]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/tmpjrip_u0z/tmp6fktpnof.py", line 1, in <listcomp> a =map(int, [input() for i in range(3)]) ^^^^^^^ EOFError: EOF when reading a line
s143882394
p04043
u507116804
1556595791
Python
Python (3.4.3)
py
Runtime Error
17
2940
126
if input().count("5")==2 and input().count("7")==1: print("YES") else: print("NO")
File "/tmp/tmp7hmrl2ni/tmpgqmyzbds.py", line 1 if input().count("5")==2 and input().count("7")==1: IndentationError: unexpected indent
s488686273
p04043
u507116804
1556595689
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
if input().count("5")==2,input().count("7")==1: print("YES") else: print("NO")
File "/tmp/tmpx1vx49mx/tmpt8ifkg7n.py", line 1 if input().count("5")==2,input().count("7")==1: ^ SyntaxError: invalid syntax
s606786917
p04043
u507116804
1556595633
Python
Python (3.4.3)
py
Runtime Error
17
2940
161
a,b,c=map(int, [input() for i in range(3)] if input().count("5")==2,input().count("7")==1: print("YES") else: print("NO")
File "/tmp/tmpdoxxcxvk/tmpj777b_nt.py", line 1 a,b,c=map(int, [input() for i in range(3)] IndentationError: unexpected indent
s351235589
p04043
u507116804
1556595560
Python
Python (3.4.3)
py
Runtime Error
17
2940
141
a,b,c=map(int, [input() for i in range(3)] if input().count("5")==2,input().count("7")==1: print("YES") else print("NO")
File "/tmp/tmp1d0trrbq/tmpbobyuw_z.py", line 1 a,b,c=map(int, [input() for i in range(3)] ^ SyntaxError: '(' was never closed
s131147468
p04043
u264625952
1556588311
Python
Python (3.4.3)
py
Runtime Error
17
2940
125
L = [int(i) for i in input().split()]< < if (L.count(5) == 2 and L.count(7) == 1):< print("YES")< else:< print("NO")<
File "/tmp/tmp8zcbonbc/tmpta6x62mn.py", line 1 L = [int(i) for i in input().split()]< ^ SyntaxError: invalid syntax
s081756829
p04043
u589381719
1556499994
Python
Python (3.4.3)
py
Runtime Error
17
3064
468
N,_ = map(str,input().split()) lists = [0,1,2,3,4,5,6,7,8,9] s=list(map(int,input().split())) price="" flg=False for i in s: lists.remove(i) for i in N: for j,n in enumerate(lists): if int(i) <= int(j): price+=str(j) break if len(lists)==n: price+=str(lists[0]) flg=True #先頭0の場合 if lists[0]==0: lists.remove(0) #繰り上がりの場合 if flg: price=str(lists[0])+price print(price)
Traceback (most recent call last): File "/tmp/tmp5c36bw3h/tmpxcjhc9py.py", line 1, in <module> N,_ = map(str,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s315260892
p04043
u821432765
1556466298
Python
Python (3.4.3)
py
Runtime Error
17
2940
90
l=list(map(int,input().split())) if l.sort() =[5,5,7]: print("YES") else: print("NO")
File "/tmp/tmp0ticoj4l/tmpmf6iwb37.py", line 2 if l.sort() =[5,5,7]: ^^^^^^^^ SyntaxError: cannot assign to function call here. Maybe you meant '==' instead of '='?
s970540050
p04043
u733337827
1556394191
Python
Python (3.4.3)
py
Runtime Error
17
2940
171
N, _ = map(int, input().strip().split()) D = input().strip().split() for ans in range(N, 100000): if len(set(str(ans)) & set(D)) == 0: print(ans) break
Traceback (most recent call last): File "/tmp/tmpenxljsay/tmpp_2r9f0_.py", line 1, in <module> N, _ = map(int, input().strip().split()) ^^^^^^^ EOFError: EOF when reading a line
s779694305
p04043
u732870425
1556392638
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
li=list(map(int,input().split())) print("YES" li.sort()==[5,5,7] else "NO")
File "/tmp/tmpkrmkl2cd/tmpq9hzuir1.py", line 2 print("YES" li.sort()==[5,5,7] else "NO") ^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s163623919
p04043
u732870425
1556392597
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
li=map(int,input().split()) print("YES" li.sort()==[5,5,7] else "NO")
File "/tmp/tmp7zkonidb/tmpdoxwn_6p.py", line 2 print("YES" li.sort()==[5,5,7] else "NO") ^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s987560218
p04043
u733337827
1556388716
Python
Python (3.4.3)
py
Runtime Error
21
3316
218
N, K = map(int, input().split()) D = input().split() ans = N for i in range(N, 10000): for x in str(ans): if x in D: ans += 1 break; if ans == i: print(ans) break
Traceback (most recent call last): File "/tmp/tmprcwo5rr4/tmpt97bpiq5.py", line 1, in <module> N, K = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s778147921
p04043
u733337827
1556388384
Python
Python (3.4.3)
py
Runtime Error
17
2940
212
N, K = map(int, input().split()) D = input().split() ans = N for i in range(N, 10000): for x in str(ans): if x in D: ans += 1 break; else: print(ans) exit()
Traceback (most recent call last): File "/tmp/tmpfay103u1/tmpw2haoims.py", line 1, in <module> N, K = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s086113209
p04043
u589381719
1556306473
Python
Python (3.4.3)
py
Runtime Error
18
2940
115
num = list(map(input().split(""))) sums=0 for i in num: sums+=i if sums ==17: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpkqm3unpk/tmph79yywav.py", line 1, in <module> num = list(map(input().split(""))) ^^^^^^^ EOFError: EOF when reading a line
s035299726
p04043
u589381719
1556306428
Python
Python (3.4.3)
py
Runtime Error
17
2940
105
num = list(map(input())) sums=0 for i in num: sums+=i if sums ==17: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp9od4q9we/tmpdp6h2w3v.py", line 1, in <module> num = list(map(input())) ^^^^^^^ EOFError: EOF when reading a line
s350595145
p04043
u798129018
1556161950
Python
PyPy3 (2.4.0)
py
Runtime Error
167
38384
107
n,k = map(int,input().split()) d = input().split() while len(set(str(n)) & set(d)) !=0: n +=1 print(n)
Traceback (most recent call last): File "/tmp/tmpoegi067w/tmp8jp22e8p.py", line 1, in <module> n,k = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s638492873
p04043
u550943777
1556155587
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
s=sorted(input()) print(YES if s == '557' else NO)
Traceback (most recent call last): File "/tmp/tmpj1ad544g/tmpray8d64v.py", line 1, in <module> s=sorted(input()) ^^^^^^^ EOFError: EOF when reading a line
s595858623
p04043
u728566015
1556064199
Python
Python (3.4.3)
py
Runtime Error
17
2940
111
sen=[A,B,C] x=max(sen) y=min(sen) if x==7 and y==5 and sum(sen)-x-y==5: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp7utagtdj/tmpulio4md8.py", line 1, in <module> sen=[A,B,C] ^ NameError: name 'A' is not defined
s351630047
p04043
u728566015
1556063418
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
sen = [A,B,C] sen.sort() if sen == [5,5,7]: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpv8nv0zif/tmpgrjdtxvw.py", line 1, in <module> sen = [A,B,C] ^ NameError: name 'A' is not defined
s831920564
p04043
u728566015
1556063168
Python
Python (3.4.3)
py
Runtime Error
17
2940
98
sen = [A,B,C] print(sen) sen.sort() print(sen) if sen == [5,5,7]: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpwz98ykj3/tmpj4x5jm4u.py", line 1, in <module> sen = [A,B,C] ^ NameError: name 'A' is not defined
s402111713
p04043
u728566015
1556062563
Python
Python (3.4.3)
py
Runtime Error
17
2940
83
sen = [A,B,C] sen = sen.sort() if sen == [5,5,7]: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpmq3k9v8r/tmp17zlp394.py", line 1, in <module> sen = [A,B,C] ^ NameError: name 'A' is not defined
s232303010
p04043
u728566015
1556062484
Python
Python (3.4.3)
py
Runtime Error
17
2940
81
sen = [A,B,C] sen = sen.sort() if sen = [5,5,7]: print("YES") else: print("NO")
File "/tmp/tmp1xr8dflf/tmpshz91_un.py", line 3 if sen = [5,5,7]: ^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s777184216
p04043
u403832169
1555913070
Python
Python (3.4.3)
py
Runtime Error
17
2940
83
n,l=map(int,input().split()) s=sorted([input() for i in range(n)]) print(*s,sep="")
Traceback (most recent call last): File "/tmp/tmpf4tcikut/tmp9xfg0n34.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s851982428
p04043
u193598069
1555902778
Python
Python (3.4.3)
py
Runtime Error
19
3060
229
N, K = map(int, input().split()) dislike = list(map(int, input().split())) for i in range(N, 10*N+1): num = list(map(int,str(i))) match = list(set(num) & set(dislike)) if len(match)==0: print(i) break
Traceback (most recent call last): File "/tmp/tmpea82wzhy/tmp07758nzc.py", line 1, in <module> N, K = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s717710750
p04043
u193598069
1555902604
Python
Python (3.4.3)
py
Runtime Error
17
3060
229
N, K = map(int, input().split()) dislike = list(map(int, input().split())) for i in range(N, 10*N+1): num = list(map(int,str(i))) match = list(set(num) & set(dislike)) if len(match)==0: print(i) break
Traceback (most recent call last): File "/tmp/tmp2lq5lwnw/tmpi5rs0zje.py", line 1, in <module> N, K = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s394317662
p04043
u193598069
1555899030
Python
Python (3.4.3)
py
Runtime Error
17
2940
115
num = list(map(int,input().split())) if num.count(5) == 2 and num.count(7) == 1: print ('YES') else: print('NO)
File "/tmp/tmp7i3noiad/tmpc78uzh55.py", line 5 print('NO) ^ SyntaxError: unterminated string literal (detected at line 5)
s690875651
p04043
u481026841
1555725346
Python
Python (3.4.3)
py
Runtime Error
18
2940
181
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/tmpiljtfv6f/tmpuafd_m5g.py", line 2 if a=5 and b=5 and c=7: ^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s292158722
p04043
u476048753
1555465608
Python
Python (3.4.3)
py
Runtime Error
18
2940
273
X, Y, Z = map(int, input().split()) num_5 = 0 num_7 = 0 if X == 5: num_5 += 1 if Y == 5: num_5 += 1 if Z == 5: num_5 += 1 if X == 7: num_7 += 1 if Y == 7: num_7 += 1 if Z == 7: num_7 += 1 if num_5 == 2 && num_7 == 1: print("YES") else: print("NO")
File "/tmp/tmpwbky0g8c/tmpbbgv17or.py", line 20 if num_5 == 2 && num_7 == 1: ^ SyntaxError: invalid syntax
s182067633
p04043
u894694822
1555448137
Python
Python (3.4.3)
py
Runtime Error
18
3060
87
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/tmpz2anyo40/tmp2urc6j2l.py", line 1, in <module> n, l=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s585707882
p04043
u331464808
1555347672
Python
Python (3.4.3)
py
Runtime Error
17
2940
160
a = list(map(int,input().split())) b = 0 c = 0 for i in a: if i == 5: b = b + 1 if i == 7: c = c+1 if b ==2 and c==1: print(YES) else: print(NO)
Traceback (most recent call last): File "/tmp/tmpttj7p7qt/tmpnlfzm33o.py", line 1, in <module> a = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s047814704
p04043
u331464808
1555347529
Python
Python (3.4.3)
py
Runtime Error
17
3060
178
a = list(map(int,input().split())) b = 0 c = 0 for i in range(len(a)): if a[i] == 5: b = b + 1 if a[i] == 7: c = c+1 if b ==2 and c==1: print(YES) else: print(NO)
Traceback (most recent call last): File "/tmp/tmpdark7o5t/tmpb12504xi.py", line 1, in <module> a = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s226823696
p04043
u331464808
1555347014
Python
Python (3.4.3)
py
Runtime Error
17
2940
170
a = input().split() x =0 y =0 for i in range(len(a)): if len(a[i]) = 5: x = x+1 if len(a[i]) = 7: y = y+1 if x =2 and y=1: print(YES) else: print(NO)
File "/tmp/tmpdhtdkc9s/tmpi92pi_ik.py", line 5 if len(a[i]) = 5: ^^^^^^^^^ SyntaxError: cannot assign to function call here. Maybe you meant '==' instead of '='?
s038417186
p04043
u103341055
1555186928
Python
Python (3.4.3)
py
Runtime Error
18
3060
252
from itertools import permutations Num = [int(n) for n in input().rstrip().split()] D = [int(n) for n in input().rstrip().split()] for i in range(Num[0],10000): if len(set([str(n) for n in D]) & set(str(i))) == 0: print(i) break
Traceback (most recent call last): File "/tmp/tmpaki5mlvq/tmp342c0cnx.py", line 3, in <module> Num = [int(n) for n in input().rstrip().split()] ^^^^^^^ EOFError: EOF when reading a line
s278945646
p04043
u902130170
1555181402
Python
Python (3.4.3)
py
Runtime Error
18
3188
191
a, b, c = map(input().split(" ")) if a == 5 and b == 7 and c == 5 \ or a == 5 and b == 5 and c == 7 \ or a == 7 and b == 5 and c == 5: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpud8kthxu/tmpzqb_19bh.py", line 1, in <module> a, b, c = map(input().split(" ")) ^^^^^^^ EOFError: EOF when reading a line
s014776134
p04043
u103341055
1555174887
Python
Python (3.4.3)
py
Runtime Error
17
2940
136
num = [int(n)] for n in input().rstrip().split()] if num.count(5) == 2 and num.count(7) == 1: print("YES") else: print("NO")
File "/tmp/tmpod6l701k/tmpkkt12_ir.py", line 1 num = [int(n)] for n in input().rstrip().split()] ^ SyntaxError: unmatched ']'
s063743982
p04043
u331464808
1555090850
Python
Python (3.4.3)
py
Runtime Error
17
2940
156
l =input().split() a=0 b=0 for i in range(0,2): if len(i) = 5: a = a+1 if len(i) = 7: b = b+1 if a=2 and b=1: print("YES") else: print("NO")
File "/tmp/tmpigm9af8b/tmpw6fwdpeo.py", line 5 if len(i) = 5: ^^^^^^ SyntaxError: cannot assign to function call here. Maybe you meant '==' instead of '='?
s959669082
p04043
u331464808
1555090775
Python
Python (3.4.3)
py
Runtime Error
17
2940
160
l =input().split() for i in range(0,2): a=0 b=0 if len(i) = 5: a = a+1 if len(i) = 7: b = b+1 if a=2 and b=1: print("YES") else: print("NO")
File "/tmp/tmp8vi0g4qs/tmphibnht3r.py", line 5 if len(i) = 5: ^^^^^^ SyntaxError: cannot assign to function call here. Maybe you meant '==' instead of '='?
s622947644
p04043
u331464808
1555089914
Python
Python (3.4.3)
py
Runtime Error
18
2940
165
l =input().split() for i in range(len(l)-1): a=0 b=0 if len(i) = 5: a = a+1 if len(i) = 7: b = b+1 if a=2 and b=1: print("YES") else: print("NO")
File "/tmp/tmp4yl6utuf/tmp3b_2cuu7.py", line 5 if len(i) = 5: ^^^^^^ SyntaxError: cannot assign to function call here. Maybe you meant '==' instead of '='?
s832743183
p04043
u331464808
1555088561
Python
Python (3.4.3)
py
Runtime Error
17
2940
87
a,b,c =input().split() if len(a)*len(b)*len(c) =175: print("YES") else: print("NO")
File "/tmp/tmpc9e10skz/tmpuqaa_888.py", line 2 if len(a)*len(b)*len(c) =175: ^^^^^^^^^^^^^^^^^^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s381253048
p04043
u331464808
1555088386
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
a,b,c =map(int,input().split()) if a*b*c = 175: print("YES") else: print("NO")
File "/tmp/tmpsoucnp8d/tmp_sggvych.py", line 2 if a*b*c = 175: ^^^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s216786493
p04043
u055941944
1555032818
Python
Python (3.4.3)
py
Runtime Error
17
2940
118
# -*- coding utf-8 -*- n,l=map(int,input().split()) s =[str(input()) for i in range(n)] s.sort() print(*s,sep="")
Traceback (most recent call last): File "/tmp/tmpng3w_j3f/tmpt3407ksm.py", line 3, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s070577808
p04043
u864047888
1555000075
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
a=list(map(int,input().split())) a=sorted(a) print(a) if a=[5,5,7]: print("YES") else: print("NO")
File "/tmp/tmp0x_qjlc3/tmpliiu2yti.py", line 4 if a=[5,5,7]: ^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s935226840
p04043
u428855582
1554866450
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
length=list(map(int, input().split())) lenght.sort() print ("Yes" if length==[5,5,7] else "No")
Traceback (most recent call last): File "/tmp/tmp4cm1zm7c/tmpc2rvtgv4.py", line 1, in <module> length=list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s909313836
p04043
u363438602
1554773783
Python
Python (3.4.3)
py
Runtime Error
17
2940
111
a,b,c=int(input().sprit()) list=[a,b,c] sorted(list) if list==[5,5,7]: print("YES") else: print("NO")
File "/tmp/tmp3e94ujq3/tmp8p5aww2n.py", line 4 if list==[5,5,7]: ^ SyntaxError: invalid character ':' (U+FF1A)
s646125621
p04043
u457960175
1554672651
Python
Python (3.4.3)
py
Runtime Error
18
2940
65
a = int(input()) if a == 17 : print('YES') else : print('NO')
Traceback (most recent call last): File "/tmp/tmpz9vzrxri/tmp053u94cv.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s526269581
p04043
u483151310
1554650659
Python
Python (3.4.3)
py
Runtime Error
18
2940
120
N,L = map(int,input().split()) s =[] for i in range(N): s.append(input()) s.sort() result = ''.join(s) print(result)
Traceback (most recent call last): File "/tmp/tmp9aol6nax/tmp3taon4zf.py", line 1, in <module> N,L = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s787384486
p04043
u483151310
1554649776
Python
Python (3.4.3)
py
Runtime Error
17
2940
123
N, L = map(int, input().split()) S = [] for i in range(N): line = input() S.append(line) S.sort() print("".join(S))
Traceback (most recent call last): File "/tmp/tmpa8jzlp4g/tmp0aanmq6s.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s539396305
p04043
u483151310
1554649497
Python
Python (3.4.3)
py
Runtime Error
18
2940
131
N, L = map(int, input().split()) s = [] for i in range(N): line = input() s.append(line) s.sort() ans="".join(s) print(ans)
Traceback (most recent call last): File "/tmp/tmp0sbr_k2l/tmp0m3lgisf.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s658251708
p04043
u483151310
1554647937
Python
Python (3.4.3)
py
Runtime Error
17
2940
123
N, L = map(int, input().split()) s = [] for i in range(N): line = input() s.append(line) s.sort() print("".join(s))
Traceback (most recent call last): File "/tmp/tmp8tb6_8s0/tmpo4crg8qk.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s480394333
p04043
u483151310
1554647667
Python
Python (3.4.3)
py
Runtime Error
17
2940
123
N, L = map(int, input().split()) s = [] for i in range(N): line = input() s.append(line) s.sort() print("".join(s))
Traceback (most recent call last): File "/tmp/tmpagado2zl/tmpoeluv0j_.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s254125938
p04043
u483151310
1554647617
Python
Python (3.4.3)
py
Runtime Error
17
2940
140
N, L = map(int, input().split()) s = [] for i in range(N): line = input() print(line) s.append(line) s.sort() print("".join(s))
Traceback (most recent call last): File "/tmp/tmp0h1o2id6/tmp780y5vys.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s175644335
p04043
u483151310
1554643458
Python
Python (3.4.3)
py
Runtime Error
17
3060
145
N,L=map(int,input().split()) s =[] for i in range(0,L): s.append(str(input())) s.sort() ans = "" for word in s: ans = ans+word print(ans)
Traceback (most recent call last): File "/tmp/tmpa1np7pgg/tmpwa0injmp.py", line 1, in <module> N,L=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s908356535
p04043
u483151310
1554610864
Python
Python (3.4.3)
py
Runtime Error
18
2940
234
A,B,C = map(int(),input().split()) arr = [A, B, C] fives = 0 sevens = 0 for num in arr: if num == 5: fives += 1 if num == 7: sevens += 1 if fives == 2 and sevens == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpku3syspj/tmpmul8fv1t.py", line 1, in <module> A,B,C = map(int(),input().split()) ^^^^^^^ EOFError: EOF when reading a line
s571539681
p04043
u483151310
1554610829
Python
Python (3.4.3)
py
Runtime Error
18
2940
228
A,B,C = map(input().split()) arr = [A, B, C] fives = 0 sevens = 0 for num in arr: if num == 5: fives += 1 if num == 7: sevens += 1 if fives == 2 and sevens == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpv02oebw3/tmphaimrpyg.py", line 1, in <module> A,B,C = map(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s168460032
p04043
u483151310
1554610543
Python
Python (3.4.3)
py
Runtime Error
17
3064
273
A = int(input()) B = int(input()) C = int(input()) # A = 5 # B = 7 # C = 5 arr = [A, B, C] fives = 0 sevens = 0 for num in arr: if num == 5: fives += 1 if num == 7: sevens += 1 if fives == 2 and sevens == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp6valw11z/tmpb41w_7pu.py", line 1, in <module> A = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s161213885
p04043
u483151310
1554610345
Python
Python (3.4.3)
py
Runtime Error
18
3060
249
A = int(input()) B = int(input()) C = int(input()) arr = [A, B, C] fives = 0 sevens = 0 for num in arr: if num == 5: fives += 1 if num == 7: sevens += 1 if fives == 2 and sevens == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpeyuqej7y/tmptum8i_32.py", line 1, in <module> A = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s224320365
p04043
u483151310
1554610297
Python
Python (3.4.3)
py
Runtime Error
18
2940
235
A = input() B = input() C = input() arr = [A, B, C] fives = 0 sevens = 0 for num in arr: if num == 5: fives += 1 if num == 7: sevens += 1 if fives == 2 and sevens == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpq8on6mxj/tmp_mpir9mr.py", line 1, in <module> A = input() ^^^^^^^ EOFError: EOF when reading a line
s307699045
p04043
u697108631
1554569736
Python
Python (3.4.3)
py
Runtime Error
17
3060
281
def sortadd(): num_lists = input().split(" "); N=int(num_lists[0]); L=int(num_lists[1]); str_lists = []; for _ in range(N): str_lists.append(input()); str_lists.sort(); str_sum = ''.join(str_lists) print(str_sum); sortadd();
Traceback (most recent call last): File "/tmp/tmphlcz9aqy/tmpqvytaqgr.py", line 16, in <module> sortadd(); ^^^^^^^^^ File "/tmp/tmphlcz9aqy/tmpqvytaqgr.py", line 2, in sortadd num_lists = input().split(" "); ^^^^^^^ EOFError: EOF when reading a line
s274489473
p04043
u824365684
1554213412
Python
Python (3.4.3)
py
Runtime Error
18
2940
154
a = int(input()) b = int(input()) c = int(input()) d = [a,b,c] d.sort() if d[0] == 5 and d[1] == 5 and d[2] == 7: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp2aijx30f/tmpwle587eh.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s598848003
p04043
u824365684
1554213316
Python
Python (3.4.3)
py
Runtime Error
18
2940
153
a = int(input()) b = int(input()) c = int(input()) d = [a,b,c] d.sort() if d[0] == 5 and d[1] == 5 and d[2] == 7: print("Yes") else: print("No")
Traceback (most recent call last): File "/tmp/tmp8nhgm7zw/tmp8v_1m1h4.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s788397262
p04043
u824365684
1554213242
Python
Python (3.4.3)
py
Runtime Error
18
2940
153
a = int(input()) b = int(input()) c = int(input()) d = [a,b,c] d.sort() if d[a] == 5 and d[b] == 5 and d[c] == 7: print("Yes") else: print("No")
Traceback (most recent call last): File "/tmp/tmpnq4uvq_h/tmpxewarxa4.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s697911742
p04043
u824365684
1554213197
Python
Python (3.4.3)
py
Runtime Error
17
2940
153
a = int(input()) b = int(input()) c = int(input()) d = [a,b,c] d.sort() if d[a] == 5 and d[b] == 7 and d[c] == 7: print("Yes") else: print("No")
Traceback (most recent call last): File "/tmp/tmp682n0ip5/tmpa9sfsgvj.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s988395503
p04043
u748311048
1554067158
Python
Python (3.4.3)
py
Runtime Error
18
2940
173
a,b,c=map(int,input().split()) if a==5 and b==7 and c==5: print(YES) elif a==5 and b==5 and c==7: print(YES) elif a==7 and b==5 and c==5: print(YES) else: print(NO)
Traceback (most recent call last): File "/tmp/tmpelwadu40/tmpd9fhip_e.py", line 1, in <module> a,b,c=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s870340738
p04043
u748311048
1554067120
Python
Python (3.4.3)
py
Runtime Error
18
2940
176
a,b,c=map(int,input().split()) if a==5 and b==7 and c==5&: print(YES) elif a==5 and b==5 and c==7&: print(YES) elif a==7 and b==5 and c==5&: print(YES) else: print(NO)
File "/tmp/tmp23kpt7y2/tmpx8hrq_2v.py", line 2 if a==5 and b==7 and c==5&: ^ SyntaxError: invalid syntax
s923039050
p04043
u167097262
1554060678
Python
Python (3.4.3)
py
Runtime Error
18
2940
98
N, L= map(int,input().split()) alldata = sorted([input() for i in range(N)]) print("".join(data))
Traceback (most recent call last): File "/tmp/tmpy8r4lua2/tmpfryf9190.py", line 1, in <module> N, L= map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s618473623
p04043
u030360338
1554000406
Python
Python (3.4.3)
py
Runtime Error
18
2940
136
# -*- coding: utf-8 -*- line = map(int, input().split()) ans = "YES" if line.count(5) == 2 and line.count(7) == 1 else "NO" print(ans)
Traceback (most recent call last): File "/tmp/tmpujkwht1x/tmpiofjbi04.py", line 2, in <module> line = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s215806671
p04043
u559416752
1553274400
Python
Python (3.4.3)
py
Runtime Error
18
3060
223
A, B, C = map(int, input().split()) five = 0 seven = 0 check = [A, b, C] for s in check: if s == 5: five += 1 if s == 7: seven += 1 if five == 2 and seven == 1: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmperalzp__/tmpvys3cz05.py", line 1, in <module> A, B, C = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s970074464
p04043
u591779169
1552966712
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
a = list(map(int, raw_input().split())) a.sort() if a == [5,5,7]: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpz5bbf72u/tmprbob60go.py", line 1, in <module> a = list(map(int, raw_input().split())) ^^^^^^^^^ NameError: name 'raw_input' is not defined
s360025635
p04043
u878138257
1552797371
Python
Python (3.4.3)
py
Runtime Error
17
2940
125
n,l = map(int, input().split()) a = [input() for i in range(n)] b = sorted(a) k = "" for j in range(n): k = k+b[j] print(k)
Traceback (most recent call last): File "/tmp/tmptnnb85jd/tmpn7j7u70c.py", line 1, in <module> n,l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s681714924
p04043
u878138257
1552797276
Python
Python (3.4.3)
py
Runtime Error
17
2940
125
n,l = map(int, input().split()) a = [input() for i in range(n)] b = sorted(a) k = "" for j in range(n): k = k+b[j] print(k)
Traceback (most recent call last): File "/tmp/tmp_1tpzbgc/tmpx5xglh9m.py", line 1, in <module> n,l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s602335503
p04043
u522266410
1552704553
Python
Python (3.4.3)
py
Runtime Error
17
2940
75
A,B,C = input().split() if A*B*C/145==1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpcn28rk5b/tmp6dngfzaj.py", line 1, in <module> A,B,C = input().split() ^^^^^^^ EOFError: EOF when reading a line
s684003610
p04043
u381626581
1552635723
Python
Python (3.4.3)
py
Runtime Error
17
3064
202
A = int(input()) B = int(input()) C = int(input()) if B < A: A, B = B, A if C < A: A ,C = C, A if C < B: B, C = C, B if A != 5 or B != 5 or C != 7: print("NO") else: print("YES")
Traceback (most recent call last): File "/tmp/tmp9fbnzzs2/tmps6jmgmyz.py", line 1, in <module> A = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s989454953
p04043
u358791207
1552620009
Python
Python (3.4.3)
py
Runtime Error
17
3060
205
a, b, c = map(int, input().split()) if a == 5: if (b == 5 and c == 7) or (c == 5 and b == 7): print(YES) else: print(NO) if a == 7: if b == 5 and c == 5: print(YES) else: print(NO)
Traceback (most recent call last): File "/tmp/tmprn6dd55q/tmp9otvzgx7.py", line 1, in <module> a, b, c = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s610037805
p04043
u878138257
1552458808
Python
Python (3.4.3)
py
Runtime Error
18
2940
86
a = input() if a.count(5)==2 and a.count(7)==1: print("Yes") else: print("No")
Traceback (most recent call last): File "/tmp/tmpepyr649n/tmpmlhlaaqr.py", line 1, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
s906467783
p04043
u878138257
1552458563
Python
Python (3.4.3)
py
Runtime Error
18
2940
109
a = list(map(int, input().split())) if a.count(5)==2 and a.count(7)=1: print("Yes") else: print("No")
File "/tmp/tmp4o6lrtu7/tmpc7w2g3s_.py", line 2 if a.count(5)==2 and a.count(7)=1: ^ SyntaxError: invalid syntax
s790513443
p04043
u174394352
1551592043
Python
PyPy3 (2.4.0)
py
Runtime Error
177
38640
86
if sotred(list(map(int,input().split())))==[5,5,7]: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpcqvfsc1z/tmpwsb7qih7.py", line 1, in <module> if sotred(list(map(int,input().split())))==[5,5,7]: ^^^^^^ NameError: name 'sotred' is not defined. Did you mean: 'sorted'?
s973194611
p04043
u994767958
1551588258
Python
Python (3.4.3)
py
Runtime Error
17
2940
117
l = [0]*11 r = list(map(int,input().split())) for i in r: l[r] += 1 print("YES" if (l[5]==2)and(l[7]==1) else "NO")
Traceback (most recent call last): File "/tmp/tmpbj08r3im/tmpottt0tt4.py", line 2, in <module> r = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s365496100
p04043
u999482355
1551504255
Python
Python (3.4.3)
py
Runtime Error
20
3316
173
N, K = map(int, input().split(" ")) Ds = set(map(str, input().split(" "))) for i in range(N, 10000): if (set(str(i)) & set(Ds)) == set(): print(i) break
Traceback (most recent call last): File "/tmp/tmp_o3pse7y/tmpyg8_0ueb.py", line 1, in <module> N, K = map(int, input().split(" ")) ^^^^^^^ EOFError: EOF when reading a line
s775844508
p04043
u392029857
1551366018
Python
Python (3.4.3)
py
Runtime Error
18
3188
90
N, L = map(int, input().split()) S = sorted([input() for i in range(N)]) print(''.join(S))
Traceback (most recent call last): File "/tmp/tmp14d_zljk/tmpe3cpxz_k.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s576733219
p04043
u403984573
1551299624
Python
Python (3.4.3)
py
Runtime Error
18
2940
153
A,B,C=map.(int,input().split()) if A+B==10 or A+B==12: if A+C==10 or A+C==12: if B+C==10 or B+C==12: print("YES") else: print("NO")
File "/tmp/tmpljlhi866/tmpel4iubed.py", line 1 A,B,C=map.(int,input().split()) ^ SyntaxError: invalid syntax
s605737538
p04043
u403984573
1551299596
Python
Python (3.4.3)
py
Runtime Error
17
2940
160
A,B,C=map.(int,input().split()) if A+B==10 or A+B==12: if A+C==10 or A+C==12: if B+C==10 or B+C==12: print("YES") else: print("NO")
File "/tmp/tmpn6htrhl5/tmpjat2757z.py", line 1 A,B,C=map.(int,input().split()) ^ SyntaxError: invalid syntax
s978200112
p04043
u326294217
1550735462
Python
Python (3.4.3)
py
Runtime Error
18
2940
199
import sys def main(arg_list): if(len(arg_list == 3) and arg_list.count('5')==2 and arg_list.count('7') == 1): return "YES" return "NO" if __name__ == "__main__": main(sys.argv)
Traceback (most recent call last): File "/tmp/tmp31ibj2g9/tmpw2yg8cas.py", line 9, in <module> main(sys.argv) File "/tmp/tmp31ibj2g9/tmpw2yg8cas.py", line 4, in main if(len(arg_list == 3) and arg_list.count('5')==2 and arg_list.count('7') == 1): ^^^^^^^^^^^^^^^^^^ TypeError: object of type 'bool' has no len()
s052207834
p04043
u143509139
1550699710
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
l = list(map(int, input().split())) l.sort() ans = NO if l == [5, 5, 7]: ans = YES print(ans)
Traceback (most recent call last): File "/tmp/tmp54_qon8q/tmpnqbm4jkj.py", line 1, in <module> l = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s624612942
p04043
u543954314
1550679575
Python
Python (3.4.3)
py
Runtime Error
17
2940
81
if sorted(input().split()) == ["5", "5", "7"]: print("YES") else: priny("NO")
Traceback (most recent call last): File "/tmp/tmpnpie0f0_/tmppyw553fv.py", line 1, in <module> if sorted(input().split()) == ["5", "5", "7"]: ^^^^^^^ EOFError: EOF when reading a line
s388530405
p04043
u860670906
1550469151
Python
Python (3.4.3)
py
Runtime Error
17
2940
167
A = int(input()) B = int(input()) C=int(input()) 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")
Traceback (most recent call last): File "/tmp/tmpjyaipor7/tmp29oicmtk.py", line 1, in <module> A = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s451796528
p04043
u604412462
1550352337
Python
Python (3.4.3)
py
Runtime Error
18
2940
263
s = input().split() #s_1 s_2を分割して取得し、sに値を入れる five = 0 seven = 0 for i range(3): if s[i] == '5': five += 1 if s[i] == '7': seven += 1 if five == 2 and seven == 1: print('YES') else: print('NO')
File "/tmp/tmpfmvk4xoa/tmpsqmefgwq.py", line 4 for i range(3): ^^^^^ SyntaxError: invalid syntax
s242617902
p04043
u503228842
1550342239
Python
Python (3.4.3)
py
Runtime Error
17
2940
158
#wlist = list(map(int,input().split())) nlist = list(input().split()) if nlist.couunt("5") ==2 and nlist.count("7")==1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpmileuua6/tmpiljbsfka.py", line 2, in <module> nlist = list(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s210256589
p04043
u676407796
1549175702
Python
Python (3.4.3)
py
Runtime Error
18
3060
311
a, b, c = map(int, input().split()) if(a==7): if(b==5 & c==5): print('YES') else: print('NO') elif(b==7): if(a==5 & c==5): print('YES') else: print('NO') elif(c==7): if(b==5 & a==5): print('YES') else: print('NO') else print('NO')
File "/tmp/tmpg8pfhieq/tmpeiod1307.py", line 17 else ^ SyntaxError: expected ':'
s935024627
p04043
u690536347
1548699076
Python
Python (3.4.3)
py
Runtime Error
18
3064
315
h,w,a,b=map(int,input().split()) mod=10**9+7 n=h+w+1 fc,inv=[1]*n,[1]*n for i in range(1,n): fc[i]=i*fc[i-1]%mod inv[n-1]=pow(fc[n-1],mod-2,mod) for i in range(n-1,0,-1): inv[i-1]=inv[i]*i%mod f=lambda a,b:fc[a+b]*inv[a]*inv[b]%mod v=0 for i in range(b,w): v+=f(h-a-1,i)*f(a-1,w-i-1)%mod print(v%mod)
Traceback (most recent call last): File "/tmp/tmpbclrxog0/tmpr788t29t.py", line 1, in <module> h,w,a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s161970608
p04043
u223133214
1548627230
Python
Python (3.4.3)
py
Runtime Error
18
2940
34
n = int(input()) print((1+n)*n/2)
Traceback (most recent call last): File "/tmp/tmpjlj_aqi3/tmp1nituicl.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s346271730
p04043
u811156202
1547624594
Python
Python (3.4.3)
py
Runtime Error
18
2940
105
amount, length = map(int, input().split()) S = sorted([input() for a in range(amount)]) print(''.join(S))
Traceback (most recent call last): File "/tmp/tmplxky2l_3/tmpl9fjle6a.py", line 1, in <module> amount, length = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s561736539
p04043
u811156202
1547623429
Python
Python (3.4.3)
py
Runtime Error
17
3060
544
#最初に入力される情報を整理する str_input_list = input().rstrip().split(' ') int_input_list = [] for a in str_input_list: int_input_list.append(int(a)) length = int_input_list[0] amount = int_input_list[1] #文字列を受け取りリストに格納 mojiretu_list = [] for a in range(amount): mojiretu_list.append(input()) #文字列を小さい順に並べ、結合 sorted_list = sorted(mojiretu_list) min_mojiretu = '' for a in range(amount): min_mojiretu += sorted_list[a] #出力 print(min_mojiretu) print()
Traceback (most recent call last): File "/tmp/tmpwale2zzx/tmp_gjdir45.py", line 2, in <module> str_input_list = input().rstrip().split(' ') ^^^^^^^ EOFError: EOF when reading a line
s942697549
p04043
u171366497
1547510801
Python
Python (3.4.3)
py
Runtime Error
18
2940
103
mondai = input(),split() if mondai.count('5')==2 and mondai.count('7')==1:print('Yes') else:print('No')
Traceback (most recent call last): File "/tmp/tmpb9pszxd5/tmp7cq1xwek.py", line 1, in <module> mondai = input(),split() ^^^^^^^ EOFError: EOF when reading a line
s846609135
p04043
u020604402
1547425199
Python
PyPy3 (2.4.0)
py
Runtime Error
172
38512
221
N, K = map(int,input().split()) L = list(map(int,input().split())) for i in range(N,100000): flag = 0 for x in str(i): if int(x) in L: flag = 1 if flag == 0: print(i) exit()
Traceback (most recent call last): File "/tmp/tmpm7wjevpp/tmpbray_ciq.py", line 1, in <module> N, K = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line