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
s118264044
p04043
u319038975
1600906144
Python
Python (3.8.2)
py
Runtime Error
25
8972
192
a = list(map(int,input().split())) num_5 = 0 num_7 = 0 for i in a: if i=="5": num_5 = num_5+1 if i=="7": num_7 = num_7+1 if num_5=2 and num_7=1: print "YES" else: print "NO"
File "/tmp/tmp93a5qpkk/tmpa41__klt.py", line 11 if num_5=2 and num_7=1: ^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s649845362
p04043
u097700948
1600638563
Python
Python (3.8.2)
py
Runtime Error
19
9088
206
A, B, C = map(int, input()) num5 = 0 num7 = 0 ans = 'NO' for num in [A, B, C]: if num == 5: num5+=1 elif num == 7: num7+=1 else: break if num5 ==2 and num7 == 1: ans = 'YES' print(ans)
Traceback (most recent call last): File "/tmp/tmppfyddvty/tmpep18lwva.py", line 1, in <module> A, B, C = map(int, input()) ^^^^^^^ EOFError: EOF when reading a line
s557456891
p04043
u843060713
1600400454
Python
Python (3.8.2)
py
Runtime Error
22
8952
212
x = input().split() fn = 0 sn = 0 for i in range(len(x)): if int(x[i]) == 5: fn += 1 elif int(x[i]) == 7: sn += 1 if fn = 2: if sn = 5: print("YES") else: print("NO") else: print("NO")
File "/tmp/tmp9r5c9lao/tmp70lml7bz.py", line 11 if fn = 2: ^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s061002885
p04043
u843060713
1600400414
Python
Python (3.8.2)
py
Runtime Error
22
8932
212
x = input().stlip() fn = 0 sn = 0 for i in range(len(x)): if int(x[i]) == 5: fn += 1 elif int(x[i]) == 7: sn += 1 if fn = 2: if sn = 5: print("YES") else: print("NO") else: print("NO")
File "/tmp/tmp_3dydbn_/tmpadpk3u74.py", line 11 if fn = 2: ^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s008791833
p04043
u737397387
1600220060
Python
Python (3.8.2)
py
Runtime Error
23
8816
160
a, b, c = map(int, input().split()) if a=5, b=5, c=7: print("Yes") elif a=5, b=7, c=5: print("Yes") elif a=7, b=5, c=5: print("Yes") else: print("No")
File "/tmp/tmpn50djqzp/tmpnv5v5uod.py", line 3 if a=5, b=5, c=7: ^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s075314970
p04043
u530332855
1600209769
Python
Python (3.8.2)
py
Runtime Error
23
8820
172
# -*- coding: utf-8 -*- if __name__ == "__main__": str_sum = sum([map(int, input().split())]) if str_sum == 17: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpymyp79vs/tmpsv286tw4.py", line 4, in <module> str_sum = sum([map(int, input().split())]) ^^^^^^^ EOFError: EOF when reading a line
s969204923
p04043
u794521826
1600061780
Python
Python (3.8.2)
py
Runtime Error
25
8976
233
n, _ = map(int, input().split()) d = list(input().split()) def validate(strNum): for i in strNum: if i in d: return print(strNum) exit() for i in range(0, 1000000): validate(str(n)) n += 1
Traceback (most recent call last): File "/tmp/tmpfx4_qyi4/tmpygtf342o.py", line 1, in <module> n, _ = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s005349830
p04043
u794521826
1600061696
Python
Python (3.8.2)
py
Runtime Error
25
8972
243
n, k = map(int, input().split()) d = list(input().split()) def validate(strNum): for i in strNum: if i in d: return False print(strNum) exit() for i in range(0, 10001): _ = validate(str(n)) n += 1
Traceback (most recent call last): File "/tmp/tmpwal88jyf/tmpxzctrwlk.py", line 3, in <module> n, k = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s675922082
p04043
u630211216
1599792392
Python
Python (3.8.2)
py
Runtime Error
22
8996
99
A=list(map(int,input().split())) A.sorted() if A==[5,5,7]: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpavwrkhkg/tmpy56w392w.py", line 1, in <module> A=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s716746251
p04043
u630211216
1599792327
Python
Python (3.8.2)
py
Runtime Error
23
8992
96
A=list(map(int,input().split())) sort(A) if A==[5,5,7]: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpi4xmy56z/tmp2e6rv_i5.py", line 1, in <module> A=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s738381469
p04043
u417309772
1599645420
Python
Python (3.8.2)
py
Runtime Error
24
8944
417
P = 10**9+7 fac = [1] ifac = [1] ff = 1 for i in range(1,200001): ff *= i ff %= p fac.append(ff) ifac.append(pow(ff, p-2, p)) def ncr(n, r, p): return (fac[n] * ifac[r] % p * ifac[n-r] % p) h,w,a,b = map(int,input().split()) s = 0 nC = b-1 kC = 0 nD = w-b-1+h-1 kD = h-1 for i in range(h-a): C = ncr(nC, kC, P) D = ncr(nD, kD, P) s = (s + C * D) % P nC += 1 kC += 1 kD -= 1 nD -= 1 print(s)
Traceback (most recent call last): File "/tmp/tmp5qo3iqx7/tmp26ebe6ui.py", line 7, in <module> ff %= p ^ NameError: name 'p' is not defined. Did you mean: 'P'?
s534170854
p04043
u053535689
1599618726
Python
Python (3.8.2)
py
Runtime Error
24
9016
225
# 042a def atc_042a(input_value: str) -> str: ABC = input_value.split(" ") if ABC.count("5") == 2 and ABC.count("7") == 1: return "YES" return "NO" Input_value_1 = input() print(atc_042a(input_value_1))
Traceback (most recent call last): File "/tmp/tmplu7h2o87/tmpw2u78vpi.py", line 9, in <module> Input_value_1 = input() ^^^^^^^ EOFError: EOF when reading a line
s430142587
p04043
u708211626
1599330534
Python
Python (3.8.2)
py
Runtime Error
20
9120
106
a,b=map(int,input().split()) c=[] for i in range(a): c.append(input()) d=sorted(c) print(''.join(d))
Traceback (most recent call last): File "/tmp/tmp9f9fmtrd/tmp51op7hss.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s018739781
p04043
u174040991
1599243288
Python
Python (3.8.2)
py
Runtime Error
23
8976
153
def test(): arr = input() arr = [int(i) for i in arr] arr = sorted(arr) if arr==[5, 5, 7]: print("YES") else: print("NO") test()
Traceback (most recent call last): File "/tmp/tmp6otcbb7x/tmp_xuh_nla.py", line 9, in <module> test() File "/tmp/tmp6otcbb7x/tmp_xuh_nla.py", line 2, in test arr = input() ^^^^^^^ EOFError: EOF when reading a line
s257254709
p04043
u973069173
1599232448
Python
Python (3.8.2)
py
Runtime Error
20
8948
201
n, k = map(int, input().split()) D = set(map(int, input().split())) for ans in range(n,9999): for c in str(ans): if int(c) in D: break else: print(ans) break
Traceback (most recent call last): File "/tmp/tmpkmkrpqz3/tmpjvceeagk.py", line 1, in <module> n, k = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s810720476
p04043
u918422508
1598938616
Python
Python (3.8.2)
py
Runtime Error
20
9028
103
abc=map(int,input().split()) if abc.count(5)==5 and abc.count(7)==1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp2tk7x6mb/tmp9h5dlo1z.py", line 1, in <module> abc=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s158149266
p04043
u918422508
1598938374
Python
Python (3.8.2)
py
Runtime Error
20
8852
99
a,b,c=map(int,input().split()) if((a*b*c)%7=0)and((a*b*c)/7=25): print("YES") else: print("NO")
File "/tmp/tmpz8r3vf_3/tmp3ug7l5_t.py", line 2 if((a*b*c)%7=0)and((a*b*c)/7=25): ^^^^^^^^^ SyntaxError: cannot assign to expression here. Maybe you meant '==' instead of '='?
s278039713
p04043
u904945034
1598926154
Python
Python (3.8.2)
py
Runtime Error
23
8964
357
def iroha(a,b,c): haiku = [] haiku.append(len(a)) haiku.append(len(b)) haiku.append(len(c)) if sum(haiku) == 17: if max(haiku) == 7: if min(haiku) == 5: return "Yes" else: return "No" else: return "No" else: return "No" print(iroha(a,b,c))
Traceback (most recent call last): File "/tmp/tmpo3m8_ckx/tmp6bnp073_.py", line 17, in <module> print(iroha(a,b,c)) ^ NameError: name 'a' is not defined
s467351329
p04043
u816631826
1598861435
Python
PyPy3 (7.3.0)
py
Runtime Error
90
74596
240
#include <stdio.h> int main() { int A,B,C,d; scanf("%d %d %d",&A,&B,&C); if (A&&B==5&&C==7) printf("YES\n"); else if (A&&C==5&&B==7) printf("YES\n"); else if(A==7&&B&&C==5) printf("YES\n"); else printf("NO\n"); return 0; }
File "/tmp/tmpp4zn5rzy/tmpmp0pdu2u.py", line 4 int main() ^^^^ SyntaxError: invalid syntax
s876465434
p04043
u306412379
1598831436
Python
Python (3.8.2)
py
Runtime Error
25
9156
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/tmpzu3nxef5/tmpxz1wsy5e.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s754528169
p04043
u210545407
1598829335
Python
Python (3.8.2)
py
Runtime Error
31
8960
129
A, B, C=list(map(int, input().split(" ")) if [A, B, C].count(5)==2 and [A, B, C].count(7)==1: print('Yes') else: print('No'))
File "/tmp/tmpmhmogadt/tmp_ldh1dun.py", line 2 if [A, B, C].count(5)==2 and [A, B, C].count(7)==1: ^ SyntaxError: invalid syntax
s328796732
p04043
u705418271
1598733706
Python
Python (3.8.2)
py
Runtime Error
23
9012
162
a,b,c=map(int,input().split()) if a==b==5 and c==7: print('YES') elif a==c==5 and b==7: print('YES') elif b==c==5 amd c==7: print("YES") else: print('NO')
File "/tmp/tmp5co4__m8/tmpeuxeuz0y.py", line 6 elif b==c==5 amd c==7: ^^^ SyntaxError: invalid syntax
s046529073
p04043
u353919145
1598670782
Python
Python (3.8.2)
py
Runtime Error
29
9068
201
A=int(input("Enter A:")) B=int(input("Enter B:")) C=int(input("Enter C:")) if((A==5 and B==5 and C==7) or (A==5 and C==5 and B==7) or (B==5 and C ==5 and A==7)): print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpppysllg8/tmpqzxtcrf_.py", line 1, in <module> A=int(input("Enter A:")) ^^^^^^^^^^^^^^^^^ EOFError: EOF when reading a line
Enter A:
s147632012
p04043
u485349322
1598665704
Python
Python (3.8.2)
py
Runtime Error
20
8852
94
A,B,C=map(int,input().sprit()) if sorted[A,B,C]=[5,5,7]: print("YES") else: print("NO")
File "/tmp/tmpoztkv6xv/tmpepkt3zpi.py", line 2 if sorted[A,B,C]=[5,5,7]: ^^^^^^^^^^^^^ SyntaxError: cannot assign to subscript here. Maybe you meant '==' instead of '='?
s592834700
p04043
u863370423
1598652586
Python
Python (3.8.2)
py
Runtime Error
22
9176
193
A=int(input("Enter A:")) B=int(input("Enter B:")) C=int(input("Enter C:")) if((A==5 or B==5 or C==7) and(A==5 or C==5 or B==7) and(B==5 or C==5 or A==7)): print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpi5e6jrvf/tmpq1u48u5h.py", line 1, in <module> A=int(input("Enter A:")) ^^^^^^^^^^^^^^^^^ EOFError: EOF when reading a line
Enter A:
s257067017
p04043
u863370423
1598650008
Python
Python (3.8.2)
py
Runtime Error
20
9060
192
A=int(input("Enter A:")) B=int(input("Enter B:")) C=int(input("Enter C:")) if ((A==5 or B==5 or C==7) and(A==5 or C==5 or B==7) and(B==5 or C==5 or A==7)): print("Yes") else: print("No")
Traceback (most recent call last): File "/tmp/tmpmhf_hb2g/tmpn79ximxe.py", line 1, in <module> A=int(input("Enter A:")) ^^^^^^^^^^^^^^^^^ EOFError: EOF when reading a line
Enter A:
s742235046
p04043
u802209216
1598635595
Python
Python (3.8.2)
py
Runtime Error
19
8956
115
A=int(input()) B=int(input()) C=int(input()) if (A+B+C==17&&A,B,C==5 and 7): print("yes") else: print("no")
File "/tmp/tmp7zvycl71/tmp_6qwbtzc.py", line 5 if (A+B+C==17&&A,B,C==5 and 7): ^ SyntaxError: invalid syntax
s573269758
p04043
u668271522
1598393198
Python
Python (3.8.2)
py
Runtime Error
23
9160
187
N, K = map(int, input().split()) S = set(input().split()) while True: L = list(str(N)) for i in L: if i in S: break else: break N += 1 print(N)
Traceback (most recent call last): File "/tmp/tmpg2uk053o/tmp31r_hl3k.py", line 1, in <module> N, K = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s154423310
p04043
u997134361
1598212132
Python
Python (3.8.2)
py
Runtime Error
28
8816
202
a = map(int, input().split()) success_cases = [(a[0], a[1], a[2]), (a[1], a[2], a[0]), a[2], a[0], a[1])] for c in success_cases: if c == (5,7,5): print("YES") return print("NO")
File "/tmp/tmpyihigodk/tmpsvn5c6vd.py", line 3 success_cases = [(a[0], a[1], a[2]), (a[1], a[2], a[0]), a[2], a[0], a[1])] ^ SyntaxError: closing parenthesis ')' does not match opening parenthesis '['
s188763657
p04043
u864767064
1598211359
Python
PyPy3 (7.3.0)
py
Runtime Error
97
74600
93
a, b, c = input(int()) if a, b, c == 5 & a, b, c = 7: print("Yes") else: print("No")
File "/tmp/tmpwcaobyan/tmph8osbdjt.py", line 3 if a, b, c == 5 & a, b, c = 7: ^ SyntaxError: invalid syntax
s190088853
p04043
u814886720
1597934960
Python
Python (3.8.2)
py
Runtime Error
22
9108
99
A=int(input()) B=int(input()) C=int(input()) D=A+B+C if D==17: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpot0o4mx1/tmpty6zm49m.py", line 1, in <module> A=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s731095246
p04043
u814886720
1597933319
Python
Python (3.8.2)
py
Runtime Error
27
8820
80
1. s = input() print("YES" if s.count("5") == 2 and s.count("7") == 1 else "NO")
File "/tmp/tmpf8k_78fq/tmprl4cc8ne.py", line 1 1. s = input() ^ SyntaxError: invalid syntax
s928461909
p04043
u814886720
1597932434
Python
Python (3.8.2)
py
Runtime Error
24
8944
98
A=int(input(A)) B=int(input(B)) C=int(input(C)) D=A+B+C if D==17: print(YES) else: print(NO)
Traceback (most recent call last): File "/tmp/tmpppqnyamg/tmp9tf6rfi8.py", line 1, in <module> A=int(input(A)) ^ NameError: name 'A' is not defined
s701440487
p04043
u051237313
1597810316
Python
Python (3.8.2)
py
Runtime Error
20
8960
193
# list に入力を格納 list = list(int, input().split()) # 小さい順に並び替え list.sort() if list[0] == 5 and list[1] == 5 and list[2] == 7: print('Yes') else: print('No')
Traceback (most recent call last): File "/tmp/tmp9gl47hg9/tmpqmv9wf80.py", line 2, in <module> list = list(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s020969186
p04043
u051237313
1597810250
Python
Python (3.8.2)
py
Runtime Error
25
9052
198
# list に入力を格納 list = list(map(int, input().split())) # 小さい順に並び替え list.sort() if list[0] == 5 and list[1] == 5 and list[7] == 7: print('Yes') else: print('No')
Traceback (most recent call last): File "/tmp/tmpo4g0xlpr/tmpayoe8dos.py", line 2, in <module> list = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s877200465
p04043
u051237313
1597810201
Python
Python (3.8.2)
py
Runtime Error
25
9032
139
list = list(int, input().split()) list.sort() if list[0] == 5 and list[1] == 5 and list[7] == 7: print('Yes') else: print('No')
Traceback (most recent call last): File "/tmp/tmpw27i37dj/tmplsl6e2od.py", line 2, in <module> list = list(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s156010118
p04043
u051237313
1597810158
Python
Python (3.8.2)
py
Runtime Error
29
9092
193
# list に入力を格納 list = list(int, input().split()) # 小さい順に並び替え list.sort() if list[0] == 5 and list[1] == 5 and list[7] == 7: print('Yes') else: print('No')
Traceback (most recent call last): File "/tmp/tmplj774gi2/tmpvry5onjl.py", line 2, in <module> list = list(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s501462542
p04043
u776660877
1597343973
Python
Python (3.8.2)
py
Runtime Error
24
8972
148
if(a==5 & b==7 & c==5): print('yes') elif(a==7 & b==5 & c==5): print('yes') elif(a==5 & b==5 & c==7): print('yes') else: print('no')
Traceback (most recent call last): File "/tmp/tmp6_ue244s/tmpwh9u4h8j.py", line 1, in <module> if(a==5 & b==7 & c==5): ^ NameError: name 'a' is not defined
s032576559
p04043
u468972478
1597258616
Python
Python (3.8.2)
py
Runtime Error
20
9060
117
nums = map(int, input().split()) if nums.count(5) == 2 and nums.count(7) == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmph8wawm2o/tmpr9b3ufc0.py", line 1, in <module> nums = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s769899490
p04043
u066869486
1597200358
Python
Python (3.8.2)
py
Runtime Error
25
9100
131
n,l = map(int,input().split()) string_list=[input() for i in range(n)] string_list.sort() for X in string_list: print(X, end="")
Traceback (most recent call last): File "/tmp/tmpyk9qchyy/tmp6bjdtk2r.py", line 1, in <module> n,l = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s740911219
p04043
u468972478
1597193576
Python
Python (3.8.2)
py
Runtime Error
25
8912
116
nums = map(int, input().split(" ")) if nums.count(5) == 2 and nums.count(7) == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpap91tjun/tmpxppyapgq.py", line 1, in <module> nums = map(int, input().split(" ")) ^^^^^^^ EOFError: EOF when reading a line
s323434168
p04043
u208120643
1597162644
Python
Python (3.8.2)
py
Runtime Error
19
9172
240
A = int(input()) B = int(input()) C = int(input()) if (A+B+C == 17): if (A*B*C == 175): if(A*B+B*C+C*A == 95): print("Yes") else: print("No") else: print("No") else: print("No")
Traceback (most recent call last): File "/tmp/tmpji7p7p_x/tmpuz41xnrl.py", line 2, in <module> A = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s049761686
p04043
u208120643
1597162338
Python
Python (3.8.2)
py
Runtime Error
26
9108
165
A = int(input()) B = int(input()) C = int(input()) if (A+B+C == 15): if (A*B*C==175): print("Yes") else: print("No") else: print("No")
Traceback (most recent call last): File "/tmp/tmpzaiqntcf/tmp8fy1st67.py", line 2, in <module> A = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s816612499
p04043
u208120643
1597161709
Python
Python (3.8.2)
py
Runtime Error
24
9180
164
A = int(input()) B = int(input()) C = int(input()) if (A+B+C == 15): if (A*B*C==175): print("Yes") else: print("No") else: print("No")
Traceback (most recent call last): File "/tmp/tmp9ru3hqze/tmpvt9hssd8.py", line 1, in <module> A = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s457896567
p04043
u592743763
1597124600
Python
Python (3.8.2)
py
Runtime Error
24
9124
188
L=input().split() A,B,C=int(L[0]),int(L[1]),int(L[2]) X=set([5,7]) ans = [] for i in range(len(X)): ans.append([A,B,C].count(X[i])) if ans == [2,1]: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpnb1sgs07/tmpbal54ogj.py", line 1, in <module> L=input().split() ^^^^^^^ EOFError: EOF when reading a line
s174637486
p04043
u629607744
1597032982
Python
Python (3.8.2)
py
Runtime Error
28
8812
163
a,b,c = map(int,input().split()) if a == 5 and b == 7 and c == 7) or (a == 7 and b == 5 and c == 7) or (a == 7 and b == 7 c == 5): print("YES") else: print("NO")
File "/tmp/tmppbm9zlob/tmp9q3pk2m6.py", line 2 if a == 5 and b == 7 and c == 7) or (a == 7 and b == 5 and c == 7) or (a == 7 and b == 7 c == 5): ^ SyntaxError: unmatched ')'
s688466594
p04043
u074220993
1596989174
Python
Python (3.8.2)
py
Runtime Error
21
9036
253
A = input() B = input() C = input() L = [A, B, C] for x in L: if len(x) == 7: L.remove(x) for y in L: if len(y) != 5: break else: print("YES") break else: print("NO")
Traceback (most recent call last): File "/tmp/tmpd1_jixjr/tmpnohe612b.py", line 1, in <module> A = input() ^^^^^^^ EOFError: EOF when reading a line
s123748706
p04043
u074220993
1596988916
Python
Python (3.8.2)
py
Runtime Error
21
9108
253
A = input() B = input() C = input() L = [A, B, C] for x in L: if len(x) == 7: L.remove(x) for y in L: if len(y) != 5: break else: print("YES") break else: print("NO")
Traceback (most recent call last): File "/tmp/tmp3p_1oz5i/tmpy7vs8ol8.py", line 1, in <module> A = input() ^^^^^^^ EOFError: EOF when reading a line
s390629549
p04043
u274615057
1596945410
Python
Python (3.8.2)
py
Runtime Error
25
9164
169
def main(): a, b, c = map(int, input().split()) if sum(a, b, c) == 17: print('YES') else: print('NO') if __name__ == "__main__": main()
Traceback (most recent call last): File "/tmp/tmphd_q51qq/tmpwsq6vsom.py", line 10, in <module> main() File "/tmp/tmphd_q51qq/tmpwsq6vsom.py", line 2, in main a, b, c = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s980703818
p04043
u552738814
1596756251
Python
Python (3.8.2)
py
Runtime Error
18
8924
213
list = list(map(int,input().split())) five = 0 seven = 0 for i in list: if i == 5: five += 1 elif i == 7: seven += 1 else: pass if seven == 1 and five == 2: print(TRUE) else: print(NO)
Traceback (most recent call last): File "/tmp/tmpugl18t7p/tmpkly1ovw5.py", line 1, in <module> list = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s473255218
p04043
u830661255
1596674456
Python
Python (3.8.2)
py
Runtime Error
22
9068
84
n,l=map(int,input().split()) s=sorted([input() for i in range(n)]) print("".join(s))
Traceback (most recent call last): File "/tmp/tmpw4r_8lq0/tmpwc4h9n60.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s531294776
p04043
u522686706
1596585450
Python
PyPy3 (7.3.0)
py
Runtime Error
85
68676
163
lst = list(map(int,input().split())) for i in lst: ct = 0 if i == 5: ct += 1 elif i == 7: ct += 1 if ct == 3: return "YES" else: return "NO"
File "/tmp/tmpyje4_946/tmp40m_l8vd.py", line 4 if i == 5: TabError: inconsistent use of tabs and spaces in indentation
s432669392
p04043
u226779434
1596546557
Python
Python (3.8.2)
py
Runtime Error
23
9148
104
a =list(map(int,input().split())) if a+b+c ==19 and a.count("7") ==2: print("Yes") else: print("No")
Traceback (most recent call last): File "/tmp/tmpzpdq41te/tmpchj9aejb.py", line 1, in <module> a =list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s585127916
p04043
u980503157
1596421107
Python
Python (3.8.2)
py
Runtime Error
28
9036
118
a = int(input()) b = int(input()) c = int(input()) if a>b or b>c or a>c or a>b: print("NO") else: print("YES")
Traceback (most recent call last): File "/tmp/tmpbtcrhnln/tmpmuv4r2zs.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s307484788
p04043
u841919141
1596135413
Python
Python (3.8.2)
py
Runtime Error
22
8836
86
S = int(input()) if S.count(5) == 2 && S.count(7): print("YES") else: print("NO")
File "/tmp/tmp44h3n63q/tmpy5z4or6_.py", line 3 if S.count(5) == 2 && S.count(7): ^ SyntaxError: invalid syntax
s126215273
p04043
u915309968
1596046982
Python
Python (3.8.2)
py
Runtime Error
26
8988
185
def test(): x=input() x=x.split() if x =['5','5','7']: print("YES") elif x =['5','7','5']: print("YES") elif x =['7','5','5']: print("YES") else: print("NO")
File "/tmp/tmp_rvak1m9/tmpg2gk4a5j.py", line 4 if x =['5','5','7']: ^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s332700858
p04043
u957799665
1595991440
Python
Python (3.8.2)
py
Runtime Error
21
9116
495
i = 0 k_n = [] k_n_all = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] p_price, k_number = map(int, input().split()) k_n = map(int, input().split()) result_number = list(set(k_n_all) - set(k_n)) result_price = p_price while True: x = 0 y = 0 z = list(map(int, str(result_price))) while x < len(z): if z[x] in result_number: y += 0 else: y += 1 x += 1 if y == 0: print(result_price) break else: result_price += 1
Traceback (most recent call last): File "/tmp/tmp4yh584er/tmp44n0ahwz.py", line 5, in <module> p_price, k_number = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s505054122
p04043
u957799665
1595991301
Python
Python (3.8.2)
py
Runtime Error
20
9004
495
i = 0 k_n = [] k_n_all = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] p_price, k_number = map(int, input().split()) k_n = map(int, input().split()) result_number = list(set(k_n_all) - set(k_n)) result_price = p_price while True: x = 0 y = 0 z = list(map(int, str(result_price))) while x < len(z): if z[x] in result_number: y += 0 else: y += 1 x += 1 if y == 0: print(result_price) break else: result_price += 1
Traceback (most recent call last): File "/tmp/tmp49olfi6d/tmpm23ayelc.py", line 5, in <module> p_price, k_number = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s584032102
p04043
u083184913
1595881116
Python
Python (3.8.2)
py
Runtime Error
20
9092
109
val1=list(map(int,input().split())) val2=[input() for i in range(val1[0])] val2.sort() print("".join(val2))
Traceback (most recent call last): File "/tmp/tmpwrh_0k3_/tmpwao67r_3.py", line 1, in <module> val1=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s177801713
p04043
u083184913
1595880891
Python
Python (3.8.2)
py
Runtime Error
23
9060
108
val1=list(map(int,input().split())) val2=[input() for i in range(val1[0])] val2.sort() print("".join(val2))
Traceback (most recent call last): File "/tmp/tmpkdm1_jwj/tmpflevcfg7.py", line 1, in <module> val1=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s611815313
p04043
u980503157
1595870239
Python
Python (3.8.2)
py
Runtime Error
26
8812
93
s = input() s = s.split() s.sort() if s = ["5","5","7"]: print("YES") else: print("NO")
File "/tmp/tmpj_j0mkcj/tmp0d0t7ouc.py", line 6 if s = ["5","5","7"]: ^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s011417029
p04043
u045793300
1595684147
Python
Python (3.8.2)
py
Runtime Error
24
8964
108
s = map(int(input().split())) if s.count('7') == 1 and s.count('5') == 2: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpsf25op5n/tmpyvgtvh87.py", line 1, in <module> s = map(int(input().split())) ^^^^^^^ EOFError: EOF when reading a line
s376162228
p04043
u045793300
1595683752
Python
Python (3.8.2)
py
Runtime Error
28
8996
106
a, b, c = map(int(input().split())) if count(7) == 1 and count(5) == 2: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmptblue_se/tmpy4fvpbj5.py", line 1, in <module> a, b, c = map(int(input().split())) ^^^^^^^ EOFError: EOF when reading a line
s459207311
p04043
u000644874
1595621541
Python
Python (3.8.2)
py
Runtime Error
26
9140
123
N, L = map(int, input().split()) S = [input() for s in range(N)] S.sort() output = "" for i in S: output+=i prunt(output)
Traceback (most recent call last): File "/tmp/tmp1m2nps6a/tmp1kit9gtt.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s019555455
p04043
u000644874
1595620690
Python
Python (3.8.2)
py
Runtime Error
25
8872
108
a,b,c = sorted(map(int, input().split())) if (a+b+c==17)&(a==b)&(c==7): return("YES") else: return("NO")
File "/tmp/tmpumrnnbsa/tmpu0ps4auq.py", line 3 return("YES") ^^^^^^^^^^^^^ SyntaxError: 'return' outside function
s211401493
p04043
u637117687
1595462038
Python
Python (3.8.2)
py
Runtime Error
25
8984
145
def main(): 1st = input() 1st = 1st.split() 1st.sort() if x == ["5", "5", "7"]: print("YES") else: print("NO") main()
File "/tmp/tmpwad7uw_9/tmp_vc6lg87.py", line 2 1st = input() ^ SyntaxError: invalid decimal literal
s526486725
p04043
u414920281
1595341925
Python
Python (3.8.2)
py
Runtime Error
19
9036
121
abc=list(map(int,input().split())) abc.sort() if a[0]==5 and a[1]==5 and a[2]==7: print("YES") exit() print("NO")
Traceback (most recent call last): File "/tmp/tmpbcln505p/tmp2jxhbtwk.py", line 1, in <module> abc=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s489737343
p04043
u991604406
1594767952
Python
Python (3.8.2)
py
Runtime Error
22
9048
113
n, l = map(int, input().split()) s = [] for _ in range(n): s.append(input()) s = sorted(s) print(''.join(s))
Traceback (most recent call last): File "/tmp/tmpr68n2gwb/tmpxw2v46a9.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s839397582
p04043
u113255362
1594611667
Python
Python (3.8.2)
py
Runtime Error
23
9064
153
A,B,C = int(input()) res = "NO" if A == 5 or A == 7: if B == 5 or B == 7: if C == 5 or C == 7: if A+B+C == 17: res = "YES" print(res)
Traceback (most recent call last): File "/tmp/tmpiwvdu8wm/tmprjfuph5i.py", line 1, in <module> A,B,C = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s405860257
p04043
u328751895
1594607257
Python
Python (3.8.2)
py
Runtime Error
31
8900
395
clause_list = list(map(int, input().split())) for index, clause in enumerate(clause_list): if clause = 5: clause_list.pop(index) break for index, clause in enumerate(clause_list): if clause = 7: clause_list.pop(index) break for index, clause in enumerate(clause_list): if clause = 5: clause_list.pop(index) break print('YES' if len(clause_list) == 0 else 'NO')
File "/tmp/tmpf8xt8zu8/tmpc_upbp1p.py", line 4 if clause = 5: ^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s146945542
p04043
u328751895
1594607192
Python
Python (3.8.2)
py
Runtime Error
24
8956
398
clause_list = list(map(int, input())) for index, clause in enumerate(clause_list): if clause = 5: clause_list.pop(index) break for index, clause in enumerate(clause_list): if clause = 7: clause_list.pop(index) break for index, clause in enumerate(clause_list): if clause = 5: clause_list.pop(index) break print('YES' if len(clause_list) == 0 else 'NO')
File "/tmp/tmpk0_yi1lj/tmp_ct9e301.py", line 4 if clause = 5: ^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s222397154
p04043
u112065131
1594592877
Python
Python (3.8.2)
py
Runtime Error
20
8924
289
l = list(map(int, input().split())) counter5 = 0 counter7 = 0 for num in l: if num == 5: counter5+=1 if num == 7: counter7+=1 if counter5 == 2 and counter7 == 1: print("Yes") else: print("No")
File "/tmp/tmpmn3wjvc0/tmpk5zrnjdh.py", line 1 l = list(map(int, input().split())) IndentationError: unexpected indent
s291946795
p04043
u112065131
1594592352
Python
Python (3.8.2)
py
Runtime Error
21
8672
310
input = list(map(int, input().split())) print(input) counter5 = 0 counter7 = 0 for num in input: if num == 5: counter5+=1 if num == 7: counter7+=1 if counter5 == 2 and counter7 == 1: print("Yes") else: print("No")
File "/tmp/tmpu7plvdw6/tmpipg069mc.py", line 2 print(input) IndentationError: unexpected indent
s818200635
p04043
u112065131
1594592229
Python
Python (3.8.2)
py
Runtime Error
30
9016
413
# -*- coding: utf-8 -*- def main(): # input = "5 7 7" input = list(map(int, input().split())) print(input) counter5 = 0 counter7 = 0 for num in input: if num == 5: counter5+=1 if num == 7: counter7+=1 if counter5 == 2 and counter7 == 1: print("Yes") else: print("No") if __name__ == "__main__": main()
Traceback (most recent call last): File "/tmp/tmpbri9h0yl/tmpy8f95avs.py", line 26, in <module> main() File "/tmp/tmpbri9h0yl/tmpy8f95avs.py", line 4, in main input = list(map(int, input().split())) ^^^^^ UnboundLocalError: cannot access local variable 'input' where it is not associated with a value
s553232050
p04043
u934940582
1594395297
Python
Python (3.8.2)
py
Runtime Error
21
8876
131
input_line = input() haiku = input_line(" ") for i in haiku: if i != 5 and i != 7: print("NO") else: print("YES")
Traceback (most recent call last): File "/tmp/tmpcizonaaf/tmpv8ba52wo.py", line 1, in <module> input_line = input() ^^^^^^^ EOFError: EOF when reading a line
s711657154
p04043
u551857719
1594050895
Python
Python (3.8.2)
py
Runtime Error
19
8944
234
#!/usr/bin/python # -*- coding: UTF-8 -*- import sys def input(): return sys.stdin.readline().strip() def _main(): input() s = sorted(list(input().split())) print("".join(s)) if __name__ == "__main__": _main()
File "/tmp/tmpjnvrklj7/tmpaeycvo7h.py", line 13 s = sorted(list(input().split())) ^ IndentationError: unindent does not match any outer indentation level
s829532827
p04043
u799428010
1593890387
Python
Python (3.8.2)
py
Runtime Error
21
8884
63
N=input() if N in '575' print('YES') else : print('NO')
File "/tmp/tmpcc44k3gr/tmp24sxag3t.py", line 2 if N in '575' ^ SyntaxError: expected ':'
s654944161
p04043
u845982808
1593825079
Python
Python (3.8.2)
py
Runtime Error
19
8924
89
a = input().split() b = input().split() if a == b: print("yes") else: print("no")
Traceback (most recent call last): File "/tmp/tmp8asq_io6/tmpxfdx21lx.py", line 1, in <module> a = input().split() ^^^^^^^ EOFError: EOF when reading a line
s581145342
p04043
u845982808
1593823714
Python
Python (3.8.2)
py
Runtime Error
25
9000
109
a = map(int, input().split()) b = map(int, input().split()) if a == b: print("yes") else: print("no")
Traceback (most recent call last): File "/tmp/tmp8kw8l9kn/tmpj63kjyaj.py", line 1, in <module> a = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s279103648
p04043
u845982808
1593823317
Python
Python (3.8.2)
py
Runtime Error
31
9092
82
a, b = map(int, input().split()) if a == b: print("yes") else: print("no")
Traceback (most recent call last): File "/tmp/tmp2o5chsl0/tmpmys9omue.py", line 1, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s823412162
p04043
u487332991
1593720914
Python
PyPy3 (7.3.0)
py
Runtime Error
97
74768
258
A = int(input()) B = int(input()) B = int(input()) b_5 = 0 b_7 = 0 if A == 5: b_5 += 1 elif A == 7: b_7 += 1 if B == 5: b_5 +=1 elif B==7: b_7 += 1 if C==5: b_5 +=1 elif C==7: b_7 += 1 if b_5 == 2 and b_7 == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmphypm8je0/tmp_wygyg1k.py", line 1, in <module> A = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s369748779
p04043
u487332991
1593720812
Python
PyPy3 (7.3.0)
py
Runtime Error
97
74752
241
A = input() B = input() B = input() b_5 =0 b_7=0 if A == 5: b_5 += 1 elif A == 7: b_7 += 1 if B == 5: b_5 +=1 elif B==7: b_7 += 1 if C==5: b_5 +=1 elif C==7: b_7 += 1 if b_5 == 2 and b_7 == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp9nla9tx4/tmp8ezpyd4b.py", line 1, in <module> A = input() ^^^^^^^ EOFError: EOF when reading a line
s042464143
p04043
u770558697
1593656166
Python
Python (3.8.2)
py
Runtime Error
20
8768
123
a,b,c = map(int, input().split()) if a,b,c == 5,5,7 or a,b,c == 5,7,5 or a,b,c == 7,5,5: print("YES") else: print("NO")
File "/tmp/tmpqv11ei3d/tmp9gfwfko4.py", line 2 if a,b,c == 5,5,7 or a,b,c == 5,7,5 or a,b,c == 7,5,5: ^ SyntaxError: invalid syntax
s775127694
p04043
u333591669
1593651440
Python
Python (3.8.2)
py
Runtime Error
23
9032
214
def haiku(): a=int(input()) b=int(input()) c=int(input()) x=[a,b,c] if x==[5,7,5] or x==[5,5,7] or x==[7,5,5] : print('yes') else: print('no') haiku()
Traceback (most recent call last): File "/tmp/tmplak1e8id/tmpj1l5lx2k.py", line 13, in <module> haiku() File "/tmp/tmplak1e8id/tmpj1l5lx2k.py", line 2, in haiku a=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s021841369
p04043
u809819902
1593564614
Python
Python (3.8.2)
py
Runtime Error
22
9080
34
n = int(input()) print(n*(n+1)//2)
Traceback (most recent call last): File "/tmp/tmp9lgawjfb/tmpevxytft4.py", line 1, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s422096951
p04043
u078276601
1593456004
Python
Python (3.8.2)
py
Runtime Error
20
8976
354
a,b,c = map(int, input().split()) if len(a) == 7: if len(b) == 5 and len(c) == 5: print("Yes") else: print("No") if len(b) == 7: if len(a) == 5 and len(c) == 5: print("Yes") else: print("No") if len(c) == 7: if len(a) == 5 and len(b) == 5: print("Yes") else: print("No")
Traceback (most recent call last): File "/tmp/tmp9ua9h33o/tmpv964cbq_.py", line 1, in <module> a,b,c = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s214468460
p04043
u279005807
1593388381
Python
Python (3.8.2)
py
Runtime Error
25
9116
623
n, k = (input().split()) n = list(map(int, n)); dSet = set(map(int, input().split())) okList = [i for i in range(10) if i not in dSet] i = len(n) while i >= 0: i -= 1 if n[i] in okList: continue for y in okList: if n[i] < y: n[i] = y j = i+1 while j < len(n): n[j] = okList[0] j += 1 break else: if i - 1 < 0: n = [0] + n i += 1 n[i - 1] += 1 j = i while j < len(n): n[j] = okList[0] j += 1 print(int("".join(list(map(str, n)))))
Traceback (most recent call last): File "/tmp/tmpin3chehi/tmp79qtl5gn.py", line 1, in <module> n, k = (input().split()) ^^^^^^^ EOFError: EOF when reading a line
s105504565
p04043
u785354231
1593240378
Python
Python (3.8.2)
py
Runtime Error
22
9048
188
data = input().split() seven = 0 five = 0 for i in range(data): if int(i) == 7: seven += 1 elif int(i) == 5: five +=1 if seven == 1 and five == 2: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpauozz7b6/tmpoyd9bl88.py", line 1, in <module> data = input().split() ^^^^^^^ EOFError: EOF when reading a line
s888844946
p04043
u552738814
1593193832
Python
Python (3.8.2)
py
Runtime Error
18
9112
161
n,l = map(int,input().split()) list = [] for i in range(n): word = input() list.append(word) list_connect = "".join(sorted(list)) print(list_connect)
Traceback (most recent call last): File "/tmp/tmpuyai87l6/tmpxfxz7ewm.py", line 1, in <module> n,l = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s138193440
p04043
u552738814
1593193772
Python
Python (3.8.2)
py
Runtime Error
24
9024
162
n,l = map(int,input().split()) list = [] for i in range(n): word = input() list.append(word) list_connect = "".join(sorted(list)) print(list_connect)
Traceback (most recent call last): File "/tmp/tmphp2p2e1c/tmps0gh1ok6.py", line 1, in <module> n,l = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s003735009
p04043
u552738814
1593193648
Python
Python (3.8.2)
py
Runtime Error
28
9024
161
n,l = map(int,input().split()) list = [] for i in range(n): word = input() list.append(word) list_connect = "".join(sorted(list)) print(list_connect)
Traceback (most recent call last): File "/tmp/tmptxa94_mm/tmp13rsw2tv.py", line 1, in <module> n,l = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s513099592
p04043
u867195562
1593187013
Python
Python (3.8.2)
py
Runtime Error
20
8972
37
l = [A, B, C] for i in l: print(i)
Traceback (most recent call last): File "/tmp/tmprk4j1ple/tmpltaez3f5.py", line 1, in <module> l = [A, B, C] ^ NameError: name 'A' is not defined
s994508311
p04043
u697615293
1593016661
Python
Python (3.8.2)
py
Runtime Error
20
9036
163
from sys import stdin A,B,C = [int(x) for x in stdin.realine().rstrip().split()] if A+B+C == 17 and A>=5 and B>=5 and C>=5: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp8uefl2iv/tmpi77wt256.py", line 3, in <module> A,B,C = [int(x) for x in stdin.realine().rstrip().split()] ^^^^^^^^^^^^^ AttributeError: '_io.TextIOWrapper' object has no attribute 'realine'. Did you mean: 'readline'?
s490837017
p04043
u697615293
1593016239
Python
Python (3.8.2)
py
Runtime Error
21
9068
135
A = int(input()) B = int(input()) C = int(input()) if A+B+C == 17 and A >= 5 and B >= 5 and C >= 5: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp429pmela/tmpx1i2ikug.py", line 1, in <module> A = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s781513145
p04043
u820195841
1592936153
Python
Python (3.8.2)
py
Runtime Error
21
9016
123
stdin << A, B, C lst = [A, B, C] sl = sort(lst) if sl[0] == 5 && sl[1] == 5 && sl[2] == 7 print('YES') else print('NO')
File "/tmp/tmph20v762u/tmplc4df8yo.py", line 4 if sl[0] == 5 && sl[1] == 5 && sl[2] == 7 ^ SyntaxError: invalid syntax
s176433978
p04043
u710398282
1592926096
Python
Python (3.8.2)
py
Runtime Error
25
9072
173
a, b, c = [int(3) for 3 in input().split() ] mylist = [5, 7] if ( a in mylist and b in mylist and c in mylist and a + b + c == 17 ): print("YES") else: print("NO")
File "/tmp/tmpo9e46l6s/tmp38xyeusx.py", line 1 a, b, c = [int(3) for 3 in input().split() ] ^ SyntaxError: cannot assign to literal
s076227002
p04043
u124063060
1592879806
Python
Python (3.8.2)
py
Runtime Error
22
9164
139
num = list(map(int, input().split())) num = num.sorted if(num[0]==5 and num[1]==5 and num[2] == 7): print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmptwr8u2vf/tmpjg3rpjks.py", line 1, in <module> num = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s098515670
p04043
u793430793
1592800926
Python
Python (3.8.2)
py
Runtime Error
24
8816
116
#ABC042B N,L=map(int,input().split()) a=[] for i in range(N) a.append(input()) a.sort() print(''.join(a))
File "/tmp/tmpe68xg4w8/tmp0g9akv4o.py", line 5 for i in range(N) ^ SyntaxError: expected ':'
s134447825
p04043
u793430793
1592800903
Python
Python (3.8.2)
py
Runtime Error
29
8872
116
#ABC042B N,L=map(int,input().split()) a=[] for i in range(n) a.append(input()) a.sort() print(''.join(a))
File "/tmp/tmpo_egelzh/tmp0i5x9jxg.py", line 5 for i in range(n) ^ SyntaxError: expected ':'
s762234134
p04043
u706414019
1592732406
Python
Python (3.8.2)
py
Runtime Error
22
8896
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/tmpcq7_km04/tmp3ankoc_j.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line