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
s528597953
p04043
u959813156
1592694680
Python
Python (3.8.2)
py
Runtime Error
24
9008
337
bunsetsu_set = {A, B, C} lst575 = [] for bunsetsu1 in bunsetsu_set: lst575.append(bunsetsu1) bunsetsu_set.remove(bunsetsu1) for bunsetsu2 in bunsetsu_set: lst575.append(bunsetsu2) bunsetsu_set.remove(bunsetsu2) lst575.append(bunsetsu_set.pop()) if lst575 == [5,7,5]: print('YES') break print('NO')
Traceback (most recent call last): File "/tmp/tmp09qwyhrm/tmpvm0_g1vj.py", line 1, in <module> bunsetsu_set = {A, B, C} ^ NameError: name 'A' is not defined
s979837607
p04043
u021770165
1592591438
Python
Python (3.8.2)
py
Runtime Error
19
9100
84
A,B,C = int(input().split()) X = A+B+C if X ==17: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpq6wf_ict/tmpyv6lit_n.py", line 1, in <module> A,B,C = int(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s068586565
p04043
u197237612
1592541053
Python
Python (3.8.2)
py
Runtime Error
23
9172
171
s = list(map(int, input().split())) for i in s: if i == 5: count5+=1 else: count7+=1 if count5 == 2 and count7 == 1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpq3lstiww/tmp7j682tcw.py", line 1, in <module> s = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s450945584
p04043
u253011685
1592531209
Python
Python (3.8.2)
py
Runtime Error
25
8816
314
#include <bits/stdc++.h> using namespace std; int main() { int A,B,C; cin >> A>>B>>C; if(A==7 && B==5 && C==5){ cout << "YES" << endl; }else if (A==7 && B==5 && C==5) { cout << "YES" << endl; }else if (A==5 && B==5 && C==7){ cout << "YES" << endl; }else{ cout << "NO" << endl; } }
File "/tmp/tmp177c0m8s/tmpnwj_wsdw.py", line 2 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s026567800
p04043
u475847099
1592446171
Python
Python (3.4.3)
py
Runtime Error
17
3060
192
from sys import stdin a = stdin.readline().rstrip() b = [5,5,7] c = [5,7,5] d = [7,5,5] if a == b: print(YES) if a ==c: print(YES) if a == d: print(YES) else: print(NO)
Traceback (most recent call last): File "/tmp/tmpfhg431_x/tmp27pv79ro.py", line 18, in <module> print(NO) ^^ NameError: name 'NO' is not defined
s001375913
p04043
u475847099
1592445811
Python
Python (3.4.3)
py
Runtime Error
17
3064
239
from sys import stdin a = stdin.readline().rstrip() a_int = [int(i) for i in a] b = [5,5,7] c = [5,7,5] d = [7,5,5] if a_int == b: print("YES") if a_int ==c: print("YES") if a_int == d: print("YES") else: print("NO")
NO
s628614675
p04043
u475847099
1592445323
Python
Python (3.4.3)
py
Runtime Error
17
3060
267
from sys import stdin a = stdin.readline().rstrip() a_int = [int(a) for i in a] b = [5,5,7] c = [5,7,5] d = [7,5,5] def hantei(): if a_int == b: print("YES") if a_int ==c: print("YES") if a_int == d: print("YES") else: print("NO") return
s238485358
p04043
u475847099
1592444832
Python
Python (3.4.3)
py
Runtime Error
17
2940
161
a = [input for i in range(3)] b = [5,5,7] c = [5,7,5] d = [7,5,5] if a == b: print(YES) if a == c: print(YES) if a == d: pritn(YES) else: print(N0)
Traceback (most recent call last): File "/tmp/tmpt7a69pda/tmpt0pdbgka.py", line 14, in <module> print(N0) ^^ NameError: name 'N0' is not defined
s061070018
p04043
u671204079
1592337335
Python
Python (3.4.3)
py
Runtime Error
17
2940
119
A,B,C= map(int, input().split()) i = A*100 + B*10 + C if i==557 or i==575 or i= 755: print('YES') else: print('NO')
File "/tmp/tmpynw0pxpi/tmpqhtl2iz2.py", line 3 if i==557 or i==575 or i= 755: ^ SyntaxError: invalid syntax
s882749545
p04043
u798400260
1592260002
Python
Python (2.7.6)
py
Runtime Error
10
2568
185
n = map(int,input().split()) nana = 0 go = 0 for i in n: if i == 5: go +=1 elif i ==7: nana +=1 if nana ==1 and go ==2: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp7f4s_kjc/tmpk0kxqh2y.py", line 1, in <module> n = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s021055648
p04043
u149551680
1592228318
Python
Python (3.4.3)
py
Runtime Error
17
2940
154
N, L = list(map(int, input().strip().split())) strl = [input().strip() for s in range(N)] strl = sorted(strl) s = '' for t in strl: s += str(t) print(s)
Traceback (most recent call last): File "/tmp/tmpdqqwqnw7/tmp383rwm6x.py", line 1, in <module> N, L = list(map(int, input().strip().split())) ^^^^^^^ EOFError: EOF when reading a line
s617098756
p04043
u737840172
1592081526
Python
Python (3.4.3)
py
Runtime Error
17
2940
220
# Vicfred # https://atcoder.jp/contests/abc042/tasks/abc042_a # sorting import algorithm, strutils, sequtils var line = stdin.readLine.split.map(parseInt) line.sort if line == [5, 5, 7]: echo "YES" else: echo "NO"
File "/tmp/tmpfsh8qoi1/tmpeddevn3z.py", line 6 var line = stdin.readLine.split.map(parseInt) ^^^^ SyntaxError: invalid syntax
s323986244
p04043
u790965152
1592024116
Python
Python (3.4.3)
py
Runtime Error
17
3060
266
#!/usr/bin/env python3 n, k = map(int, input().split()) D = list(map(int, input().split())) paid = n while True: st = set(int(x) for x in str(paid)) l = len(st) if len([x for x in st if x not in D]) == l: print(paid) break paid += 1
Traceback (most recent call last): File "/tmp/tmpjxdzz_0h/tmpla5x9s9o.py", line 3, in <module> n, k = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s826454937
p04043
u790965152
1592024063
Python
Python (3.4.3)
py
Runtime Error
17
3060
270
#!/usr/bin/env python3 n, k = map(int, input().split()) D = list(map(int, input().split())) price = n while True: st = set(int(x) for x in str(price)) l = len(st) if len([x for x in st if x not in D]) == l: print(price) break price += 1
Traceback (most recent call last): File "/tmp/tmpgdq40m4w/tmpdiron9br.py", line 3, in <module> n, k = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s194227482
p04043
u790965152
1592023847
Python
Python (3.4.3)
py
Runtime Error
17
3060
287
#!/usr/bin/env python3 import sys n, k = map(int, input().split()) D = list(map(int, input().split())) for i in range(1, 100): total = n * i st = set(int(x) for x in str(total)) l = len(st) if len([x for x in st if x not in D]) == l: print(total) break
Traceback (most recent call last): File "/tmp/tmp_ict_d_1/tmplfx9v7im.py", line 5, in <module> n, k = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s340694403
p04043
u790965152
1592021671
Python
Python (3.4.3)
py
Runtime Error
17
2940
137
#!/usr/bin/env python3 n, l = map(int, input().split()) s = [] for _ in range(n): s.append(str(input())) print(''.join(sorted(s)))
Traceback (most recent call last): File "/tmp/tmp2heb9_wg/tmpcu8rih9z.py", line 3, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s076005814
p04043
u790965152
1592020054
Python
Python (3.4.3)
py
Runtime Error
17
3060
345
import sys import os def judge_575(args): count5 = [int(x) for x in args ].count(5) count7 = [int(x) for x in args ].count(7) if count5 == 2 and count7 == 1: print('YES') return print('NO') if __name__ == "__main__": if len(sys.argv) < 4: print('NO') os.exit(0) judge_575(sys.argv[1:])
Traceback (most recent call last): File "/tmp/tmp6pw_9dj8/tmpt_m0rnkf.py", line 16, in <module> os.exit(0) ^^^^^^^ AttributeError: module 'os' has no attribute 'exit'. Did you mean: '_exit'?
NO
s650578222
p04043
u100927237
1591964761
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
s = input() if s = "7 5 5" or "5 7 5" or "5 5 7": print("YES") else: print("NO")
File "/tmp/tmpq0ghn9d9/tmp8f2381nq.py", line 2 if s = "7 5 5" or "5 7 5" or "5 5 7": ^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s077751753
p04043
u514118270
1591838180
Python
Python (3.4.3)
py
Runtime Error
17
2940
125
N,L = map(int,input().split()) S = [input() for i_ in range(N)] S.sort() s = S[0] for i in range(1,N): s += S[i] print(s)
Traceback (most recent call last): File "/tmp/tmpv0cb_sw6/tmp5mfwp3nv.py", line 1, in <module> N,L = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s356362881
p04043
u929780469
1591783789
Python
Python (3.4.3)
py
Runtime Error
16
2940
137
A = input() B = input() C = input() if A == 5: print('YES') elif B == 5: print('YES') elif C == 7: print('YES') else: print("NO")
Traceback (most recent call last): File "/tmp/tmp21c08171/tmpt36swjts.py", line 1, in <module> A = input() ^^^^^^^ EOFError: EOF when reading a line
s423366946
p04043
u642874916
1591712197
Python
Python (3.4.3)
py
Runtime Error
17
2940
120
L = sort(list(map(int, input().split()))) if L[0] == 5 and L[1] == 5 and L[2] == 7: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmp_s8m6crv/tmppp3biwbw.py", line 1, in <module> L = sort(list(map(int, input().split()))) ^^^^ NameError: name 'sort' is not defined. Did you mean: 'sorted'?
s454529086
p04043
u357751375
1591676762
Python
Python (3.4.3)
py
Runtime Error
17
2940
113
n,l = map(int,input().split()) s = [] for i in range(n): s.append(input()) g = sorted(s) print(''.join(g))
Traceback (most recent call last): File "/tmp/tmpcnfyf9bq/tmp1__t53hw.py", line 1, in <module> n,l = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s493597673
p04043
u256363575
1591561555
Python
Python (3.4.3)
py
Runtime Error
17
2940
149
l,m,n = map(int, input().split()) newlist = sorted([l,m,n]) if newlist(1)==5 & newlist(2)==5 & newlist(3)==7: print(str(YES)) else print(str(NO))
File "/tmp/tmposbyb6pk/tmpu7haqs2d.py", line 5 else print(str(NO)) ^^^^^ SyntaxError: expected ':'
s076338543
p04043
u199272404
1591551514
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
a, b, c = int(input()) if (a + b + c) == 17: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpw473n4fn/tmprpye0u7p.py", line 1, in <module> a, b, c = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s885335531
p04043
u199272404
1591551456
Python
Python (3.4.3)
py
Runtime Error
17
2940
80
a, b, c = int(input()) if (a + b + c) == 19: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpic7vo0ty/tmpjghvyt27.py", line 1, in <module> a, b, c = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s640490916
p04043
u516579758
1591466724
Python
Python (3.4.3)
py
Runtime Error
18
2940
94
a,b,c=map(int,input().split()) if set(a,b,c)=={5,5,7}: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpbor0jm4o/tmpxabskio1.py", line 1, in <module> a,b,c=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s065952591
p04043
u685244071
1591373148
Python
Python (3.4.3)
py
Runtime Error
17
2940
170
A, B, C = map(int, input().split()) if A + B + C == 17: if (A = 5 or 7) and (B = 5 or 7) and (C = 5 or 7): print('YES') else: print('NO') else: print('NO')
File "/tmp/tmp1gykl6p3/tmpr_qm85m5.py", line 4 if (A = 5 or 7) and (B = 5 or 7) and (C = 5 or 7): ^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s764336338
p04043
u067986264
1591243337
Python
Python (3.4.3)
py
Runtime Error
17
2940
98
a = list(map(int, intput().split())) a.sort() if a = [5, 5, 7]: print("YES") else: print("NO")
File "/tmp/tmppy2dr8yd/tmp44qb2dq1.py", line 3 if a = [5, 5, 7]: ^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s398248962
p04043
u895993079
1591226828
Python
Python (3.4.3)
py
Runtime Error
17
3060
191
a = list(map(int,input().split())) print(a) if int(''.join(a)) == 775: print("YES") elif int(''.join(a)) == 757: print("YES") elif int(''.join(a)) == 577: print("YES") else: print(NO)
Traceback (most recent call last): File "/tmp/tmpfl60txup/tmp4ptuzlyz.py", line 1, in <module> a = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s102452102
p04043
u895993079
1591226778
Python
Python (3.4.3)
py
Runtime Error
17
3060
192
a = list(map(int,input().split())) print(a) if int(''.join(a)) == 775: print("YES") elif int(''.join(a)) == 757: print("YES") elif int(''.join(a)) == 577: print("YES") else: print(NO)
Traceback (most recent call last): File "/tmp/tmp0zfr7zco/tmppu53yhg0.py", line 1, in <module> a = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s220285283
p04043
u435721973
1590689961
Python
Python (3.4.3)
py
Runtime Error
17
2940
128
nums = list(map(int, input().split(""))) if sum(nums) == 17 and (5 in nums) and (7 in nums): print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp997vvpo6/tmpm1k4mudc.py", line 1, in <module> nums = list(map(int, input().split(""))) ^^^^^^^ EOFError: EOF when reading a line
s360005147
p04043
u342747506
1590632868
Python
Python (3.4.3)
py
Runtime Error
16
2940
249
a,b,c = map(int,input().split()) if a+b+c == 17: if a == 5 or 7: if b == 5 or 7: if c == 5 or 7: print("Yes") else: print("No") else: print("No") else: print("No") else: print("No")
File "/tmp/tmp2vx5dp6_/tmpdfpw4dn0.py", line 4 if b == 5 or 7: ^ IndentationError: unindent does not match any outer indentation level
s306194038
p04043
u038956510
1590485734
Python
Python (3.4.3)
py
Runtime Error
17
3060
245
user_input = map(int, input().split()) five = 0 seven = 0 for i in len(user_input): if user_input[i] == 5: five += 1 elif user_input[i] == 7: seven += 1 if five == 2 and seven == 1: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpf6zyc05q/tmpee42uvbw.py", line 1, in <module> user_input = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s639990786
p04043
u038956510
1590485577
Python
Python (3.4.3)
py
Runtime Error
17
3060
240
user_input = int(input().split()) five = 0 seven = 0 for i in len(user_input): if user_input[i] == 5: five += 1 elif user_input[i] == 7: seven += 1 if five == 2 and seven == 1: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmptx9x6hmt/tmp89n587r7.py", line 1, in <module> user_input = int(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s784500064
p04043
u588163461
1590462063
Python
Python (3.4.3)
py
Runtime Error
16
3056
372
#!/usr/bin/env python3 """ Lの文字列N個(s1-sN) N個の文字列を辞書順にしたあと,くっつけて出力する """ def main(): l, n = map(int, input().split()) input_list = [] for i in range(n): input_list.append(input()) result_list = sorted(input_list) print("".join(result_list)) if __name__ == "__main__": main()
Traceback (most recent call last): File "/tmp/tmpra62tied/tmp8we967ag.py", line 21, in <module> main() File "/tmp/tmpra62tied/tmp8we967ag.py", line 10, in main l, n = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s979752244
p04043
u552738814
1590455218
Python
Python (3.4.3)
py
Runtime Error
17
3060
167
list = list(map(int,input().split())) if list == [5,5,7]: print(YES) elif list == [5,7,5]: print(YES) elif list == [7,5,7]: print(YES) else: print(NO)
Traceback (most recent call last): File "/tmp/tmp1f3irtz5/tmpveemn1sr.py", line 1, in <module> list = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s320392467
p04043
u900848560
1590453056
Python
PyPy3 (2.4.0)
py
Runtime Error
181
39408
169
a=input().split(" ") list1=[] c="" for i in range(int(a[0])): b=input() list1.append(b) list2=sorted(list1) for j in range(int(a[0])): c=c+list2[j] print(c)
Traceback (most recent call last): File "/tmp/tmpoh4fml49/tmpgx9be8bw.py", line 1, in <module> a=input().split(" ") ^^^^^^^ EOFError: EOF when reading a line
s135942540
p04043
u850582941
1590334514
Python
Python (3.4.3)
py
Runtime Error
16
2940
142
N,L = list(map(int,input().split())) Iloha = [] for i in range(N): S = input() Iloha.append(S) Iloha.sort() print("".join(Iloha))
Traceback (most recent call last): File "/tmp/tmpmd_en53o/tmp2_bwhn5g.py", line 1, in <module> N,L = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s843035274
p04043
u598563244
1590329109
Python
Python (3.4.3)
py
Runtime Error
17
2940
199
a,b,c = int(input(),split(,)) x = [a,b,c] def No(): print("NO") if sum(x) == 17: if x.count(5) == 2: if x.index(7) = 7: print("YES") else: No() else: No() else: No()
File "/tmp/tmpp1ngz7gb/tmp00u46u8q.py", line 1 a,b,c = int(input(),split(,)) ^ SyntaxError: invalid syntax
s565276906
p04043
u854992222
1590263286
Python
Python (3.4.3)
py
Runtime Error
17
2940
110
n = list(map(int, input().split())) if n.count(5) == 2 and n.count(7) == 1: print('YES') else: orint('NO')
Traceback (most recent call last): File "/tmp/tmpzankam_7/tmpy1fwgfjo.py", line 1, in <module> n = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s921618481
p04043
u763396655
1590252231
Python
Python (3.4.3)
py
Runtime Error
22
3572
153
from functools import reduce from operator import mul n = int(input()) s = reduce(mul, map(int, input().split(' '))) print('YES' if s == 175 else 'NO')
Traceback (most recent call last): File "/tmp/tmplvl3gncu/tmpikkaa7lr.py", line 4, in <module> n = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s681427599
p04043
u195396655
1590106322
Python
Python (3.4.3)
py
Runtime Error
17
2940
84
n,l=map(int,input().split()) s=sorted([input() for i in range(n)]) print(*s,sep="")
Traceback (most recent call last): File "/tmp/tmpw_ee8i3x/tmpyi5g4q_z.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s849550847
p04043
u345098334
1589949177
Python
Python (3.4.3)
py
Runtime Error
17
2940
109
list = input().split() ans = list[0] * list[1] * list[2] if ans == 5*5*7: Print('YES') else: Print('NO)
File "/tmp/tmp1ggzanh6/tmp_q682f12.py", line 7 Print('NO) ^ SyntaxError: unterminated string literal (detected at line 7)
s702250189
p04043
u345098334
1589949131
Python
Python (3.4.3)
py
Runtime Error
17
2940
112
list = input().split() ans = input[0] * input[1] * input[2] if ans == 5*5*7: Print('YES') else: Print('NO)
File "/tmp/tmp9n2g0giq/tmpkorhc05n.py", line 7 Print('NO) ^ SyntaxError: unterminated string literal (detected at line 7)
s543432525
p04043
u919274345
1589821823
Python
Python (3.4.3)
py
Runtime Error
17
2940
265
if A == 5: if B == 7: if C == 5: print("YES") else: print("NO") elif B == 5: if C == 7: print("YES") else: print("NO") else: print("NO") elif A == 7: if B == 5 and C == 5: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmprk5dwotb/tmpsvlmsnk6.py", line 1, in <module> if A == 5: ^ NameError: name 'A' is not defined
s639493230
p04043
u190866453
1589738918
Python
Python (3.4.3)
py
Runtime Error
16
2940
120
List = list(map(int, input().split())) if sum(list) == 17 and List.count(5) == 2: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmpu9xovpau/tmp9xtlsxp6.py", line 1, in <module> List = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s188923950
p04043
u321804710
1589689817
Python
Python (3.4.3)
py
Runtime Error
17
2940
108
A= list(int(input().split(' '))) if A.count(5) == 2 and A.coutn(7) == 1: print('YES') else: print('NO')
Traceback (most recent call last): File "/tmp/tmp3hka_uvq/tmpqs4qao2k.py", line 1, in <module> A= list(int(input().split(' '))) ^^^^^^^ EOFError: EOF when reading a line
s225212615
p04043
u742729271
1589688976
Python
Python (3.4.3)
py
Runtime Error
17
3060
364
K, N = map(int, input().split()) D = list(map(int, input().split())) D.sort() flag = False while True: K_str = str(K) for i in range(len(K_str)): for j in range(len(D)): if K_str[len(K_str)-1-i]==str(D[j]): flag=False break if j==len(D)-1: flag = True if not flag: break if flag: break K+=1 print(K)
Traceback (most recent call last): File "/tmp/tmpcazv5lgm/tmplnwk7nge.py", line 1, in <module> K, N = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s123676666
p04043
u670334135
1589668943
Python
Python (3.4.3)
py
Runtime Error
17
2940
129
iroha = input() iroha = iroha.split(" ") iroha = sorted(iroha) if iroha = ["5", "5", "7"]: print("YES") else: print("NO")
File "/tmp/tmplot17a0n/tmp2i3pvasg.py", line 4 if iroha = ["5", "5", "7"]: ^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s567097189
p04043
u670334135
1589668765
Python
Python (3.4.3)
py
Runtime Error
17
2940
125
iroha = input() iroha = iroha.split(" ") iroha = sorted(iroha) if iroha = ["5", "5", "7"]: print("YES") else: print("NO")
File "/tmp/tmprq0v3zud/tmpto_fbf_m.py", line 4 if iroha = ["5", "5", "7"]: ^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s187659091
p04043
u345336405
1589525772
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
n, l= map(int, input().split()) s=sorted([input () for i in ranage(n)]) print("".join(s))
Traceback (most recent call last): File "/tmp/tmp0n998_ji/tmpe5s5k9ln.py", line 1, in <module> n, l= map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s922366364
p04043
u683956577
1589487645
Python
Python (3.4.3)
py
Runtime Error
17
2940
106
A B C = list(map(int, input().split())) a = A B C print("Yes" if a[0]== a[2] == 5 and a[1] == 7 else "No")
File "/tmp/tmp2qhpkja3/tmpu5owyjau.py", line 1 A B C = list(map(int, input().split())) ^ SyntaxError: invalid syntax
s855456758
p04043
u527454768
1589394886
Python
Python (3.4.3)
py
Runtime Error
17
2940
94
N=list(map(int,input(),split())) if sorted(N)==[5,7,7]: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp_o_lxlnr/tmpfptgx_dx.py", line 1, in <module> N=list(map(int,input(),split())) ^^^^^^^ EOFError: EOF when reading a line
s254460121
p04043
u527454768
1589394836
Python
Python (3.4.3)
py
Runtime Error
17
2940
94
N=list(map(int.input(),split())) if sorted(N)==[5,7,7]: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpq0oul5xu/tmp2iqvx4nq.py", line 1, in <module> N=list(map(int.input(),split())) ^^^^^^^^^ AttributeError: type object 'int' has no attribute 'input'
s910302464
p04043
u887147934
1589379973
Python
Python (3.4.3)
py
Runtime Error
17
2940
94
ABC=list(map(int,input().split())) print("YES" if ABC.count(5)=2 and ABC.count(7)=1 else "NO")
File "/tmp/tmpcci7s9z7/tmpv0h0hyv9.py", line 2 print("YES" if ABC.count(5)=2 and ABC.count(7)=1 else "NO") ^^^^^^^^^^^^^^^^^^^^^ SyntaxError: expected 'else' after 'if' expression
s959996138
p04043
u887147934
1589379820
Python
Python (3.4.3)
py
Runtime Error
17
2940
123
G=list(map(int,input().split()) if list.count(7)=2 and list.count(5)=1: print("YES") else: print("NO")
File "/tmp/tmp251xohnr/tmp1gc0uurm.py", line 1 G=list(map(int,input().split()) ^ SyntaxError: '(' was never closed
s551909050
p04043
u996996256
1589372509
Python
Python (3.4.3)
py
Runtime Error
19
2940
79
l = map(int, input().split()) l.sort() print("YES" if l == [5, 5, 7] else "NO")
Traceback (most recent call last): File "/tmp/tmpohe6wq1j/tmp8ofbupod.py", line 1, in <module> l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s968993519
p04043
u996996256
1589372291
Python
Python (3.4.3)
py
Runtime Error
17
2940
79
l = map(int, input().split()) l.sort() print("Yes" if l == [5, 5, 7] else "No")
Traceback (most recent call last): File "/tmp/tmpacf_roda/tmp35_zgbx2.py", line 1, in <module> l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s017450197
p04043
u996996256
1589372244
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
l = map(int, input().split()) print("Yes" if l.sort() == [5, 5, 7] else "No")
Traceback (most recent call last): File "/tmp/tmpnevojpft/tmp6qbx5rqt.py", line 1, in <module> l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s858898870
p04043
u996996256
1589372170
Python
Python (3.4.3)
py
Runtime Error
17
2940
84
l = map(int, input().split()) print("Yes") if l.sort() == [5, 5, 7] else print("No")
Traceback (most recent call last): File "/tmp/tmp2it8dz3c/tmp1p_a0nwg.py", line 1, in <module> l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s499621481
p04043
u161857411
1589324166
Python
Python (3.4.3)
py
Runtime Error
17
3060
233
n,k = input().split() hate_num = input().split() num = int(n) boo = False while(boo == False): dec = [] for i in str(num): dec.append(i not in hate_num) if(False not in dec): boo = True num += 1 print(num-1)
Traceback (most recent call last): File "/tmp/tmpw8nm1xh_/tmpce0vcbez.py", line 1, in <module> n,k = input().split() ^^^^^^^ EOFError: EOF when reading a line
s216813185
p04043
u285891772
1589303231
Python
Python (3.4.3)
py
Runtime Error
18
3064
915
Copy Copy import sys, re from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, tan, asin, acos, atan, radians, degrees, log2 from itertools import accumulate, permutations, combinations, combinations_with_replacement, product, groupby from operator import itemgetter, mul from copy import deepcopy from string import ascii_lowercase, ascii_uppercase, digits from bisect import bisect, bisect_left from fractions import gcd from heapq import heappush, heappop from functools import reduce def input(): return sys.stdin.readline().strip() def INT(): return int(input()) def MAP(): return map(int, input().split()) def LIST(): return list(map(int, input().split())) def ZIP(n): return zip(*(MAP() for _ in range(n))) sys.setrecursionlimit(10 ** 9) INF = float('inf') mod = 10 ** 9 + 7 A = LIST() if A.sort() == [5, 5, 7]: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpwoeu1gdw/tmpkjh5far_.py", line 3, in <module> Copy NameError: name 'Copy' is not defined
s531959275
p04043
u145410317
1589236325
Python
Python (3.4.3)
py
Runtime Error
17
2940
128
numArray = list(map(int, input().split())) if numArray.count(5) == 2 && numArray.count(7) == 1: print("YES") else: print("NO")
File "/tmp/tmpejpbv0r1/tmpz3ox2hry.py", line 4 if numArray.count(5) == 2 && numArray.count(7) == 1: print("YES") ^ SyntaxError: invalid syntax
s067514006
p04043
u863397945
1589195209
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
if int(A)*int(B)*int(C)==5*7*7: print("Yes") else: print("No")
Traceback (most recent call last): File "/tmp/tmptcpf_bgl/tmpdnmhval0.py", line 1, in <module> if int(A)*int(B)*int(C)==5*7*7: ^ NameError: name 'A' is not defined
s226779612
p04043
u034317028
1589169190
Python
Python (3.4.3)
py
Runtime Error
17
2940
103
X = list(input().split()) if X.count("5") == 2 and X.count("7") == 1: print("YES") else print("NO")
File "/tmp/tmp6bao2fqa/tmptsvfmmaa.py", line 4 else print("NO") ^^^^ SyntaxError: invalid syntax
s024192955
p04043
u517630860
1589152185
Python
Python (3.4.3)
py
Runtime Error
18
3060
425
# -*- coding: utf-8 -*- def forgive(num): for i in range(10): if ((num + i) % 10) in unforgiven: continue else: return num + i N, K = map(int, input().split()) unforgiven = list(map(int, input().split())) unforgiven.sort() price = [int(x) for x in str(N)] purchase = 0 dig = 0 for num in reversed(price): purchase += forgive(num) * (10 ** dig) dig += 1 print(purchase)
Traceback (most recent call last): File "/tmp/tmpb9v_45ub/tmpjd2g3t3e.py", line 10, in <module> N, K = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s352233328
p04043
u446451725
1589087357
Python
Python (3.4.3)
py
Runtime Error
18
3064
454
import itertools NK = input().split() N = NK[0] K = int(NK[1]) d = input().split() D = [int[s] for s in d] Da = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] for i in D: Da.remove(i) Da_str = [str(j) for j in Da] a_1 = [''.join(j) for j in itertools.product(Da_str, repeat=len(N))] a_2 = [''.join(j) for j in itertools.product(Da_str, repeat=len(N)+1)] a = a_1 + a_2 nu = [int(k) for k in a] for i in nu: if i >= int(N): print(i) break
Traceback (most recent call last): File "/tmp/tmpgfuho1og/tmp3i9etumq.py", line 2, in <module> NK = input().split() ^^^^^^^ EOFError: EOF when reading a line
s014936116
p04043
u446451725
1589086787
Python
Python (3.4.3)
py
Runtime Error
18
3064
460
import itertools NK = input().split() N = NK[0] K = int(NK[1]) d = input().split() D = [int[s] for s in d] Da = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] for i in range(len(D)): Da.remove(D[i]) Da_str = [str(j) for j in Da] a_1 = [''.join(j) for j in itertools.product(b_st, repeat=len(N))] a_2 = [''.join(j) for j in itertools.product(b_st, repeat=len(N)+1)] a = a_1 + a_2 nu = [int(k) for k in a] for i in nu: if i >= N: print(i) break
Traceback (most recent call last): File "/tmp/tmps8fmpn8j/tmp40s4gxd4.py", line 2, in <module> NK = input().split() ^^^^^^^ EOFError: EOF when reading a line
s106313885
p04043
u250944591
1589045978
Python
Python (3.4.3)
py
Runtime Error
17
2940
167
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')
Traceback (most recent call last): File "/tmp/tmp1416l3wt/tmpxycubist.py", line 1, in <module> if A == 5 and B == 5 and C == 7: ^ NameError: name 'A' is not defined
s166498108
p04043
u038956510
1588855410
Python
Python (3.4.3)
py
Runtime Error
17
2940
289
A, B, C = map(int, input().split()) five = 0; seven = 0; if A == 5: five +=1 elif A == 7: seven +=1 if B == 5: five +=1 elif B == 7: seven +=1 if C == 5: five +=1 elif C == 7: seven +=1 if five == 2 and seven == 1: print 'YES' else: print 'NO'
File "/tmp/tmpyjxp9dd1/tmpb077rr_j.py", line 22 print 'YES' ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s637493444
p04043
u038956510
1588855346
Python
Python (2.7.6)
py
Runtime Error
10
2568
289
A, B, C = map(int, input().split()) five = 0; seven = 0; if A == 5: five +=1 elif A == 7: seven +=1 if B == 5: five +=1 elif B == 7: seven +=1 if C == 5: five +=1 elif C == 7: seven +=1 if five == 2 and seven == 1: print 'YES' else: print 'NO'
File "/tmp/tmpa7ptub7v/tmp8qbp0j9g.py", line 22 print 'YES' ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s630351105
p04043
u038956510
1588855189
Python
Python (2.7.6)
py
Runtime Error
10
2568
252
five = 0; seven = 0; if A == 5: five +=1 elif A == 7: seven +=1 if B == 5: five +=1 elif B == 7: seven +=1 if C == 5: five +=1 elif C == 7: seven +=1 if five == 2 and seven == 1: print 'YES' else: print 'NO'
File "/tmp/tmpcbb933th/tmpc8g97rqf.py", line 20 print 'YES' ^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s271547379
p04043
u038956510
1588854947
Python
Python (2.7.6)
py
Runtime Error
10
2568
260
int five = 0; int seven = 0; if A == 5: five ++ elif A == 7: sevent ++ if B == 5: five ++ elif B == 7: sevent ++ if C == 5: five ++ elif C == 7: sevent ++ if five == 2 and seven == 1: print 'YES' else print 'NO'
File "/tmp/tmp14xaqx6e/tmp3vk1eq6w.py", line 1 int five = 0; ^^^^ SyntaxError: invalid syntax
s797951158
p04043
u038956510
1588854756
Python
Python (2.7.6)
py
Runtime Error
10
2568
285
int five = 0; int seven = 0; if A == 5 five ++; else if A == 7 sevent ++; if B == 5 five ++; else if B == 7 sevent ++; if C == 5 five ++; else if C == 7 sevent ++; if five == 2 and seven == 1 print 'YES'; else print 'NO';
File "/tmp/tmpeb_7wzq7/tmpd637_rt_.py", line 1 int five = 0; ^^^^ SyntaxError: invalid syntax
s909782877
p04043
u207241407
1588790006
Python
Python (3.4.3)
py
Runtime Error
18
2940
120
iroha = list(int(input())) ans = [[5, 5, 7], [5, 7, 5], [7, 5, 5]] if iroha in ans: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp529ihgkr/tmp3bil17lp.py", line 1, in <module> iroha = list(int(input())) ^^^^^^^ EOFError: EOF when reading a line
s998840445
p04043
u593401678
1588734201
Python
Python (3.4.3)
py
Runtime Error
17
2940
211
def canConstructHaiku(arr): arr.sort() if arr[0] == 5 and arr[1] == 5 and arr[2] == 7: return True return False arr = list(map(int, input().split())) print("YES" if canConstructHaiku(arr) else "NO")
File "/tmp/tmp3_cvqh1c/tmpgp202sql.py", line 3 if arr[0] == 5 and arr[1] == 5 and arr[2] == 7: TabError: inconsistent use of tabs and spaces in indentation
s249193973
p04043
u110044127
1588458478
Python
Python (3.4.3)
py
Runtime Error
17
2940
133
Number=list(map(int,input().split())) print(Number) if Number.count(5)==2 and Number.count(7)==1: print(YES) else: print(NO)
Traceback (most recent call last): File "/tmp/tmpf6usoloi/tmpfhcerjbw.py", line 1, in <module> Number=list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s479360760
p04043
u828139046
1588372261
Python
Python (3.4.3)
py
Runtime Error
17
2940
199
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')
Traceback (most recent call last): File "/tmp/tmp64xcttwp/tmpeyfqhm65.py", line 1, in <module> a,b,c = map(int,input.split()) ^^^^^^^^^^^ AttributeError: 'builtin_function_or_method' object has no attribute 'split'
s754948318
p04043
u380534719
1588369538
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
n,l = map(int, input().split()) s = sorted([input() for i in range(n)]) print(*s, sep="")
Traceback (most recent call last): File "/tmp/tmpbzc2d3c9/tmpvvksdwe3.py", line 1, in <module> n,l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s690773919
p04043
u380534719
1588369447
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
n,m=map(int,input().split()) s=[input() for i in range(n)] s=sorted(s) print(''.join(s))
Traceback (most recent call last): File "/tmp/tmpg6g_dr24/tmp1vuxclzd.py", line 1, in <module> n,m=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s656252585
p04043
u380534719
1588369028
Python
Python (3.4.3)
py
Runtime Error
17
2940
99
s=input() cnt=int(s[0]) l=[] for i in range(cnt): l.append(input()) l=sorted(l) print(''.join(l))
Traceback (most recent call last): File "/tmp/tmpy1ksj8jo/tmpoaa6rr27.py", line 1, in <module> s=input() ^^^^^^^ EOFError: EOF when reading a line
s591472628
p04043
u380534719
1588368560
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
cnt=int(input()[0]) l=[] for i in range(cnt): l.append(input()) l=sorted(l) print(''.join(l))
Traceback (most recent call last): File "/tmp/tmpszj5dkxp/tmp09i6jlua.py", line 1, in <module> cnt=int(input()[0]) ^^^^^^^ EOFError: EOF when reading a line
s718507298
p04043
u215414447
1588301551
Python
Python (2.7.6)
py
Runtime Error
11
2568
192
a,b,c=(int(x) for x in input().split()) count7=0 if a==7: count7=count7+1 if b==7: count7=count7+1 if c==7: count7=count7+1 if count7==1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmp1guq7iue/tmppsaeycu6.py", line 1, in <module> a,b,c=(int(x) for x in input().split()) ^^^^^^^ EOFError: EOF when reading a line
s496132011
p04043
u215414447
1588300414
Python
Python (2.7.6)
py
Runtime Error
11
2568
192
a,b,c=(int(x) for x in input().split()) count7=0 if a==7: count7=count7+1 if b==7: count7=count7+1 if c==7: count7=count7+1 if count7==1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpol_uz5gl/tmpyy9hrgjq.py", line 1, in <module> a,b,c=(int(x) for x in input().split()) ^^^^^^^ EOFError: EOF when reading a line
s221390148
p04043
u215414447
1588300222
Python
Python (2.7.6)
py
Runtime Error
10
2568
182
a=input() b=input() c=input() count7=0 if a==7: count7=count7+1 if b==7: count7=count7+1 if c==7: count7=count7+1 if count7==1: print("YES") else: print("NO")
Traceback (most recent call last): File "/tmp/tmpwakc5d8j/tmpt49jt2ni.py", line 1, in <module> a=input() ^^^^^^^ EOFError: EOF when reading a line
s014969209
p04043
u940533000
1588271883
Python
Python (3.4.3)
py
Runtime Error
17
3064
756
H, W, A, B = map(int, input().split()) total = 0 tmp1, tmp2 = 1, 1 # 初期化 tmp3, tmp4 = 1, 1 # 初期化 for i in range(B,W,1): conv1, conv2 = 0, 0 # 初期化 if i == B: for j in range(i): tmp1 *= i+(H-A-1)-j tmp1 %= (10**9+7) for j in range(i, 0, -1): tmp2 *= j tmp2 %= (10**9+7) else: tmp1 *= i+(H-A-1) tmp1 %= (10**9+7) tmp2 *= i tmp2 %= (10**9+7) conv1 = tmp1/tmp2 if i == B: for j in range(W-1-i): tmp3 *= (A-1)+(W-1-i)-j tmp3 %= (10**9+7) for j in range(W-1-i, 0, -1): tmp4 *= j tmp4 %= (10**9+7) else: tmp3 *= W-1-i+1 tmp3 %= (10**9+7) tmp4 *= (A-1)+(W-1-i)+1 tmp4 %= (10**9+7) conv2 = tmp3/tmp4 total += conv1*conv2 print(int(total))
Traceback (most recent call last): File "/tmp/tmp7l8jx8mu/tmpjaoyqim7.py", line 1, in <module> H, W, A, B = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s731801147
p04043
u277641173
1588261363
Python
Python (3.4.3)
py
Runtime Error
17
2940
148
a,b,c=map(int,input().split()) if (a==5 and b=5 and c==7) or(a==5 and c==5 and b==7) or (c==5 and b==5 and a==7): print("YES") else: print("NO")
File "/tmp/tmp5troh9jz/tmpbnwla9k4.py", line 2 if (a==5 and b=5 and c==7) or(a==5 and c==5 and b==7) or (c==5 and b==5 and a==7): ^ SyntaxError: invalid syntax
s106990518
p04043
u272522520
1588173384
Python
Python (3.4.3)
py
Runtime Error
18
2940
149
s = input().split() s5 = s.count("5") s7 = s.count("7") if s5 == 2: if s7 == 1: print("YES") else: print("NO") else: print("NO")
File "/tmp/tmp3j_7zpnf/tmpv7corqpp.py", line 8 else: ^^^^ SyntaxError: invalid syntax
s237796119
p04043
u272522520
1588168476
Python
Python (3.4.3)
py
Runtime Error
17
2940
162
s = input().split() s5 = s.count("5") s7 = s.count("7") if s5 = 2 : if s7 = 1 : print("YES") else : print("NO") else: print("NO")
File "/tmp/tmpohyn5uzs/tmpu2ufmazb.py", line 5 if s5 = 2 : ^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s984806196
p04043
u486814557
1587879902
Python
Python (3.4.3)
py
Runtime Error
18
2940
88
if sorted(map(int, input().split())) == [5, 5, 7]: return 'Yes' else: return 'No'
File "/tmp/tmpdvfwmav4/tmp23byly5p.py", line 2 return 'Yes' ^^^^^^^^^^^^ SyntaxError: 'return' outside function
s721918238
p04043
u486814557
1587879730
Python
Python (3.4.3)
py
Runtime Error
17
2940
116
A, B, C = map(int, input().split()) list = [A, B, C] if list.sort() == [5, 5, 7]: return 'Yes' else: return 'No'
File "/tmp/tmpqbhs7ef3/tmpztxo9927.py", line 4 return 'Yes' ^^^^^^^^^^^^ SyntaxError: 'return' outside function
s825433727
p04043
u486814557
1587879338
Python
Python (3.4.3)
py
Runtime Error
17
2940
84
list = [A, B, C] if list.sort() == [5, 5, 7]: return 'Yes' else: return 'No'
File "/tmp/tmp5tmdkonu/tmpvkdp6kpf.py", line 3 return 'Yes' ^^^^^^^^^^^^ SyntaxError: 'return' outside function
s669025215
p04043
u115877451
1587788579
Python
Python (3.4.3)
py
Runtime Error
17
2940
84
a,b=map(int,input().split()) n=sorted([input() for i in range(a)]) print(*n,sep='')
Traceback (most recent call last): File "/tmp/tmpg5iqx4d1/tmp2w6uj09g.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s940809708
p04043
u390762426
1587784868
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/tmpllq58jc0/tmp1w6_npf4.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s637002676
p04043
u744054041
1587744890
Python
Python (3.4.3)
py
Runtime Error
17
2940
181
import asyncio async def main(input: list): possible575 = sorted(input) == [5, 5, 7] print(possible575) input = list(map(int, input().split())) asyncio.run(main(input))
Traceback (most recent call last): File "/tmp/tmpou0tv45e/tmprmz2pvwv.py", line 9, in <module> input = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s470734329
p04043
u236317938
1587694199
Python
Python (3.4.3)
py
Runtime Error
17
2940
113
s = input().split s = s[0]+s[1]+s[2] if s.count('5')==2 and s.count('7')==1: print("Yes") else: print("No")
Traceback (most recent call last): File "/tmp/tmpd98suxfe/tmpmx3no6lr.py", line 1, in <module> s = input().split ^^^^^^^ EOFError: EOF when reading a line
s704619775
p04043
u235066013
1587680569
Python
Python (3.4.3)
py
Runtime Error
17
2940
110
list=[int(i) for i in input().split()] list1=sorted(list) if list1=[5,5,7]: print('YES') else: print('NO')
File "/tmp/tmpp52k_web/tmpm1a2lw8_.py", line 3 if list1=[5,5,7]: ^^^^^^^^^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s020736554
p04043
u111263303
1587534463
Python
Python (3.4.3)
py
Runtime Error
17
2940
181
A,B,C = map(int,input().split()) if A=5 and B=5 and C=7: print("YES") elif A=5 and C=5 and B=7: print("YES") elif C=5 and B=5 and A=7: print("YES") else: print("NO")
File "/tmp/tmpp9snzg14/tmpm0ufz1yl.py", line 2 if A=5 and B=5 and C=7: ^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s006596143
p04043
u111263303
1587534043
Python
Python (3.4.3)
py
Runtime Error
17
2940
148
A,B,C = map(int,input().split()) if (A = 5 or A =7 )and ( B = 5 or B =7 ) and( C = 5 or C = 7 ) and A+B+C=17: print("YES") else: print("NO")
File "/tmp/tmpmq2shlp0/tmptvyxoek8.py", line 2 if (A = 5 or A =7 )and ( B = 5 or B =7 ) and( C = 5 or C = 7 ) and A+B+C=17: ^^^^^ SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?
s188174935
p04043
u326943507
1587516887
Python
Python (3.4.3)
py
Runtime Error
17
2940
87
A,B,C=map(int,input().split()) if A+B+C==5*5*7 : print("YES") else: print("NO")
File "/tmp/tmpnw1yo4qp/tmpw88s7543.py", line 4 else: ^^^^ SyntaxError: invalid syntax