s_id
stringlengths
10
10
p_id
stringlengths
6
6
u_id
stringlengths
10
10
date
stringlengths
10
10
language
stringclasses
1 value
original_language
stringclasses
11 values
filename_ext
stringclasses
1 value
status
stringclasses
1 value
cpu_time
stringlengths
1
5
memory
stringlengths
1
7
code_size
stringlengths
1
6
code
stringlengths
1
539k
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')
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")
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")
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; } }
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)
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")
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)
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')
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")
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)
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"
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
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
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
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)))
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:])
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")
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)
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")
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')
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))
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))
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")
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")
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')
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')
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")
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)
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)
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")
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")
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')
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')
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()
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)
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)
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))
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()
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')
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')
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="")
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)
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)
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")
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')
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')
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)
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")
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")
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))
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")
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")
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")
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")
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")
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")
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")
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")
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")
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)
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")
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")
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")
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")
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)
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
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
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')
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'
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'
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'
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'
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';
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")
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")
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)
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')
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="")
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))
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))
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))
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")
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")
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")
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))
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")
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")
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")
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'
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'
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'
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='')
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="")
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))
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")
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')
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")
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")
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")