problem_id stringclasses 100
values | submission_id stringlengths 10 10 | status stringclasses 2
values | code stringlengths 6 806 |
|---|---|---|---|
p04043 | s856636034 | Wrong Answer | A, B, C = list(map(int, input().split()))
s = A, B, C
print('Yes') if s.count(5) == 2 and s.count(7) == 1 else print('No') |
p04043 | s426640198 | Wrong Answer | a,b,c = input().split()
if ((a and b) == '5' and c == '7') or ((a and c) == '5' and b == '7') or ((b and c) == '5' and a == '7'):
print('YES')
else:
print('NO')
|
p04043 | s154915624 | Wrong Answer | a,b,c = map(int,input().split())
if a==7:
if (b==c) and (b==5):
print("Yes")
else : print("No")
if b==7:
if (c==a) and (c==5):
print("Yes")
else : print("No")
if c==7:
if (a==b) and (a==5):
print("Yes")
else : print("No") |
p04043 | s711070290 | Wrong Answer | A=list(map(int,input().split()))
A.sort
#print(A)
if A==[5,5,7]:
print('YES')
else:
print('NO') |
p04043 | s768245788 | Wrong Answer | s = input()
if s.count('5') == 2 and s.count('1') == 1:
print('YES')
else:
print('NO') |
p04043 | s206373386 | Wrong Answer | s = list(map(int, input().split()))
if s.count(5) == 2 and s.count(7) == 1:
print('Yes')
else:
print('No') |
p04043 | s429671282 | Wrong Answer | lis = sorted(input().split())
print(lis)
if lis == ['5', '5', '7']:
print('Yes')
else:
print('No') |
p04043 | s842571008 | Wrong Answer | I=input().split()
if I[0]=="5" and I[1]=="7" and I[2]=="5":
print("YES")
else:
print("NO") |
p04043 | s985590111 | Wrong Answer | def main():
a = list(input().split())
a = [int(aa) for aa in a]
a = sorted(a)
if a==[5,7,7]:
print('YES')
else:
print('NO')
if __name__ == "__main__":
main() |
p04043 | s808891368 | Wrong Answer | a = input().split(" ")
for i in range(3):
a[i] = int(a[i])
print(a)
if sorted(a) == [5, 5, 7]:
print("YES")
else:
print("NO") |
p04043 | s547808074 | Wrong Answer | ABC = list(map(int, input().split()))
if sorted(ABC) == [5,5,7]:
print("Yes")
else:
print("No") |
p04043 | s919970133 | Wrong Answer | A, B, C = map(int, input().split())
if (A == 5) & (B == 5) & (C == 7):
print('YES')
else:
print('NO') |
p04043 | s437388183 | Wrong Answer | A = input().split()
print("YES" if A.count(5) == 2 and A.count(7) == 1 else "NO") |
p04043 | s958085656 | Wrong Answer | L = sorted(map(int, input().split()))
if L == [5, 5, 7]:
ans = 'Yes'
else:
ans = 'No'
print(ans)
|
p04043 | s350029865 | Wrong Answer | # -*- coding: utf-8 -*-
a = ['5','7','5']
b = input().split()
for i in b:
try:
a.remove(i)
except:
print('NO')
quit()
print('OK')
|
p04043 | s723458287 | Wrong Answer | N = list(map(int,input().split()))
N.sort()
if N[0] == 5:
if N[1] == 5:
if N[2] == 7:
print("Yes")
exit()
print("No") |
p04043 | s677880750 | Wrong Answer | sets = set(map(int, input().split()))
print('YES' if sets == set([5, 7, 5]) else 'NO')
|
p04043 | s578224606 | Wrong Answer | a = [5,7,5]
b = map(int, input().split())
for i in b:
try:
b.remove(i)
except:
print('NO')
quit()
print('OK') |
p04043 | s909810706 | Wrong Answer | A, B, C = map(int, input().split())
if [A, B ,C] == [5,5,7] or [A, B ,C] == [5,7,5] or[A, B ,C] == [7,5,7]:
print("YES")
else:
print("NO") |
p04043 | s839568883 | Wrong Answer | A = sorted(list(map(int, input().split())))
print('YES' if A[0] == 5 and A[1] == 7 and A[2] == 7 else 'NO') |
p04043 | s169147795 | Wrong Answer | A, B, C = map(int, input().split())
l = [A, B, C]
l = sorted(l, reverse=True)
if l[0] == l[1] == 5 and l[2] == 7:
print('YES')
else:
print('NO')
|
p04043 | s187313621 | 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 | s939723107 | Wrong Answer | A,B,C = list(input().split())
count = 0
if A == "7":
count += 1
if B == "7":
count += 1
if C == "7":
count += 1
if count == 1:
print("Yes")
else:
print("No") |
p04043 | s997755401 | Wrong Answer | abc = input().split()
print("YES" if abc.count(5) == 2 and abc.count(7) == 1 else "NO") |
p04043 | s794685639 | 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 | s999661727 | Wrong Answer | s = [int(i) for i in input().split(' ')]
n = [0] * 5
for i in s:
if i == 5:
n[0] += 1
elif i == 7:
n[1] += 1
if n[0] == 2 and n[1] == 1:
print('Yes')
else:
print('No') |
p04043 | s742545978 | Wrong Answer | 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:
print('YES')
else:
print('NO') |
p04043 | s301255403 | Wrong Answer | s = list(map(int, input().split()))
if s[0] == 5 and s[1] == 7 and s[2] == 5:
print("YES")
else:
print("NO") |
p04043 | s185154554 | Wrong Answer | def main():
if sorted(input().split()) == [5,5,7]: print('YES')
else: print('NO')
if __name__ == '__main__':
main() |
p04043 | s643514461 | Wrong Answer | form = input()
if form == [5,7,5]:
print("YES")
else:
print("NO")
|
p04043 | s915885094 | Wrong Answer | a,b,c=map(int,input().split())
if a==b==5 and c==7:
print('YES')
elif a==c==5 and b==7:
print('YES')
elif b==c==5 and c==7:
print("YES")
else:
print('NO') |
p04043 | s349429555 | Wrong Answer | A = list(input().split())
a = A.count(5)
b = A.count(7)
if a == 2 and b == 1:
print('YES')
else:
print('NO') |
p04043 | s226827062 | Wrong Answer | line = input()
if line == '5 5 7' or line == '7 5 5':
print('YES')
else:
print('NO') |
p04043 | s106112213 | Wrong Answer | l = list(map(int, input().split()))
count_5 = 0
count_7 = 0
for r in l:
if r == 5:
count_5 += 1
if r == 7:
count_7 += 1
if count_5 == 2 and count_7 == 1:
print('Yes')
else:
print('No') |
p04043 | s019660304 | Wrong Answer | a, b, c = list(map(int, input().split()))
s = tuple(sorted([a, b, c]))
ans = 'YES' if s == (7,7,5) else 'NO'
print(ans)
|
p04043 | s612249184 | Wrong Answer | A,B,C = map(int,input().split())
if (A,B,C) == (7,5,5):
print("Yes")
elif (A,B,C) == (5,7,5):
print("Yes")
elif (A,B,C) == (5,5,7):
print("Yes")
else:
print("No") |
p04043 | s315689426 | Wrong Answer | a,b,c=map(int,input().split())
d=min(a,b,c)
e=max(a,b,c)
if d==5 and e==7 and a+b+c==17:
print("Yes")
else:
print("No")
|
p04043 | s376645564 | Wrong Answer | s=input().split()
print(["NO","YES"]["5" in s and "7" in s and ("5 5" in s or "5 7" in s)]) |
p04043 | s820431763 | Wrong Answer | A,B,C = map(int,input().split())
print('YES' if A+B+C == 17 else 'N0') |
p04043 | s011931134 | Wrong Answer | a,b,c=map(int,input().split())
N5=0
N7=0
if a==5:
N5 +=1
elif a==7:
N7 +=1
if b==5:
N5 +=1
elif b==7:
N7 +=1
if c==5:
N5 +=1
elif c==7:
N7 +=1
if (N5==2)*(N7==1):
print('Yes')
else:
print('No')
|
p04043 | s566087574 | Wrong Answer | word = list(map(int,input().split()))
#print(word) ['5', '5', '7']
a=0
b=0
for i in range(3):
if word[i]==int(5):
a=a+1
for i in range(3):
if word[i]==int(7):
b=b+1
print(a,b)
if a==2 and b==1:
print("YES")
else:
print("NO")
|
p04043 | s040592988 | Wrong Answer | arr = list(map(int,input().split()))
if arr[0]==5 and arr[1]==7 and arr[2]==5:
print('YES')
else:
print('NO') |
p04043 | s554954671 | Wrong Answer | A, B, C = map(str, input().split())
ABC = A+B+C
print(ABC)
if ABC == '575':
print('YES')
else:
print('NO') |
p04043 | s373828892 | Wrong Answer | abc=list(map(int,input().split()))
abc.sort()
if abc ==[5, 5, 7]:
print("Yes")
else:
print("No") |
p04043 | s362873787 | Wrong Answer | li = input().split()
if ('7' in li) == True:
if ('5' in li) == True:
if li[0] == '5':
if li[1] == '5' or li[2] == '5':
print("Yes")
else:
print("No")
elif li[1] == '5' and li[2] == '5':
print("Yes")
else:
print("No")
else:
print("No")
else:
print("No") |
p04043 | s078969323 | Wrong Answer | a = sorted(list(map(int,input().split())))
print('Yes' if a==[5,5,7] else 'No')
|
p04043 | s301926374 | Wrong Answer | a = input().split(" ")
if a == ["5", "5", "7"]:
print("Yes")
else:
print("No") |
p04043 | s275591078 | Wrong Answer | a=list(map(int,input().split()))
if a.count(5)==2 and a.count(7)==1:
print("Yes")
else:
print("No")
|
p04043 | s711217427 | Wrong Answer | a = input().split(" ")
a.sort()
if (a[0] == a[1] == 5) and a[2] == 7:
print("Yes")
else:
print("No")
|
p04043 | s846593417 | Wrong Answer | syllable = input()
if syllable == "5 5 7" or "5 7 5" or "7 5 5":
print("YES")
else:
print("NO") |
p04043 | s561387047 | Wrong Answer | haiku=list(map(int, input().split())) #a1 a2 a3
haiku.sort()
print(haiku)
print('YES' if haiku[0]==5 and haiku[1]==5 and haiku[2]==7 else 'NO') |
p04043 | s712906591 | Wrong Answer | a, b, c = map(int,input().split())
d = [a, b, c]
if d.count(5) == 2 and d.count(7) == 1:
print("Yes")
else:
print("No") |
p04043 | s980846835 | Wrong Answer | # -*- coding: utf-8 -*-
if __name__ == "__main__":
str_list = [map(int, input().split())]
if str_list.count(5) == 2 and str_list.count(7) == 1:
print('YES')
else:
print('NO')
|
p04043 | s613724844 | Wrong Answer | a,b,c,=map(int,input().split())
list1={a,b,c}
list2={5,7}
if list1==list2:
print("YES")
else:
print("NO")
|
p04043 | s179229904 | Wrong Answer | a,b,c = map(int,input().split())
five = 0
seven = 0
for i in [a,b,c]:
if i == 5:
five += 1
elif i == 7:
seven += 1
else:
pass
if seven == 1 and five == 2:
print("TRUE")
else:
print("NO") |
p04043 | s191233684 | Wrong Answer | l = input().split()
if(int(l[0])==5 and int(l[1])==5):
print("YES")
else:
print("NO")
|
p04043 | s929034980 | Wrong Answer | l=[int(x) for x in input().split()]
if sum(l)==17:
print("yes")
else:
print('no')
|
p04043 | s099368994 | Wrong Answer | a = [input for i in range(3)]
b = [5,5,7]
c = [5,7,5]
d = [7,5,5]
def func():
if a == b:
print(YES)
if a == c:
print(YES)
if a == d:
pritn(YES)
return print(NO) |
p04043 | s713664978 | Wrong Answer | a = input('')
if a.count('5') == 2 and a.count('7') ==1:
print('yes')
else:
print('no') |
p04043 | s870049148 | Wrong Answer | num= input().split()
count5 = 0
count7 = 0
for i in range(len(num)):
if num[i] == 5:
count5 += 1
elif num[i] == 7:
count7 += 1
else:
continue
if count5 == 2 and count7 == 1:
print('YES')
else:
print('NO') |
p04043 | s192838173 | Wrong Answer | l = list(map(int, input().split()))
flag_5 = flag_7 = 0
for i in l:
if i == 5:
flag_5 += 1
if i == 7:
flag_7 += 1
if flag_5 == 2 and flag_7 == 1:
print("Yes")
else:
print("No")
|
p04043 | s371718570 | Wrong Answer | a,b,c=map(int,input().split())
n=[a,b,c]
m=len([i for i in n if i==5])
if m==2:
print('Yes')
else:
print('No') |
p04043 | s453480579 | Wrong Answer | def haiku(sentence_length_list):
length_five_cnt=0
length_seven_cnt=0
for s in sentence_length_list:
if s==5:
length_five_cnt=length_five_cnt+1
if s==7:
length_seven_cnt=length_seven_cnt+1
if length_five_cnt==2 and length_seven_cnt==1:
return 'YES'
else:
return 'NO'
if __name__=='__main__':
haiku(input().split()) |
p04043 | s396153914 | 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 | s804483959 | Wrong Answer | S=list(map(int,input().split()))
if S.count(5)==2 and S.count(7)==1:
print("Yes")
else:print("No") |
p04043 | s224931403 | Wrong Answer | A,B,C=map(int,input().split())
if A+B+C==17:
print('Yes')
else:
print('No') |
p04043 | s253255466 | Wrong Answer | A, B, C = [int(x) for x in input().split()]
if A == 5 and B == 7 and C == 5:
print('YES')
else:
print('NO') |
p04043 | s639015207 | Wrong Answer | A,B,C = map(int,input().split())
if (A,B,C) == (7,5,5):
print("Yes")
elif (A,B,C) == (5,7,5):
print("Yes")
elif (A,B,C) == (5,5,7):
print("Yes")
else:
print("No") |
p04043 | s638443038 | Wrong Answer | # -*- coding: utf-8 -*-
a = ['5','7','5']
b = input().split()
for i in b:
try:
a.remove(i)
except:
print('NO')
quit()
print('OK')
|
p04043 | s426092412 | Wrong Answer | num_list = list(map(int, input().split()))
if (num_list.count(5) == 2) and (num_list.count(7) == 1):
print("Yes")
else:
print("No") |
p04043 | s480757362 | Wrong Answer | def main():
print("aaa")
a = list(input().split())
a = [int(aa) for aa in a]
a = sorted(a)
if a==[5,7,7]:
return 'YES'
else:
return 'NO'
if __name__ == "__main__":
main() |
p04043 | s750948600 | Wrong Answer | a,b,c=map(int,input().split())
if a==5 or 7 and b==5 or 7 and c==5 or 7:
if a+b+c==17:
print('YES')
else:
print('NO') |
p04043 | s405795625 | Wrong Answer | a, b, c = map(int, input().split())
if a+b+c == 17:
print("Yes")
else:
print("No") |
p04043 | s149450510 | Wrong Answer | A, B, C = map(int, input().split())
if A*B*C == 5*5*7:
print('Yes')
else:
print('No') |
p04043 | s253733180 | Wrong Answer | s = input().split()
print('YES' if s.count('5')==2 and s.count('7')==1 else print('NO'))
|
p04043 | s696972955 | Wrong Answer | a=list(map(int, input().split()))
a.sort()
if a == [5, 5, 7]:
print('Yes')
else:
print('No')
|
p04043 | s492799576 | Wrong Answer | A = list(map(int, input().split()))
A.sort()
if A[0] == 5:
if A[1] == 5:
if A[2] == 7:
print("Yes")
exit()
print("No") |
p04043 | s936721947 | Wrong Answer | a,b,c=input().split()
ls=[a,b,c]
ls.sort
if ls[0]==ls[1]==5 and ls[2]==7:
print("YES")
else:
print("NO") |
p04043 | s311771067 | Wrong Answer | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main():
ABC = list(map(int, input().split()))
print('Yes' if ABC.count(5) == 2 and ABC.count(7) == 1 else 'No')
if __name__ == "__main__":
main()
|
p04043 | s086205972 | Wrong Answer | a = input()
if "5" and "5" and "7" in a:
print("YES")
else:
print("NO") |
p04043 | s186561138 | Wrong Answer | A,B,C = input().split()
if A == B == "5"and C == "7":
print("YES")
elif A == C == "5" and C == "7":
print("YES")
elif B == C == "5" and C == "7":
print("YES")
else:
print("NO")
|
p04043 | s911046639 | Wrong Answer | A,B,C = map(int, input().split())
ABC = [A,B,C]
if sorted(ABC) == [5,5,7]:
print("Yes")
else:
print("No") |
p04043 | s843064329 | Wrong Answer | N = list(map(int,input().split()))
if 7 in N:
N.remove(7)
if 5 in N:
if sum(N) == 10:
print("Yes")
exit()
print("No") |
p04043 | s740761938 | Wrong Answer | import sys
from heapq import heappush, heappop, heapify
import math
from math import gcd
import itertools as it
from collections import deque
input = sys.stdin.readline
def inp():
return int(input())
def inpl():
return list(map(int, input().split()))
INF = 1001001001
# ---------------------------------------
def main():
A = inpl()
A.sort()
if A[0]==A[1]==5 and A[2]==7:
print("Yes")
else:
print("No")
main()
|
p04043 | s053695049 | Wrong Answer | A = list(map(int, input().split()))
count = 0
for i in range(3):
if A[i] == 5 or A[i] == 7:
count += 1
if count == 3:
print('Yes')
else:
print('No') |
p04043 | s897948909 | Wrong Answer | a, b, c = map(int, input().split())
if a*b*c == 175 and a+b+c == 17 :
print("Yes")
else :
print("No") |
p04043 | s482702871 | Wrong Answer | A = list(input().split())
count = 0
if A.count("7") == 1 and A.count("5") == 2:
print("Yes")
else:
print("No")
|
p04043 | s479425366 | Wrong Answer | s = list(input().split())
a = s.count("5")
b = s.count("7")
if a == 2 and b == 1:
print("Yes")
else:
print("No") |
p04043 | s515448408 | Wrong Answer | A, B, C = map(int,input().split())
if A == 5 and B == C == 7:
print("YES")
elif A==B==7 and C==5:
print("YES")
elif A==C==7 and B==5:
print("YES")
else:
print("NO") |
p04043 | s720837518 | Wrong Answer | x=list(map(int,input().split()))
if x.count(5)==2 and x.count(7)==1:
print('Yes')
else:
print('No') |
p04043 | s465590260 | 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 = sorted(input_ints())
yes(numbers == [5,5,7]) |
p04043 | s481828242 | Wrong Answer | if sorted(map(int, input().split())) == [5, 5, 7]:
print('Yes')
else:
print('No') |
p04043 | s072091851 | Wrong Answer | l = input().split()
if l == ["5","7","5"] or ["7","5","5"] or ["5","5","7"]:
print('YES')
else:
print('NO') |
p04043 | s305630250 | Wrong Answer | A = list(map(int,input().split()))
sorted(A)
if A[0] == 5 and A[1] == 5 and A[2] == 7:
print("YES")
else:
print("NO")
|
p04043 | s184273213 | Wrong Answer | a, b, c = map(int, input().split())
s = a, b, c
if s == (5, 7, 5):
print("Yes")
else:
print("No") |
p04043 | s579504405 | Wrong Answer | a,b,c = map(int, input().split())
s = {a,b,c}
list1 = [a,b,c]
if s == {5,7} and sum(list1) == 17:
print("Yes")
else :
print("No")
|
p04043 | s530084118 | Wrong Answer | def main(input: list):
possible575 = sorted(input) == [5, 5, 7]
print(possible575)
input = list(map(int, input().split()))
main(input)
|
p04043 | s714237641 | Wrong Answer | def hiku():
lst=input()
lst = lst.split()
lst.sort()
print(lst)
if lst[0]=='5' and lst[1]=='5' and lst[2]=='7':
print("YES")
else:
print('NO')
hiku() |
p04043 | s409436950 | Wrong Answer | a, b, c = map(int, input().split())
print('Yes' if a+b+c == 17 else 'No') |
p04043 | s212864833 | Wrong Answer | A, B, C = map(int, input().split())
fsf = [A, B, C]
if fsf.count(5) == 2 & fsf.count(7) == 1:
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.