problem_id stringclasses 100
values | submission_id stringlengths 10 10 | status stringclasses 2
values | code stringlengths 6 806 |
|---|---|---|---|
p04043 | s274729962 | Wrong Answer | a,b,c=map(int,input().split())
n=[a,b,c]
m=len([i for i in n if i==5])
p=len([i for i in n if i==7])
if m==2 and p==1:
print('Yes')
else:
print('No') |
p04043 | s825361148 | Wrong Answer | tupni = [int(idx) for idx in input().split(" ")]
if tupni.sort() == [5,5,7]:
print("YES")
else:
print("NO")
|
p04043 | s377206624 | Wrong Answer | a,b,c = input().split()
if (a==b or b==c or c==a and not a==b==c): print("YES")
else: print("NO") |
p04043 | s879740440 | Wrong Answer | def main():
A, B, C = map(int, input().split())
if (A == 5 and B == 7 and C == 5) or (A == 7 and B == 5 and C == 5) or (A == 5 and B == 5 and C ==7):
print('YES')
else:
print('No')
main() |
p04043 | s189763992 | Wrong Answer | l = [7,5,5]
a = list(map(int, input().split()))
a.sort()
if a == l:
print("YES")
else:
print("NO") |
p04043 | s096869360 | Wrong Answer | if list(map(int,input().split())).sort()==[5,5,7]:
print("YES")
else:
print("NO") |
p04043 | s559774508 | Wrong Answer | ABC = input().split()
print('YES' if ABC.count('5') == 2 and ABC.count('7') ==1 else 'N0')
|
p04043 | s092792313 | Wrong Answer | import sys
input = sys.stdin.readline
li = [int(i) for i in input().split()]
li.sort()
a = "No"
if li[0] == 5 and li[1] == 5 and li[2] == 7 :
a = "Yes"
print(a) |
p04043 | s989986943 | Wrong Answer | A = list(map(int, input().split()))
A.sort()
print(A)
if A == [5,5,7]:
print("YES")
else:
print("NO") |
p04043 | s692869256 | Wrong Answer | a = list(map(int, input().split()))
print("Yes" if a[0]== a[2] == 5 and a[1] == 7 else "No") |
p04043 | s988964227 | Wrong Answer | sets = set(map(int, input().split()))
print('Yes' if sets == set([5, 7, 5]) else 'no')
|
p04043 | s589777271 | Wrong Answer | a=list(map(int,input().split()))
if a.count(5)==2:
if a.count(7)==1:
print("Yes")
else:
print("No")
|
p04043 | s020047591 | Wrong Answer | A,B,C = map(int, input().split())
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')
|
p04043 | s538956608 | 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 | s454381481 | Wrong Answer | A, B, C = map(int, input().split())
if A == 5 and B == 7 and C == 7:
print("YES")
elif A == 7 and B == 5 and C == 7:
print("YES")
elif A == 7 and B == 7 and C == 5:
print("YES")
else:
print("NO") |
p04043 | s501830877 | Wrong Answer | S = list(map(int, input().split()))
S.sort()
if S.sort()==[5,5,7]:
print("YES")
else: print("NO") |
p04043 | s610173268 | Wrong Answer | A, B, C = map(str, input().split())
D = 0
E = 0
if A == 5:
D += 1
if A == 7:
E += 1
if B == 5:
D += 1
if B == 7:
E += 1
if C == 5:
D += 1
if C == 7:
E += 1
if D == 2 and E==1:
print("YES")
else:
print("NO") |
p04043 | s414526008 | 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 | s486720489 | Wrong Answer | l=list(map(int,input().split()))
if l.count(5)==2 and l.count(7)==1 and len(l)==3:
print('Yes')
else:
print('No') |
p04043 | s601401816 | Wrong Answer | num=input()
moji=num.split(" ")
if int(moji[0])==7 or int(moji[0])==5:
pass
else:
print("NO")
if moji[1]==7 or moji[1]==5:
if int(moji[0])+int(moji[1])+int(moji[2])==19:
print("YES")
else:
print("NO") |
p04043 | s571111210 | Wrong Answer | a, b, c = map(int, input().split())
def iroha(a,b,c):
if (a==5 or a==7) and (b==5 or b==7) and (c==5 or c==7) and a+b+c==17:
if [a,b,c]==[5,7,5]:
return "NO"
else:
return "YES"
else:
return "NO"
print(iroha(a,b,c)) |
p04043 | s166771302 | Wrong Answer | ln = sorted(list(map(int, input().split())))
if ln[0] == ln[1] ==5 and ln[2] ==7:
print('Yes')
else:
print('No')
|
p04043 | s581043946 | Wrong Answer | a=list(map(int,input().split()))
#a=[map(int,input().split())]
print(a)
if a.count(5)==2 and a.count(7)==1:
print('YES')
else:
print('NO')
|
p04043 | s175771983 | Wrong Answer | A, B, C = map(int, input().split())
if (A == 5) & (B == 7) & (C == 5):
print('YES')
else:
print('NO') |
p04043 | s124398564 | Wrong Answer | a,b,c=input().split()
print(a,b,c) |
p04043 | s402823590 | 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 | s927825809 | Wrong Answer | nums = list(map(int, input().split()))
if nums.count(5) == 2 and nums.count(7) == 2:
print("YES")
else:
print("NO") |
p04043 | s309648255 | Wrong Answer | yes = lambda boolean: print('YES') if boolean else print('NO')
input_ints = lambda: list(map(int, input().split()))
yes(input_ints().sort() == [5,5,7]) |
p04043 | s877103163 | Wrong Answer | a, b, c = map(int, input().split())
s = a + b + c
if s == 17:
print("Yes")
else:
print("No") |
p04043 | s843274001 | Wrong Answer | S = list(map(int, input().split()))
S.sort()
if S.sort()==[5,5,7]:
print("YES")
else:
print("NO") |
p04043 | s731514802 | Wrong Answer | a = list(map(int, input().split()))
print("YES" if a[0]== a[2] == 5 and a[1] == 7 else "NO") |
p04043 | s590285399 | Wrong Answer | inp = (input().split())
if inp[0] == inp[1]:
print("YES")
else:
print("NO") |
p04043 | s929775311 | Wrong Answer | A, B, C=map(str,input().split())
x = [int(A), int(B), int(C)]
if (x.count(5) == 2) and (x.count(7) == 1):
print("Yes")
else:
print("No") |
p04043 | s687507292 | Wrong Answer | A, B, C = (int (x) for x in input().split())
abclist = (A, B, C)
if abclist.count(5) == 2 and abclist.count(7) == 1:
print("Yes")
else:
print("No") |
p04043 | s422587259 | Wrong Answer | X=list(map(int,input().split()))
X.sort(reverse=False)
if X==[5,5,7]:
print("YES")
else:
print("NO")
print(X) |
p04043 | s999105536 | Wrong Answer | s = [int(i) for i in input().split(' ')]
n = [0] * 2
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 | s414863070 | Wrong Answer | a,b,c=input().split()
if a==b==5:
if c==7:
print("Yes")
else:
print("No")
elif a==c==5:
if b==7:
print("Yes")
else:
print("No")
elif b==c==5:
if a==7:
print("Yes")
else:
print("No")
else:
print("No") |
p04043 | s996527153 | Wrong Answer | A,B,C = list(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 | s266410776 | Wrong Answer | X=list(map(int,input().split()))
X.sort
if X==[5,5,7]:
print("YES")
else:
print("NO")
|
p04043 | s509322291 | Wrong Answer | #!/usr/bin/env python3
import sys
if sorted(sys.stdin.read().split(' ')) == ['5', '5', '7']:
print('YES')
else:
print('NO') |
p04043 | s958528057 | Wrong Answer | k = input().split()
k.sort()
if k[0] == '5' and k[1] == '5' and k[2] == '7':
print('Yes')
else:
print('No') |
p04043 | s547009775 | Wrong Answer | a,b,c =map(int,input().split() )
d = a + b + c
e = a * b * c
if(d == 17 and e == 175):
print("Yes")
else:
print("No") |
p04043 | s497659839 | Wrong Answer | A, B, C = map(int, input().split())
s = A, B, C
print('Yes') if s.count(5) == 2 and s.count(7) == 1 else print('No') |
p04043 | s020747640 | Wrong Answer | abc = list(map(int, input().split()))
if abc.count(5) == 2 and abc.count(7) == 1: print("YES")
else: print("N0") |
p04043 | s864726827 | Wrong Answer | a, b , c = map(int, input().split())
flag = a*b*c==175 and a+b+c==17
print('Yes' if flag else 'No') |
p04043 | s600313461 | Wrong Answer | l = sorted(map(int, input().split()))
if l == [5, 5, 7]:
ans = 'Yes'
else:
ans = 'No'
print(ans) |
p04043 | s204380750 | Wrong Answer | from sys import stdin, stdout
def main():
line = stdin.readline()
parts = line.split()
parts.sort()
stdout.write('Yes' if int(parts[0])==5 and int(parts[1])==5 and int(parts[2])==7 else 'No')
main() |
p04043 | s351326030 | Wrong Answer | a, b, c = map(int, input().split())
fiveCount = 0
sevenCount = 0
if a == 5: fiveCount+= 1
if b == 5: fiveCount+= 1
if c == 5: fiveCount+= 1
if a == 7: sevenCount+= 1
if b == 7: sevenCount+= 1
if c == 7: sevenCount+= 1
if fiveCount == 2 and sevenCount == 1:
print("Yes")
else:
print("No") |
p04043 | s410419297 | Wrong Answer | INT_MAX=10**18+7
MOD=10**9+7
def INPUT():return list(int(i) for i in input().split())
def LIST_1D_ARRAY(n):return [0 for _ in range(n)]
def LIST_2D_ARRAY(m,n):return [[0 for _ in range(n)]for _ in range(m)]
#################################################################################
a,b,c=INPUT()
if a==5 and b==7 and c==5:
print("YES")
else:
print("NO")
|
p04043 | s291702572 | Wrong Answer | A=list(map(int,input().split()))
A.sort
#print(A)
if A==[5,5,7]:
print('YES')
else:
print('NO') |
p04043 | s893170385 | Wrong Answer | a =list(map(int,input().split()))
if sum(a) == 19 and a.count("7") == 2:
print("YES")
else:
print("NO")
|
p04043 | s435755394 | Wrong Answer | iroha = input()
iroha = iroha.split(" ")
iroha = sorted(iroha)
print(iroha) |
p04043 | s846063323 | Wrong Answer | # -*- coding: utf-8 -*-
A_B_C = list(map(int, input().split()))
if A_B_C == [5,5,7]:
print('YES')
else:
print('NO') |
p04043 | s750702572 | Wrong Answer | ans = []
A, B, C = map(int, input().split())
ans.append(A)
ans.append(B)
ans.append(C)
if ans.count(5) == 2 and ans.count(7) == 1:
print('Yes')
else:
print('No')
|
p04043 | s014643278 | Wrong Answer | sort_list = list(map(int, input().split()))
if sort_list.count(5) == 1 and sort_list.count(7) == 2:
print("YES")
else:
print("NO")
|
p04043 | s793410623 | Wrong Answer | list = list(input().split())
list.sort()
if list[0] == 5 and list[1] == 5 and list[7] == 7:
print('Yes')
else:
print('No')
|
p04043 | s238759596 | Wrong Answer | line = input()
if line == '5 5 7' or line == '7 5 5':
print('Yes')
else:
print('NO') |
p04043 | s048200318 | Wrong Answer | List = input().split()
print(List)
if List.count("5") == 2 and List.count("7") == 1:
print("Yes")
else: print("No") |
p04043 | s399795838 | Wrong Answer | 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")
|
p04043 | s864910416 | 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 | s858662530 | Wrong Answer | N=list(map(int,input().split()))
if sorted(N)==[5,7,7]:
print("YES")
else:
print("NO") |
p04043 | s109698581 | Wrong Answer | num=input()
moji=num.split(" ")
if int(moji[0])==7 or int(moji[0])==5:
pass
else:
print("NO")
if moji[1]==7 or moji[1]==5:
if int(moji[0])+int(moji[1])+int(moji[2])==19:
print("YES")
else:
print("NO") |
p04043 | s091095249 | 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 | s480773146 | Wrong Answer | syl=sorted(list(map(int,input().split())))
print(syl)
syl2=[5, 5, 7]
if syl == syl2:
print('YES')
else:
print('NO') |
p04043 | s009563721 | Wrong Answer | a,b,c=input().split()
d=[a,b,c]
print(d.count("5"))
if d.count("5")==2 and d.count("7")==1:
print("YES")
else:
print("NO")
|
p04043 | s155137768 | Wrong Answer | abc = list(map(int,input().split()))
if 5 in abc and 7 in abc and abc.count(7)==1:
print('YES')
else:
print('NOT')
|
p04043 | s283044867 | 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 | s957803766 | 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(True)
else:
print(False) |
p04043 | s672440184 | 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 | s994728202 | Wrong Answer | queue=list(map(int,input().split()))
queue.sort()
if queue[0]==5 and queue[1]==5 and queue[2]==7:
print("Yes")
else:
print("No")
|
p04043 | s464304678 | Wrong Answer | def main():
a, b, c = map(int, input().split())
list = []
list.append(a)
list.append(b)
list.append(c)
if list.count(5) == 2 and list.count(7) == 1 :
print("Yes")
else :
print("No")
if __name__ == '__main__':
main()
|
p04043 | s799572239 | Wrong Answer | a = list(map(int, input().split()))
if sum(a) == 17 and a.count(5) == 2:
print("Yes")
else:
print("No")
|
p04043 | s214795889 | Wrong Answer | li=a,b,c=list(map(int,input().split()))
if li.count(7)==2 and li.count(5)==1:
print("YES")
else:
print("NO") |
p04043 | s534952516 | Wrong Answer | form = input()
form = form.split()
if form == [5,7,5]:
print("YES")
else:
print("NO")
|
p04043 | s960563546 | Wrong Answer | L=sorted(map(int, input().split()))
if L==[5, 5, 7]:
ans='Yes'
else:
ans='No'
print(ans) |
p04043 | s585131399 | Wrong Answer | val1=list(map(int,input().split()))
if sum(val1)==17:
print("OK")
else:
print("NO") |
p04043 | s071555510 | Wrong Answer | a = input().split()
five = a.count(5)
seven = a.count(7)
if five == 2 and seven == 1:
print('YES')
else:
print('NO') |
p04043 | s364912606 | Wrong Answer | a, b, c = map(str, input().split())
sor_len_list = sorted([len(a), len(b), len(c)])
if sor_len_list == [5, 5, 7]:
print('YES')
else:
print('NO') |
p04043 | s922444808 | Wrong Answer | word = list(input())
#print(word) ['5', '5', '7']
a=0
b=0
for i in range(3):
if word[i]==str(5):
a=a+1
for i in range(3):
if word[i]==str(7):
b=b+1
if a==2 and b==1:
print("YES")
else:
print("NO")
|
p04043 | s602174370 | Wrong Answer | a = list(map(int, input().split()))
cnt_five = 0
cnt_seven = 0
for i in range(3):
if (a[i] == 5):
cnt_five += 1
if (a[i] == 7):
cnt_seven += 1
if(cnt_five == 2 and cnt_seven == 1):
print('Yes')
else:
print('No')
|
p04043 | s573875954 | Wrong Answer |
def main():
input_str = input()
a,b,c = input_str.split(' ')
a = int(a)
b = int(b)
c = int(c)
flag = False
for i in [a,b,c,'fin']:
if i == 'fin':
if a+b+c== 15:
flag = True
elif not i in [5,7]:
break
if flag:
print('YES')
else:
print('NO')
if __name__=='__main__':
main()
|
p04043 | s754843637 | Wrong Answer | ABC=input().split()
five_count=ABC.count("5")
seven_count=ABC.count("7")
if five_count == 2 and seven_count==1:
print("Yes")
else:
print("NO") |
p04043 | s798467450 | Wrong Answer | a = input()
if a.count('5') == 2:
if a.count('7') == 1:
print('yes')
else:
print('no')
else:
print('no') |
p04043 | s458751379 | Wrong Answer | a,b,c = map(int,input().split())
if a + b + c == 19:
print("YES")
else:
print("NO") |
p04043 | s648016310 | Wrong Answer | def test():
arr = input()
arr = arr.split()
arr = sorted(arr)
if arr==[5, 5, 7]:
print("YES")
else:
print("NO")
test()
|
p04043 | s026614250 | Wrong Answer | b = input().split() #aの文字列を空白で区切る
c = [int(s) for s in b] #bのそれぞれの要素に対して数値にしてリストに格納
print(c)
num5 = 0
num7 = 0
for i in range(len(c)):
if c[i] == 5:
num5 += 1
continue
if c[i] == 7:
num7 +=1
continue
if num5 == 2 and num7 == 1:
print("YES")
else:
print("NO") |
p04043 | s026344207 | Wrong Answer | a,b,c=map(int,input().split())
if(a+b+c==17 and a*b*c==25*7):
print("Yes")
else:
print("No") |
p04043 | s815103888 | Wrong Answer | A = list(map(int, input().split()))
A.sort()
print("Yes" if A == [5,5,7] else "No") |
p04043 | s263036111 | Wrong Answer | lis = sorted(input().split())
print(lis)
if lis == ['5', '5', '7']:
print('YES')
else:
print('NO') |
p04043 | s015026581 | Wrong Answer | ABC = [int(x) for x in input().split()]
S = sorted(ABC)
print(S)
if S[0] == 5 and S[1] == 5 and S[2] == 7:
print('YES')
else:
print('NO') |
p04043 | s588340912 | Wrong Answer | def check():
A = list(map(int, input().split()))
if A.count(5)!=2 or A.count(7)!=1:
return 'No'
return 'Yes'
print(check()) |
p04043 | s613103878 | Wrong Answer | I=input().split()
if I[0]=="5" and I[1]=="7" and I[2]=="5":
print("YES")
else:
print("NO") |
p04043 | s238915270 | Wrong Answer | ABC = input().split()
print('YES' if ABC.count('5') == 2 and ABC.count('7') == 1 else 'N0') |
p04043 | s252883481 | Wrong Answer | import sys, math
def input():
return sys.stdin.readline()[:-1]
def main():
A = list(map(int,input().split()))
if A.count(5) == 2 and A.count(7) == 1:
print("Yes")
else:
print("No")
if __name__ == '__main__':
main()
|
p04043 | s352307190 | Wrong Answer | a,b,c = map(int,input().split())#標準入力を行う
if (a == 5 or a== 7):
if(b == 5 or b == 7):
if(c == 5 or c == 7):
if(a + b + c == 17):
print("YES")
print("NO")
|
p04043 | s371144445 | 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('YES')
else:
print('NO')
else:
print('NO')
else:
print('NO') |
p04043 | s101866801 | Wrong Answer | # list に入力を格納
list = list(map(int, input().split()))
# 小さい順に並び替え
list.sort()
if list[0] == 5 and list[1] == 5 and list[2] == 7:
print('Yes')
else:
print('No')
|
p04043 | s714020126 | Wrong Answer | a,b,c = map(int,input().split())
print("YES" if a*b*c == 35 else "NO")
|
p04043 | s433524063 | Wrong Answer | a=input().split()
print('YES'if a.count('5')==2 and a.count('7')==1 else'No') |
p04043 | s638617482 | Wrong Answer | li = list(map(int, input().split()))
if li == [5, 5, 7]:
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.