problem_id stringclasses 100
values | submission_id stringlengths 10 10 | status stringclasses 2
values | code stringlengths 6 806 |
|---|---|---|---|
p04043 | s385770691 | Wrong Answer | abc=list(map(int,input().split()))
if abc.count(5)==2 and abc.count(7)==1:
print ("yes")
else:
print ("no") |
p04043 | s376279756 | Wrong Answer | def test():
arr = input()
arr = arr.split()
arr = arr.sort()
if arr == ['5', '5', '7']:
print("YES")
else:
print("NO")
test()
|
p04043 | s186198323 | Wrong Answer | #!/usr/bin/env python3
import sys
import os
args = sys.argv[1:]
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')
else:
print('NO') |
p04043 | s991623982 | Wrong Answer | x,y,z = map(int,input().split())
print('YES') |
p04043 | s213677837 | Wrong Answer | S = input().split()
count1 = 0
count2 = 0
for s in S:
if s == "5":
count1 += 1
elif s == "7":
count2 += 1
if count1 == 2 and count2 == 1:
print("Yes")
else:
print("No")
|
p04043 | s398491272 | Wrong Answer | a = input().split(" ")
if a == ["5", "5", "7"]:
print("YES")
else:
print("NO") |
p04043 | s398098923 | Wrong Answer | args = input().split()
five = 0
seven = 0
for arg in args:
print(arg)
if arg == "5":
five = five + 1
else:
seven = seven + 1
if five == 2 and seven == 1:
print("YES")
else:
print("NO") |
p04043 | s516367360 | Wrong Answer | s=list(input().split())
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") |
p04043 | s182830078 | Wrong Answer | nums = [int(e) for e in input().split()]
if nums.count(5) == 2 and nums.count(7) == 1:
print('Yes')
else:
print('No') |
p04043 | s383557826 | Wrong Answer | a,b,c = map(int,input().split())
if a+b+c == 17:
print("Yes")
else:
print("No")
|
p04043 | s501614078 | Wrong Answer | print('test') |
p04043 | s632961246 | Wrong Answer | 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") |
p04043 | s253973005 | Wrong Answer | a = input()
a = [int(i)for i in a.split(" ")]
print((a[0] == 5 or a[0] == 7) and (a[1] == 5 or a[1] == 7) and (sum(a) == 17)) |
p04043 | s767535502 | Wrong Answer | B = map(int, input().split())
counter = 0
five_seven_five = [5,7,5]
for i in B:
if i in five_seven_five:
counter += 1
five_seven_five.remove(i)
else:
print('No')
if counter ==3:
print('Yes') |
p04043 | s020089644 | Wrong Answer | num = list(map(int, input().split())) |
p04043 | s127084618 | Wrong Answer | nums = [int(e) for e in input().split()]
if nums.count(5) == 2 and nums.count(7) == 1:
print('Yes')
else:
print('No') |
p04043 | s783903326 | Wrong Answer | def test():
x=input()
x=x.split()
if x ==['5','5','7']:
print("YES")
if x ==['5','7','5']:
print("YES")
if x ==['7','5','5']:
print("YES")
else:
print("NO")
test() |
p04043 | s981220090 | Wrong Answer | a,b,c = map(int,input().split())
ans = 'YES' if (a == 5) and (b == 7) and (c==5) else "NO"
print(ans) |
p04043 | s333731849 | Wrong Answer | haiku = list(map(int,input().split()))
haiku.sort()
if haiku ==[5,5,7]:
print("Yes")
else:
print("No") |
p04043 | s624445282 | Wrong Answer | A,B,C = (map(int, input("入力してね:").split()))
if A == 5:
if B == 5:
if C == 7:
print("YES")
elif B == 7:
if C == 5:
print("YES")
else:
print("NO")
else:
print("NO")
elif A == 7:
if B == 5:
if C == 5:
print("YES")
else:
print("NO")
else:
print("NO")
|
p04043 | s694655436 | Wrong Answer | a=''.join(sorted(map(str,input().split())))
print('Yes' if a=='557' else 'No') |
p04043 | s741896865 | Wrong Answer | i = list(map(int, input().split()))
if 7 in i:
i.remove(7)
if i[0] == 5 and i[1] == 5:
print('Yes')
else:
print('No')
else:
print('No') |
p04043 | s660120482 | Wrong Answer | import sys
a,b,c=map(int,input().split())
l=[a,b,c,a,b]
for x in range(3):
if l[x]==l[x+1] and l[x]==5 and l[x]==7:
print('YES')
sys.exit()
print('NO')
|
p04043 | s880451502 | Wrong Answer | words = list(input().split())
flag = False
if('5' in words):
words.remove('5')
if('7' in words):
words.remove('7')
if('5' in words):
words.remove('5')
flag =True
if(flag==True):
print("YES") |
p04043 | s103190300 | Wrong Answer | a,b,c = map(int,(input().split()))
l = [a,b,c]
if int(l.count(5)) == 2 and int(l.count(7)) == 1:
print('Yes')
else:
print('No')
|
p04043 | s069649571 | Wrong Answer | a, b, c = map(int, input().split())
d = a + b + c
if d == 17:
print('yes')
else:
print('no') |
p04043 | s628742771 | Wrong Answer | A = list(map(int, input().split()))
A.sort()
if A[0]==5 and A[1]==5 and A[2]==7:
print('Yes')
else:
print('No') |
p04043 | s203214691 | Wrong Answer |
example = ('5', '7', '5')
five = 0
seven = 0
ipt = []
s = input(">")
s = s.split()
for i in s:
if i == '5':
five += 1
elif i == '7':
seven += 1
if five == 2 and seven == 1:
print("YES")
else:
print("NO") |
p04043 | s134718173 | Wrong Answer | a,b,c = map(int,input().split())
if a + b + c == 19:
print("YES")
else:
print("NO") |
p04043 | s094387174 | Wrong Answer | A,B,C = map(int,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") |
p04043 | s065394539 | Wrong Answer | # coding: utf-8
# Your code here!
l = input()
if l.count("5") == 2 and l.count("7") == 1:
print("Yes")
else:
print("No") |
p04043 | s080269606 | Wrong Answer | a=list(map(int, input().split()))
a.sort()
if a == [5, 5, 7]:
print('Yes')
else:
print('No')
|
p04043 | s785081678 | Wrong Answer | # cook your dish here
abc=list(map(int , input().split()))
# frequency check is used
count=0
element=5
element1=7
frequency1=abc.count(5)
frequency2=abc.count(7)
if(frequency1 == 2):
if(frequency2 == 1):
count+=1
else:
count+=0
else:
count+=0
if(count == 1):
print("Yes")
else:
print("No") |
p04043 | s320983373 | Wrong Answer | l = list(map(int,input().split()))
if l == [5,7,5] or l == [5,5,7] or l == [7,5,5]:
print("Yes")
else: print("No") |
p04043 | s654039718 | Wrong Answer | A=list(map(int,input().split()))
A.sort()
flag=0
if A[0]==5:
if A[1]==5:
if A[2]==7:
print("YES")
flag+=1
if flag==0:
print("No")
|
p04043 | s337216561 | Wrong Answer | a, b, c = map(int,input().split())
if a == 5 and b == 7 and c == 5:
print("Yes")
elif a == 5 and b == 5 and c == 7:
print("Yes")
elif a == 7 and b == 5 and c == 5:
print("Yes")
else:
print("No") |
p04043 | s512534504 | Wrong Answer | A,B,C = map(int,input().split())
lis=[A,B,C]
def hantei(list):
if int(list[0]) == 7:
if int(list[1]) == 5 and int(list[2]) == 5:
return True
if int(list[1]) == 7:
if int(list[0]) == 5 and int(list[2]) == 5:
return True
if int(list[2]) == 7:
if int(list[0]) == 5 and int(list[1]) == 5:
return True
if hantei(lis) == True:
print("Yes")
else:
print("No") |
p04043 | s065189336 | Wrong Answer | a,b,c = map(int, input().split())
if a==5 and c==7 and c==5:
print('Yes')
elif a==5 and c==5 and b==7:
print('Yes')
elif b==5 and c==5 and a==7:
print('Yes')
else:
print('No') |
p04043 | s218177364 | Wrong Answer | A = list(map(int, input().split()))
count = 0
if A.count(7) == 1 and A.count(5) == 2:
print("Yes")
else:
print("No") |
p04043 | s153386584 | Wrong Answer | x = input().split()
fn = 0
sn = 0
for i in range(len(x)):
if int(x[i]) == 5:
fn += 1
elif int(x[i]) == 7:
sn += 1
if fn == 2:
if sn == 5:
print("YES")
else:
print("NO")
else:
print("NO") |
p04043 | s612535553 | Wrong Answer | abc = list(map(int, input().split()))
if abc.count(5) == 2 and abc.count(7) == 1:
print('Yes')
else:
print('No') |
p04043 | s081597291 | Wrong Answer | from sys import stdin, stdout
from time import perf_counter
import sys
sys.setrecursionlimit(10**9)
mod = 10**9+7
n = sorted([int(item) for item in input().split()])
print("Yes" if n[2] == 7 else "No") |
p04043 | s837768571 | Wrong Answer | A = list(map(int, input().split()))
A.sort()
if A[1] == 5:
if A[2] == 5:
if A[3] == 7:
print("Yes")
exit()
print("No") |
p04043 | s167997450 | Wrong Answer | A,B,C=map(int,input().split())
iroha=[A,B,C]
if (iroha.count(5) == 2) and (iroha.count(7) == 1):
print("Yes")
else:
print("No") |
p04043 | s595715073 | Wrong Answer | a, b, c = map(int, input().split())
if a == 5:
if (b == 5 and c == 7) or (b == 7 and c == 5):
print('YES')
else:
print('NO')
elif b == 5:
if (a == 5 and c == 7) or (a == 7 and c == 5):
print('YES')
else:
print('NO')
elif c == 5:
if (a == 7 and b == 5) or (a == 5 and b == 7):
print('YES')
else:
print('NO') |
p04043 | s381365004 | Wrong Answer | A = sorted(map(int,input().split()))
print('Yes' if A[0]==5 and A[1]==5 and A[2]==7 else 'No')
|
p04043 | s129282836 | Wrong Answer | a = []
a = input().split(' ')
if 5 in a:
a.remove(5)
if 7 in a:
a.remove(7)
if 5 in a:
print('OK')
else:
print('NO')
else:
print('NO')
else:
print('NO') |
p04043 | s153063040 | Wrong Answer | l=list(map(int,input().split()))
if l.count(5)==2 and l.count(1)==7:
print("YES")
else:
print("NO") |
p04043 | s639513630 | Wrong Answer | a = input().split(" ")
a.sort()
if (a[0] == a[1] == "5") and a[2] == "7":
print("Yes")
else:
print("No") |
p04043 | s225994521 | Wrong Answer | a,b,c = map(int,input().split())
d = [a,b,c]
d = sorted(d)
#print(d)
if d ==[5,5,7]:
print('Yes') |
p04043 | s907890809 | Wrong Answer | import sys
input = lambda: sys.stdin.readline().rstrip()
yes = lambda boolean: print('Yes') if boolean else print('No')
input_ints = lambda: list(map(int, input().split()))
numbers = input_ints()
numbers.sort()
yes(numbers == [5,5,7]) |
p04043 | s415074637 | Wrong Answer | a = list(map(int, input().split()))
c7 = 0
c5 = 0
for x in a:
if x == 7:
c7 += 1
if x == 5:
c5 += 1
if c7 == 1 and c5 == 2:
print("YES")
else:
print("N0") |
p04043 | s785860486 | Wrong Answer | A, B, C = map(int, input().split())
list = [A, B, C]
list.sort()
if list == [5, 5, 7]:
print("Yes")
else:
print("No") |
p04043 | s393004158 | Wrong Answer | #!/usr/bin/env python3
import sys
args = sys.argv[1:]
if len(args) < 3:
print('NO')
sys.exit(0)
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')
else:
print('NO') |
p04043 | s484239354 | Wrong Answer | a=list(map(int,input().split()))
b=a[0]+a[1]+a[2]
c=a[0]-a[1]-a[2]
if b==17 and c==-7:
print('YES')
else:
print('NO')
|
p04043 | s952612595 | Wrong Answer | I=input().split()
if I[0]=="5" and I[1]=="7" and I[2]:
print("YES")
else:
print("NO") |
p04043 | s604062312 | Wrong Answer | a, b, c = map(int, input().split())
if a == b and a == 5:
if c == 7:
print("Yes")
else:
print("No")
elif b == c and b == 5:
if a == 7:
print("Yes")
else:
print("No")
elif a == c and c == 5:
if b == 7:
print("Yes")
else:
print("No")
else:
print("No")
|
p04043 | s291984177 | Wrong Answer | A, B, C = map(int, input().split())
if (A == 5 or 7) & (B == 5 or 7) & (C == 5 or 7):
if (A + B + C) == 17:
print('YES')
else:
print('NO') |
p04043 | s400364667 | Wrong Answer | a,b,c=map(str,input().split())
if (len(a)==5 and len(b)==5 and len(c)==7) or(len(a)==5 and len(c)==5 and len(b)==7) or (len(c)==5 and len(b)==5 and len(a)==7):
print("YES")
else:
print("NO") |
p04043 | s577343468 | Wrong Answer | l = list(map(int, input().split()))
count = count2 = 0
for i in range(3):
if(l[i] == 5):
count+=1
elif(l[i] == 7):
count2 += 1
if(count == 2 and count2 == 1):
print("Yes")
else:
print("NO") |
p04043 | s553534254 | Wrong Answer | a,b,c = map(int,input().split())
g = 0
if a == 5:
g = g + 1
if b == 5:
g = g + 1
if c == 5:
g = g + 1
h = 0
if a == 7:
h = h + 1
if b == 7:
h = h + 1
if c == 7:
h = h + 1
if h == 2 and g == 1:
print("YES")
else:
print("NO") |
p04043 | s295038905 | Wrong Answer | a,b,c = map(int,(input().split()))
l = [a,b,c]
if int(l.count(5)) == 2 and int(l.count(7)) == 1:
print('Yes')
else:
print('No') |
p04043 | s684851318 | Wrong Answer | A = list(map(int, input().split()))
A.sort()
if A[0] == 5 and A[1] == 5 and A[2] ==7:
print('Yes')
else:
print('No') |
p04043 | s248975271 | Wrong Answer | As=input().split()
count5=0
count7=0
for A in As:
if A=="5":
count5+=1
elif A=="7":
count7+=1
if count5==2 and count7==1:
print("Yes")
else:
print("No") |
p04043 | s637099590 | Wrong Answer | A, B, C = map(int, input().split())
if A*B*C == 5*5*7:
print('Yes')
else:
print('No') |
p04043 | s246150276 | Wrong Answer | a = list(map(int,input().split()))
if (a[0]==5 and a[1]==5 and a[2]==7)or(a[0]==5 and a[1]==7 and a[2]==5)or(a[0]==7 and a[1]==5 and a[2]==5):
print("Yes")
else:
print("No") |
p04043 | s920622704 | Wrong Answer | A,B,C = map(int, input("").split())
if A == 5:
if B == 5:
if C == 7:
print("YES")
elif B == 7:
if C == 5:
print("YES")
else:
print("NO")
else:
print("NO")
if A == 7:
if B == 5:
if C == 5:
print("YES")
else:
print("NO")
else:
print("NO")
|
p04043 | s069806022 | Wrong Answer | li = input().split()
a = li[0]
b = li[1]
c = li[2]
if (a==b or b==c or c==a and not a==b==c): print("YES")
else: print("NO") |
p04043 | s824450271 | Wrong Answer | A = sorted(list(map(int,input().split())))
if A == [5,5,7]:
print("Yes")
else:
print("No") |
p04043 | s674091150 | Wrong Answer | A = sorted(input().split())
print('YES' if A[0]==5 and A[1]==5 and A[2]==7 else 'NO')
|
p04043 | s477179297 | Wrong Answer | a, b, c = input().split()
cond = (a == '5' and b == '7' and c == '5')
if cond:
print('YES')
else:
print('NO') |
p04043 | s454825443 | Wrong Answer | mylist = [4,7,5]
x = mylist.count(5)
y = mylist.count(7)
if x == 2 and y == 1:
print("YES")
else:
print("NO") |
p04043 | s987616779 | Wrong Answer | a, b, c = input().split()
if (a+b+c).count('5')==2 and (a+b+c).count('7')==1:
print("Yes")
else:
print("No") |
p04043 | s612409583 | Wrong Answer | a,b,c = map(int,input().split())
if a == 7:
if b == 5 and c == 5:
print('YES')
elif b == 7:
if a == 5 and c == 5:
print('YES')
elif c == 7:
if a == 5 and b == 5:
print('YES')
else:
print('NO') |
p04043 | s166078082 | Wrong Answer | arr = list(map(lambda x: int(x), input().split(" ")))
if arr.count(5) == 2 and arr.count(7) == 1:
print("OK")
else:
print("NG")
|
p04043 | s633145512 | Wrong Answer | A, B, C=list(map(int, input().split(" ")))
if ([A, B, C].count(5)==2) and ([A, B, C].count(7)==1):
print('Yes')
else:
print('No')
|
p04043 | s605957727 | Wrong Answer | a = list(map(int,input().split()))
if a.count("7")==1 and a.count("5")==2:
print("YES")
else:
print("NO") |
p04043 | s273792712 | Wrong Answer | A, B, C = input().split()
MC = [A, B, C]
if MC.count("5")==2:
print("Yes")
else:
print("No") |
p04043 | s277487027 | Wrong Answer | A = input().split(" ")
A = [int(a) for a in A]
if A.count(5) == 2 and A.count(7) == 1:
print("Yes")
else:
print("No") |
p04043 | s095525409 | Wrong Answer | #空白区切りで複数の値をリストとして入力
input_list = input().split()
#input_listの値を昇順に並び替え
sort_list = sorted(input_list)
print(sort_list)
if(sort_list[0]=="5" and sort_list[1]=="5" and sort_list[2]=="7"):
print("YES")
else:
print("NO")
|
p04043 | s579203756 | Wrong Answer | lis = list(map(int, input().split()))
if lis.count(5)==2 and lis.count(7)==1: print('YES')
print('NO') |
p04043 | s245713241 | Wrong Answer | A, B, C = list(map(int, input().split()))
if (A == 5 and B == 5 and C == 7) or (A == 5 and B == 7 and C == 5) or (A == 5 and B == 5 and C == 7):
print('YES')
else:
print('NO') |
p04043 | s508094772 | Wrong Answer | a,b,c = map(int,(input().split()))
l = [a,b,c]
if int(l.count(5)) == 2 and int(l.count(7)) == 1:
print("Yes")
else:
print("No") |
p04043 | s877089195 | Wrong Answer | s = list(map(int, input().split()))
tar = [5,7,5]
for a in s:
for b in tar:
if a == b:
tar.remove(b)
if tar == []:
print("YES")
else:
print("NO")
|
p04043 | s898267115 | Wrong Answer | def main():
if input() == '5 7 5': print('YES')
else: print('NO')
if __name__ == '__main__':
main() |
p04043 | s978658559 | Wrong Answer | a,b,c = map(int,input().split())
if a==7:
if (b==c) and (b==5):
print("Yes")
else : print("No")
else : pass
if b==7:
if (c==a) and (c==5):
print("Yes")
else : print("No")
else : pass
if c==7:
if (a==b) and (a==5):
print("Yes")
else : print("No")
else : print("No") |
p04043 | s584855458 | Wrong Answer | l = [map(int,input().split())]
if l == [5,5,7] or l == [5,7,5] or l == [7,5,5]:
print("Yes")
else: print("No")
|
p04043 | s761301153 | Wrong Answer | iroha = list(input().split())
if iroha.count('5') == 2:
if iroha.count('7') == 1:
print('Yes')
else:
print('No')
|
p04043 | s998344050 | Wrong Answer | A = sorted(map(int,input().split()))
print('Yes' if A[0]==5 and A[1]==5 and A[2]==7 else 'No')
|
p04043 | s134974494 | Wrong Answer | 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") |
p04043 | s790617050 | Wrong Answer | ABC = list(map(int,input().split()))
if ABC.count('5')==2 and ABC.count('7')==1:
print('YES')
else:
print('NO')
|
p04043 | s366739912 | Wrong Answer | #入力
lst = input().split()
#整数値化
for i in lst:
i = int(i)
#ソート
lst.sort()
#出力
if lst == [5, 5, 7]:
print('YES')
else:
print('NO') |
p04043 | s054796309 | Wrong Answer | print('YNEOS'[eval(input().replace(*' *'))!=245::2]) |
p04043 | s525245681 | Wrong Answer | a, b, c = map(int, input().split())
lengths = [a, b, c]
lengths.sort()
if lengths == [5, 5, 7]:
print("Yes")
else:
print("No")
|
p04043 | s909330692 | Wrong Answer | print(['Yes','No'][sum(list(map(int,input().split()))) != 17]) |
p04043 | s915629349 | Wrong Answer | A = list(map(int, input().split()))
if A.sort() == [5,5,7]:
print("YES")
else:
print("NO") |
p04043 | s259480041 | Wrong Answer | a,b,c=input().split()
if (int(a)+int(b)+int(c)==17 and int(a)<=10 and int(b)<=10 and int(c)<=10):
if ((int(a)==5 or int(a)==7) and (int(b)==5 or int(b)==7) and (int(c)==5 or int(c==7))):
print("YES")
else:
print("NO")
else:
print("NO")
|
p04043 | s961555041 | Wrong Answer | # cook your dish here
abc=list(map(int , input().split()))
# frequency check is used
count=0
element=5
element1=7
frequency1=abc.count(5)
frequency2=abc.count(7)
if(frequency1 == 2):
if(frequency2 == 1):
count+=1
else:
count+=0
else:
count+=0
if(count == 1):
print("Yes")
else:
print("No") |
p04043 | s457233854 | Wrong Answer | l = map(int, input().split())
if sorted(l) == [5, 5, 7]:
ans = 'Yes'
else:
ans = 'No'
print(ans) |
p04043 | s919295270 | Wrong Answer | a,b,c = map(int, input().split())
if(a==5 and b==5):
print("Yes")
elif(b==5 and c==5):
print("Yes")
elif(a==5 and c==5):
print("Yes")
else:
print("No") |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.