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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s730415764 | p04043 | u842696304 | 1587506706 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 145 | A = int(input())
B = int(input())
C = int(input())
A = [A, B, C]
if A.count(5) == 2 and A.count(7) == 1:
print("YES")
else:
print("NO")
|
s404582162 | p04043 | u842696304 | 1587506677 | Python | PyPy3 (2.4.0) | py | Runtime Error | 174 | 38256 | 145 | A = int(input())
B = int(input())
C = int(input())
A = [A, B, C]
if A.count(5) == 2 and A.count(7) == 1:
print("YES")
else:
print("NO")
|
s714644880 | p04043 | u557096818 | 1587332901 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 120 | abc = list(map(int,input().split()))
if 5 in abc and 7 in abc and abc.count(7)==1:
print('YES')
else
print('NOT')
|
s216467863 | p04043 | u557096818 | 1587327838 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3188 | 303 | num_1 = int(input())
num_2 = int(input())
num_3 = int(input())
elif num_1 == 5:
elif nmu_2 == 5 and num_3 == 7 or nmu_2 == 7 and num_3 == 5:
print('Yes')
else
print('NO')
else:
elif nmu_2 == 5 and num_3 == 7 or nmu_2 == 7 and num_3 == 5:
print('Yes')
else
print('NO')
|
s105610208 | p04043 | u896181359 | 1587263763 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 44 | n = int(input())
print(sum(range(1, n + 1))) |
s073180890 | p04043 | u896181359 | 1587263712 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 45 | n = int(input())
print (sum(range(1, n + 1))) |
s341412759 | p04043 | u896181359 | 1587263677 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 44 | n = int(input())
print sum(range(1, n + 1))
|
s186044902 | p04043 | u869265610 | 1587260189 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 85 | ABC=input().split()
print("YES" if ABC.count("5")==2 && ABC.count("7")==1 else "NO")
|
s309309276 | p04043 | u869265610 | 1587260070 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | A,B,C=map(int,input().split())
list=[A,B,C]
c=list(count(5))
t=list(count(7))
print("YES" if c=2 && t=1 else "NO") |
s770086635 | p04043 | u768256617 | 1587234881 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 118 | num=int(input())
list_num=num.split()
list_num.sort()
list_num
if list_num==[5,5,7]:
print(Yes)
else:
print(No) |
s088864417 | p04043 | u768256617 | 1587234454 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 116 | num=int(input())
list_num=list(num)
list_num.sort()
list_num
if list_num==[5,5,7]:
print(Yes)
else:
print(No) |
s002299615 | p04043 | u560557614 | 1587181673 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 102 | a = list[input().split()]
if a.count("5") == 2 and a.count("7")==1:
print("YES")
else:
print("NO") |
s153798457 | p04043 | u108597410 | 1587174001 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 103 | S = list(map(int, input().split()))
S.sort()
if S.sort()==[5,5,7]:
return("YES")
else:
return("NO") |
s709652188 | p04043 | u108597410 | 1587173879 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 97 | S = list(map(int, input().split()))
S.sort()
if S.sort()==[5,5,7]:
return(YES)
else: return(NO) |
s519878177 | p04043 | u108597410 | 1587173401 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | if (A == 5 and B == 5 and C == 7) or (A == 5, B == 7, C == 5) or (A==7, B==5, C==5):
return(YES)
else: return(NO) |
s457341036 | p04043 | u486990800 | 1587153916 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | A = map(int, input().split())
if A.sort() == [5,5,7]:
print("YES")
else:
print("NO") |
s275611962 | p04043 | u486990800 | 1587153841 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | A = map(int, input().split())
if A.sort() == [5,5,7]:
print("YES")
eles:
print("NO") |
s573452067 | p04043 | u486990800 | 1587153807 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | A = map(int, input().split())
if A.sort() == [5,7,7]:
print("YES")
eles:
print("NO") |
s912810894 | p04043 | u486990800 | 1587153563 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | A = map(int, input().split())
if A.sort() = [5,7,7]:
print("YES")
eles:
print("NO")
|
s304813645 | p04043 | u046247133 | 1587092758 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 135 | haiku = input().split()
five = haiku.count("5")
sevent = haiku.count("7")
if five ==2 and seven ==1:
print("YES")
else:
print("NO") |
s606471498 | p04043 | u171803978 | 1587072549 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 561 | array = list(map(int, input().split()))
sort_array = array.sort()
for i in range(len(array)):
if i == 0 and sort_array[i] == 5:
continue
elif i==0 and not(sort_array[i]) == 5:
print("No")
break
if i==1 and sort_array[i] == 5:
continue
elif i==1 and not(sort_array[i]) == 5:
print("No")
break
if i==2 and sort_array[i] == 7:
print("YES")
elif i==2 and not(sort_array[i]) == 7:
print("NO")
break
|
s154972097 | p04043 | u171803978 | 1587072265 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 557 | array = list(map(int, input().split()))
sort_array = array.sort()
for i in range(len(array)):
if i == 0 and array[i] == 5:
continue
elif i==0 and not(array[i]) == 5:
print("No")
break
if i==1 and array[i] == 5:
continue
elif i==1 and not(array[i]) == 5:
print("No")
break
if i==2 and array[i] == 7:
print("Yes")
elif i==2 and not(array[i]) == 7:
print("No")
break
~
|
s434035770 | p04043 | u496821919 | 1587015395 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 124 | N,L = map(int,input().split())
S = [input() for i in range(N)]
S.sort()
s = ""
for i in range(N):
s += S[i]
print(s)
|
s062637608 | p04043 | u556161636 | 1586954867 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 166 | lst=list(map(int,input().split()))
if 5 in lst:
lst.remove(5)
else:
ans='No'
if 7 in lst:
lst.remove(7)
else:
ans='No'
if 7 in lst:
ans='Yes'
print(ans) |
s037738628 | p04043 | u515647766 | 1586890147 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 167 | def ispossible(list1):
if list1.count("5") == 2 and list1.count("7") == 1:
return "YES"
else:
return "NO"
list1 = input().split()
print(isposible(list1))
|
s308822687 | p04043 | u515647766 | 1586890093 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 167 | def ispossible(list1):
if list1.count("5") == 2 and list1.count("7") == 1:
return "YES"
else:
return "NO"
list1 = input().split()
print(ispposible(list1)) |
s988828105 | p04043 | u808193913 | 1586832223 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 98 | a,b,c = int(input(),input(),input()).split()
if(a + b + c)==17:
print("YES")
else:
print("NO") |
s213541647 | p04043 | u808193913 | 1586830463 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 104 | a = int(input())
b = int(input())
c = int(input())
if(a + b + c)==17:
print("YES")
else:
print("NO") |
s248249688 | p04043 | u054717609 | 1586824233 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 221 | a=input()
a=int(a)
b=input()
b=int(b)
c=input()
c=int(c)
if(a==5 and b==7 and c==5):
print("YES")
elif(a==5 and b==5 and c==7):
print("YES")
elif(a==7 and b==5 and c==5):
print("YES")
else:
print("NO")
|
s402030275 | p04043 | u808193913 | 1586812683 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 95 | a = input()
b = input()
c = input()
if (a + b + c)==(5+7+5):
print("YES")
else:
print("NO") |
s396284887 | p04043 | u189089176 | 1586812139 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 675 | # -*- coding: utf-8 -*-
# スペース区切りの整数の入力
N, K = map(int, input().split())
# 文字列用のリスト インプットをブランクで区切りリスト化
k = input()
s = [int(j) for j in k.split(" ")]
valIn = 0
# Nの桁毎の分解
def digit(i):
if i > 0:
return digit(i//10) + [i%10]
else:
return []
def irohacheck(n):
global valIn
valIn = 0
# 分解した数値をリストにして格納
num = digit(n)
# num内の数字がsに含まれる場合には、valInをインクリメント
for i in range(len(num)):
if s.count(num[i])>0:
valIn+=1
irohacheck(N)
while(valIn != 0):
N += 1
irohacheck(N)
print(N) |
s828653567 | p04043 | u189089176 | 1586811407 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 675 | # -*- coding: utf-8 -*-
# スペース区切りの整数の入力
N, K = map(int, input().split())
# 文字列用のリスト インプットをブランクで区切りリスト化
k = input()
s = [int(j) for j in k.split(" ")]
valIn = 0
# Nの桁毎の分解
def digit(i):
if i > 0:
return digit(i//10) + [i%10]
else:
return []
def irohacheck(n):
global valIn
valIn = 0
# 分解した数値をリストにして格納
num = digit(n)
# num内の数字がsに含まれる場合には、valInをインクリメント
for i in range(len(num)):
if s.count(num[i])>0:
valIn+=1
irohacheck(N)
while(valIn != 0):
N += 1
irohacheck(N)
print(N) |
s120147929 | p04043 | u189089176 | 1586811345 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 675 | # -*- coding: utf-8 -*-
# スペース区切りの整数の入力
N, K = map(int, input().split())
# 文字列用のリスト インプットをブランクで区切りリスト化
k = input()
s = [int(j) for j in k.split(" ")]
valIn = 0
# Nの桁毎の分解
def digit(i):
if i > 0:
return digit(i//10) + [i%10]
else:
return []
def irohacheck(n):
global valIn
valIn = 0
# 分解した数値をリストにして格納
num = digit(n)
# num内の数字がsに含まれる場合には、valInをインクリメント
for i in range(len(num)):
if s.count(num[i])>0:
valIn+=1
irohacheck(N)
while(valIn != 0):
N += 1
irohacheck(N)
print(N) |
s741420739 | p04043 | u189089176 | 1586811315 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 675 | # -*- coding: utf-8 -*-
# スペース区切りの整数の入力
N, K = map(int, input().split())
# 文字列用のリスト インプットをブランクで区切りリスト化
k = input()
s = [int(j) for j in k.split(" ")]
valIn = 0
# Nの桁毎の分解
def digit(i):
if i > 0:
return digit(i//10) + [i%10]
else:
return []
def irohacheck(n):
global valIn
valIn = 0
# 分解した数値をリストにして格納
num = digit(n)
# num内の数字がsに含まれる場合には、valInをインクリメント
for i in range(len(num)):
if s.count(num[i])>0:
valIn+=1
irohacheck(N)
while(valIn != 0):
N += 1
irohacheck(N)
print(N) |
s057409766 | p04043 | u217303170 | 1586810583 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 119 | a, b, c = map(int, input().split())
if s.count('5') == 2 and s.count('7') == 1:
print("Yes")
else:
print("No") |
s331508639 | p04043 | u217303170 | 1586810420 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 134 | a, b, c = map(int, input().split())
s = a + b + c
if s.count('5') == 2 and s.count('7') == 1:
print("Yes")
else:
print("No") |
s073814564 | p04043 | u239475827 | 1586807378 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 92 | N = int(input())
if N == 557 or N == 575 or N == 755:
print("Yes")
else:
print("No") |
s835233967 | p04043 | u759884285 | 1586806687 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 127 | A = input()
B = input()
C = input()
X = A + B + C
if X == "557" or X == "575" or X == "755":
print("YES")
else: print("NO") |
s379187455 | p04043 | u005469124 | 1586803619 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 228 | list = []
n = 3
for i in range (0,n):
ele = int(input())
list.append(ele)
F = int(list.count(5))
S = int(list.count(7))
if (F==2):
if(S==1):
print("Yes")
else:
print("No")
else:
print("No")
|
s244190522 | p04043 | u048176319 | 1586764338 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 211 | 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") |
s962053304 | p04043 | u381712637 | 1586749793 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 327 | a,b,c= input().split()
if len(a) == 7:
if len (b) ==5 and len(c) == 5:
print "YES"
else:
print "NO"
else:
if len(b) =! 7 and len(c)=!7:
print "NO"
else:
if len(b) ==7 and len (c) ==5:
print "YES"
else:
if len(b) ==5 and len(c) ==7:
print "YES"
else:
print "NO"
|
s810145758 | p04043 | u189089176 | 1586732967 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 455 | # C - こだわり者いろはちゃん
# https://atcoder.jp/contests/abc042/tasks/arc058_a
# 入力 1
# 1000 8
# 1 3 4 5 6 7 8 9
N,K = input().split()
D = input().split()
one_to_ten = ["0","1","2","3","4","5","6","7","8","9","10"]
can_use = sorted(list(set(one_to_ten) - set(D)))
print(can_use)
tmp = []
for n in N:
i = 0
if n in can_use:
tmp.append(n)
else :
tmp.append(can_use[0])
i = i + 1
print("".join(tmp)) |
s332061734 | p04043 | u325471499 | 1586724666 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 147 | A=int(A)
B=int(B)
C=int(C)
if (A==5 and B==5 and C==7) or (A==5 and B==7 and C==5) or (A==7 and B==5 and C==5):
print('yes')
else:
print('no') |
s512617081 | p04043 | u325471499 | 1586724590 | Python | Python (3.4.3) | py | Runtime Error | 16 | 3060 | 174 | A=int(input('A'))
B=int(input('B'))
C=int(input('C'))
if (A==5 and B==5 and C==7) or (A==5 and B==7 and C==5) or (A==7 and B==5 and C==5):
print('yes')
else:
print('no') |
s733093032 | p04043 | u217303170 | 1586723377 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | a, b, c = sorted(map(int, input().split()))
if a + b + c == 5, 5, 7:
print("Yes")
else:
print("No") |
s976167336 | p04043 | u217303170 | 1586699170 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 110 | a = int(input())
b = int(input())
c = int(input())
if a + b + c == 17:
print("Yes")
else:
print("No") |
s860213651 | p04043 | u217303170 | 1586699010 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 245 | a = int(input("ここに数値を入力してください:"))
b = int(input("ここに数値を入力してください:"))
c = int(input("ここに数値を入力してください:"))
if a + b + c == 17:
print("Yes")
else:
print("No") |
s895568833 | p04043 | u568789901 | 1586670327 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 93 | a,b,c=map(int,input().split())
if a+b+c=17 and a*b*c=175:
print(YES)
else:
print(NO)
|
s908389094 | p04043 | u106489129 | 1586640409 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 120 | n,l=map(int,input().split())
s=[]
for i in range(n):
s.append(input())
s.sort()
ans=""
for i in s:
ans+=i
print(ans) |
s399281220 | p04043 | u457957084 | 1586541894 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 201 | 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)
|
s497860650 | p04043 | u583507988 | 1586484178 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 96 | N, L = map(int, input().split())
S = [input() for i in range(N)]
s = sorted(S)
print(*s, sep='') |
s111082345 | p04043 | u565290770 | 1586410438 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 42 | list = list(map(int(input())))
print(list) |
s665073443 | p04043 | u565290770 | 1586410388 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 30 | list = list(map(int(input()))) |
s012436660 | p04043 | u583507988 | 1586405638 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 125 | N, L = map(int, input().split())
P = [input().split() for i in range(L)]
p = sorted(P)
ppp = "".join(map(str, p))
print(ppp) |
s871554634 | p04043 | u583507988 | 1586359525 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 190 | A, B, C = int(input())
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") |
s748271468 | p04043 | u535171899 | 1586312143 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 182 | a,b,c = map(int,input().split())
coutn5 = [x for x in [a,b,c] if x==5]
coutn7 = [x for x in [a,b,c] if x==7]
if len(count5)==2 and len(count7)==1:
print('YES')
else:
print('NO') |
s454003829 | p04043 | u201802797 | 1586303260 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | n,l = map(int,input().split())
s = []
for i in range(n):
s.append(input())
s.sort()
print("".join(s)) |
s752496448 | p04043 | u201802797 | 1586303241 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 116 | n,l = map(int,input().split())
sam = []
for i in range(n):
sam.append(input())
sam.sort()
print("".join(sam)) |
s616521499 | p04043 | u772649753 | 1586204748 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 130 | n = list(map(int,input().split()))
if n.count(int (5)) == 2 and n.count(int (7)) == 1:
print("YES")
else:
print("NO")
|
s681061966 | p04043 | u772649753 | 1586204710 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 126 | n = list(map(int,input().split()))
if n.count(int 5) == 2 and n.count(int 7) == 1:
print("YES")
else:
print("NO")
|
s678752786 | p04043 | u772649753 | 1586204448 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 105 | n = list(map(int,input().split))
if n.count(5) = 2 and n.count(7) = 1:
print("YES")
else:
print("NO") |
s306444006 | p04043 | u598445703 | 1586202228 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 253 | # -*- coding: utf-8-*-
strs = []
n,k = map(int,input().split())
hates = list(input().split())
give = n
while(True):
stri = str(give)
for hate in hates:
if hate in stri:
give = give + 1
break
else:
print(give)
exit() |
s023938398 | p04043 | u598445703 | 1586202114 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 255 | # -*- coding: utf-8-*-
strs = []
n,k = map(int,input().split())
hates = list(input().split())
give = n
while(True):
stri = str(give)
for hate in hates:
if hate in stri:
give = give + 1
break;
else:
print(give)
exit()
|
s255524851 | p04043 | u471539833 | 1586181335 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3188 | 278 | N,K=map(int,input().split())
D=list(map(int,input().split()))
n=[str(N)[i] for i in range(len(str(N)))]
#print(n)
for i in range(N,10*N+1):
flag=True
for j in range(len(str(i))):
if(int(str(i)[j]) in D):
flag=False
if(flag==True):
ans=i
break
print(ans) |
s058134949 | p04043 | u114233208 | 1586133534 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 254 | line1 = input().split(' ')
N = line1[0]
D = input().split(' ')
# print(D)
i = -1
while i > -len(N)-1:
# print("here")
while (N[i] in D):
j = abs(i)
k = (10**(j-1))
N = str(int(N)+k)
# print(N)
i -= 1
print(N)
|
s006274083 | p04043 | u158032363 | 1586130856 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 337 |
def haiku(a,b,c):
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')
A = int(input('1つ目の数を入力してください:'))
B = int(input('2つ目の数を入力してください:'))
C = int(input('3つ目の数を入力してください:'))
haiku(A,B,C)
|
s248097864 | p04043 | u782638765 | 1586130793 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 133 | value = int(input())
if value.count(5) ==2:
if value.count(7) ==1:
print('YES')
else:
print('NO')
else:
print('NO')
|
s619834700 | p04043 | u782638765 | 1586130523 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 128 | value = input()
if value.count(5) ==2:
if value.count(7) ==1:
print('YES')
else:
print('NO')
else:
print('NO')
|
s459114802 | p04043 | u782638765 | 1586130466 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 127 | value = input()
if value.count(5) ==2:
if value.count(7) ==1:
print('Yes')
else:
print('No')
else:
print('No')
|
s828813484 | p04043 | u920604133 | 1586120368 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 98 | A= [int(x) for x in input().split()]
sort(A)
if A == [5,5,7]:
print("YES")
else:
print("NO") |
s761818849 | p04043 | u015597249 | 1586105206 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 133 | a, b, c = map(int, input().split(' '))
if a + b + c != 17:
print('NO')
else if a * b * c != 175:
print('NO')
else:
print('YES') |
s456093795 | p04043 | u015597249 | 1586105167 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 127 | a, b, c = map(int, input().split(' '))
if a + b + c != 17:
print 'NO'
elif a * b * c != 175:
print 'NO'
else:
print 'YES' |
s723570042 | p04043 | u015597249 | 1586105048 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 130 | a, b, c = map(int, input().split(' '))
if a + b + c != 17:
print 'NO'
else if a * b * c != 175:
print 'NO'
else:
print 'YES' |
s685441326 | p04043 | u765721093 | 1586015972 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 113 | a=[]
N,L=map(int,input().split())
for _ in range (N):
a.append(str(input()))
a=sorted(a)
print(*a,sep='') |
s541899412 | p04043 | u687135117 | 1585846865 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 119 | s=list(input())
s.sort()
d=int(s[0])*100+int(s[1])*10+int(s[2])
d=d-557
if d==0:
print("Yes")
else:
print("No") |
s595827598 | p04043 | u063346608 | 1585684848 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 193 | A,B,C = map(input().split())
if A == 5 and B == 5 and C == 7:
print("Yes")
elif B == 5 and C == 5 and A == 7:
print("Yes")
elif C == 5 and A == 5 and B == 7:
print("Yes")
else:
print("No") |
s311958030 | p04043 | u048521352 | 1585629951 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 123 | a = list(map(int, input().split())
if a.count(5) == 2 and a.count(7) == 1:
print("Yes")
else:
print("No") |
s214241080 | p04043 | u247341370 | 1585620831 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 140 | a, b, c = map(int, input().split())
if (5 in [a, b, c] and 7 in [a, b, c]) and a+b+c == 17:
print("YES")
else:
print("NO")
|
s055974179 | p04043 | u679335677 | 1585595412 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 94 | n,l=[int(x) for x in input().split()]
b=[input() for x in range(n)]
b.sort()
print(''.join(b)) |
s718038158 | p04043 | u276115223 | 1585579186 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 197 | # ABC 042: A – 和風いろはちゃんイージー / Iroha and Haiku (ABC Edition)
nums = [int(s) for s in input().split(" ")]
print("YES" if nums.count(5) == 2 and nums.count(7) == 1 else "NO") |
s144927111 | p04043 | u276115223 | 1585579068 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2568 | 204 | # ABC 042: A – 和風いろはちゃんイージー / Iroha and Haiku (ABC Edition)
nums = [int(s) for s in input().split(" ")]
print("YES" if nums.count(5) == 2 and nums.count(7) == 1 else print("NO")) |
s668381690 | p04043 | u679335677 | 1585576648 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 264 | A=input()
B=input()
C=input()
if len(A)=7 and len(B)=5 and len(C)=5 :
print("YES")
else:
print("NO")
if len(A)=5 and len(B)=7 and len(C)=5 :
print("YES")
else:
print("NO")
if len(A)=5 and len(B)=5 and len(C)=7 :
print("YES")
else:
print("NO")
|
s209035934 | p04043 | u852790844 | 1585545593 | Python | PyPy3 (2.4.0) | py | Runtime Error | 178 | 39536 | 333 | h,w,a,b = map(int,input().split())
mod = 10**9 + 7
dp = [[0 for i in range(h+1)] for j in range(w+1)]
for i in range(w):
for j in range(h):
dp[i+1][j+1] = (dp[i][j+1] + dp[i+1][j])%mod
if i == 0 and j == 0:
dp[i+1][j+1] = 1
if i < b and j >= h-a:
dp[i+1][j+1] = 0
print(dp[w][h]) |
s102446982 | p04043 | u852790844 | 1585532322 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 105 | a = list(map(int,input().split()))
b = sorted(a)
if b = [5, 5, 7]:
print("YES")
else:
print("NO") |
s693296727 | p04043 | u852790844 | 1585532280 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 107 | a = list(map(int,input().split()))
b = sorted(a)3
if b = [5, 5, 7]:
print("YES")
else:
print("NO") |
s333737369 | p04043 | u346677493 | 1585498586 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 76 | a=input()
b=input()
c=input()
if a+b+c==17:
print "YES"
else:
print "NO" |
s232187927 | p04043 | u346677493 | 1585498545 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2568 | 79 | a,b,c=map(int,raw_input.split())
if a+b+c==17:
print "YES"
else:
print "NO" |
s748005454 | p04043 | u040823151 | 1585472923 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 77 | l = map(int,list(input()))
if(l[0]==l[1]):
print("YES")
else:
print("NO") |
s720674586 | p04043 | u309018392 | 1585444711 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 123 | input()
A = list(map(int,input().split()))
if A.count(5) == 2 and A.count(7) == 1 :
print("YES")
else :
print("NO") |
s199696104 | p04043 | u787449825 | 1585350201 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 110 | array = list(map(int, input().solit()))
array.sort()
if array == [5, 5, 7]:
print('YES')
else:
print('NO') |
s805004448 | p04043 | u440129511 | 1585270664 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 110 | a,b,c=list(map(int,input().split()))
k.sort()
if k[0] == k[1] == 5 and k[2] == 7:
print(Yes)
else:print(No) |
s424625563 | p04043 | u440129511 | 1585270388 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 113 | if (a==5 and b==5 and c==7) or (a==5 and b==7 and c==5) or (a==7 and b==5 and c==5):
print(Yes)
else:print(No) |
s143133581 | p04043 | u440129511 | 1585238207 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 190 | A=int(input())
B=int(input())
C=int(input())
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') |
s961512427 | p04043 | u440129511 | 1585238078 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 198 | A=int(input())
B=int(input())
C=int(input())
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') |
s754044184 | p04043 | u440129511 | 1585235677 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 152 | 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') |
s842220449 | p04043 | u440129511 | 1585233558 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 69 | if [A,B,C]=[5,5,7]or[5,7,5]or[7,5,5]:
print(YES)
else:print(NO) |
s337816281 | p04043 | u760961723 | 1585193533 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 89 | a = map(int,input().split())
if set(a) == set(5,5,7):
print("YES")
else:
print("NO") |
s693373693 | p04043 | u260068288 | 1585113800 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | a,b=map(int,input().split())
print(''.join(sorted([ input() for i in range(a)])))
|
s626064622 | p04043 | u260068288 | 1585113770 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 84 | n,l = map(int,input().split())
print("".join(sorted([ input() for i in range(n)])))
|
s722270261 | p04043 | u260068288 | 1585113738 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | n,l = map(int,input().split())
print("".join(sorted([ input() for i in range(a)])))
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.