problem_id stringclasses 100
values | submission_id stringlengths 10 10 | status stringclasses 2
values | code stringlengths 6 806 |
|---|---|---|---|
p04043 | s177223803 | Wrong Answer | Number=list(map(int,input().split()))
print(Number)
if Number.count(5)==2 and Number.count(7)==1:
print("YES")
else:
print("NO")
|
p04043 | s076847912 | Wrong Answer | str = input()
count5 = str.count('5')
count7 = str.count('7')
if count5 == 2 and count7 == 1:
print('Yes')
else:
print('NO') |
p04043 | s942004064 | Wrong Answer | a = list(map(int,input().split()))
b = a.count('5')
c = a.count('7')
if b == 2 and c ==1:
print('YES')
else:
print('NO') |
p04043 | s943096970 | Wrong Answer | a = list(map(int, input().split()))
if a.count(5) == 2 and a.count(7) == 1:
print('Yes')
else:
print('No') |
p04043 | s839536498 | Wrong Answer | a = list(map(int, input().split()))
a.sort()
if a[0]==a[1]==5 and a[2]==7:
print('YES')
else:
print('No') |
p04043 | s558054492 | 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 | s104964314 | Wrong Answer | a=list(map(int,input().split()))
if sum(a) == 17:
a.sort()
if a[0]==5 and a[1]==5:
print('Yes')
else:
print('No')
else:
print('No') |
p04043 | s380982428 | 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 | s375227343 | 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 | s951191061 | Wrong Answer |
l,m,n = map(int,input().split())
cnt =0
if l == 5:
cnt += 1
if m == 7:
cnt += 1
if l == 5:
cnt += 1
if cnt == 3:
print("YES")
else:
print("NO")
|
p04043 | s232366714 | Wrong Answer | a=list(map(int,input().split()))
if a.count(5)==2:
if a.count(7)==1:
print("Yes")
else:
print("No")
else:
print("No") |
p04043 | s598018291 | 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 | s304582909 | Wrong Answer | list=[int(a) for a in input().split()]
if list.count(5)==2 and list.count(7)==1:
print("Yes")
else:
print("No")
|
p04043 | s283589879 | Wrong Answer | def irohachan(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):
print("YES")
else:
print("NO") |
p04043 | s286625345 | Wrong Answer | a=list(input().split())
if a==[5,5,7] or a==[5,7,5] or a==[7,5,5]:
print("YES")
else:
print("NO") |
p04043 | s529147030 | Wrong Answer | nums = list(map(int,input().split()))
for i in [5,7,5]:
if i in nums:
nums.remove(i)
else:
print("No")
exit()
if len(nums) == 0:
print("Yes")
else:
print("No") |
p04043 | s977061991 | Wrong Answer | a = sorted(map(int,input().split()))
print('Yes' if a==[5,5,7] else 'No') |
p04043 | s740570571 | Wrong Answer | list = list(map(int,input().split()))
five = 0
seven = 0
for i in list:
if i == 5:
five += 1
elif i == 7:
seven += 1
else:
pass
if seven == 1 and five == 2:
print("TRUE")
else:
print("NO") |
p04043 | s272129774 | Wrong Answer | a,b,c = map(str, input().split())
if (a==b or b==c or c==a):
if (not a==b==c): print("YES")
else: print("NO")
else: print("NO") |
p04043 | s017394157 | Wrong Answer | a = input()
A = int(a[0])
B = int(a[2])
C = int(a[4])
if(A==5 & B==7 & C==5):
print('yes')
elif(A==7 & B==5 & C==5):
print('yes')
elif(A==5 & B==5 & C==7):
print('yes')
else:
print('no')
|
p04043 | s677760103 | Wrong Answer | A, B, C = map(int, input().split())
L = []
for i in A,B,C:
L.append(i)
Ls = sorted(L)
if Ls[0] == 5 and Ls[1] == 5 and Ls[2] == 7:
print("Yes")
else:
print("No") |
p04043 | s325519776 | 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") |
p04043 | s081156913 | 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')
if a==7 and b==5 and c==5:
print('YES')
else:
print('NO') |
p04043 | s988079400 | Wrong Answer | a,b,c =input().split()
a = int(a)
b = int(b)
c = int(c)
if a == 5:
if (b== 7 and c==5) or (b== 5 and c==7):
print("YES")
elif a == 7:
if b==5 and c == 5:
print("YES")
else:
print("NO") |
p04043 | s732140104 | Wrong Answer | a=input().split()
print('YES'if a.count('5')==2 and a.count('7')==1 else'No') |
p04043 | s738521050 | Wrong Answer | a = input().split()
print(a)
if a.count('5')==2 and a.count('7')==1:
print('YES')
else:
print('NO') |
p04043 | s159858802 | Wrong Answer | a, b, c = input().split()
print("YES" if sorted([len(a), len(b), len(c)]) == [5, 5, 7] else "NO")
|
p04043 | s034030617 | Wrong Answer | a,b,c= input().split()
if a == 7:
if b == 5 and c ==5:
print ("YES")
else:
print("NO")
else:
if b ==7:
if a ==5 and c ==5:
print("YES")
else:
print("NO")
else:
if c !=7:
print ("NO")
else:
if b == 5 and c == 5:
print ("YES")
else:
print ("NO") |
p04043 | s425779822 | Wrong Answer | a,b,c = (int(x) for x in input().split())
if a==7 and b==5 and c==5:
print('YES')
elif a==5 and b==5 and c==5:
print('YES')
elif a==5 and b==5 and c==7:
print('YES')
else:
print('NO') |
p04043 | s485659633 | Wrong Answer | lis = sorted(input().split())
print(lis)
if lis == ['5', '5', '7']:
print('YES')
else:
print('NO') |
p04043 | s026014391 | 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 | s156442599 | Wrong Answer | a, b, c = map(int, input().split())
if a+b+c == 19:
print("Yes")
else:
print("No") |
p04043 | s601115634 | Wrong Answer | num = list(map(int, input().split()))
num.sort
if(num[0]==5 and num[1]==5 and num[2] == 7):
print("YES")
else:
print("NO") |
p04043 | s024005888 | Wrong Answer | ls = list(map(str, input().split()))
# ok_list = ['5', '7', '5'] or ['7', '5', '5'] or ['5', '5', '7']
if ls == ['5', '7', '5']:
print("Yes")
elif ls == ['7', '5', '5']:
print("Yes")
elif ls == ['5', '5', '7']:
print("Yes")
else:
print("No") |
p04043 | s732046688 | Wrong Answer | A, B, C = map(int, input().split())
MC = [A, B, C]
if MC.count(5)==2 and MC.count(7)==1:
print("Yes")
else:
print("No") |
p04043 | s557541691 | Wrong Answer | from sys import stdin, stdout
from time import perf_counter
import sys
sys.setrecursionlimit(10**9)
mod = 10**9+7
# import sys
# sys.stdout = open("e:/python/cp/output.txt","w")
# sys.stdin = open("e:/python/cp/input.txt","r")
l = [int(item) for item in input().split()]
resutl = sorted(l)
print("YES" if resutl == l else "NO") |
p04043 | s122916516 | Wrong Answer | list=[int(i) for i in input().split()]
list1=sorted(list)
if list==[5,5,7]:
print('YES')
else:
print('NO') |
p04043 | s027160418 | Wrong Answer | a,b,c=(map(int,input().split()))
if a==5:
if b==5:
if c==7:
print("YES")
else:
print("NO")
elif b==7:
if c==5:
print("YES")
else:
print("NO")
elif a==7:
if b==5 and c==5:
print("YES")
else:
print("NO")
else:
print("NO") |
p04043 | s765052574 | Wrong Answer | def main():
l = list(map(int,(input().split())))
if l.count(5)==2 and l.count(7) == 1:
print("Yes")
else:
print("No")
main() |
p04043 | s989397941 | Wrong Answer | p=set(input());print("YNEOS"[p=={" ",5,7}::2]) |
p04043 | s137693260 | Wrong Answer | inp=input().split()
prod = int(inp[0]) * int(inp[1]) * int(inp[2])
resid1 = prod//5
resid2 = prod//7
if (prod == 175) & (resid1==0) & (resid2==0):
print('YES')
else:
print('NO') |
p04043 | s050338511 | 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 | s938093906 | Wrong Answer | abc = list(map(int,input().split()))
ans = "No"
if 5 in abc:
abc.remove(5)
if 5 in abc and 7 in abc:
ans = "Yes"
print(ans) |
p04043 | s289849820 | Wrong Answer | def test():
arr = input()
arr = arr.split()
arr = arr.sort()
if arr==['5', '5', '7']:
print("YES")
else:
print("NO")
test()
|
p04043 | s266014916 | Wrong Answer | import sys
import math
import bisect
def main():
A = list(map(int, input().split()))
A.sort()
if len(A) == 3 and A == [5, 5, 7]:
print('Yes')
else:
print('No')
if __name__ == "__main__":
main()
|
p04043 | s070319958 | Wrong Answer | from functools import reduce
from operator import mul
s = reduce(mul, map(int, input().split(' ')))
print('Yes' if s == 175 else 'No')
|
p04043 | s718513646 | Wrong Answer | a = list(map(int,input().split()))
if a.count(5) == 2 and a.count(7) == 1:
print("yes")
else:
print("no") |
p04043 | s938906983 | 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 | s369917869 | 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 | s951678940 | Wrong Answer | ls = list(map(int, input().split()))
if ls == [5, 7, 5]:
print("Yes")
elif ls == [7, 5, 5]:
print("Yes")
elif ls == [5, 5, 7]:
print("Yes")
else:
print("No") |
p04043 | s390882524 | Wrong Answer | a, b, c = map(int, input().split())
if a == 5:
if b == 5 and c == 7:
print('YES')
elif b == 7 and c == 5:
print('YES')
else:
print('NO')
else:
if a == 5 and b == 5:
print('YES')
else:
print('NO') |
p04043 | s903886409 | Wrong Answer | A,B,C= input().split()
Sum = A + B + C
if Sum == 17:
print('YES')
else:
print('NO') |
p04043 | s108509049 | 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 | s897314146 | Wrong Answer | List = input().split()
if List.count("5") == 2 and List.count("7") == 1:
print("Yes")
else: print("No")
|
p04043 | s236336457 | Wrong Answer | l = list(map(int,input().split()))
if int(l.count(5)) == 2 and int(l.count(7)) == 1:
print('Yes')
else:
print('No')
|
p04043 | s304032545 | Wrong Answer | def check():
A = list(map(int, input().split()))
if A.count(7)!=2 or A.count(5)!=1:
return 'NO'
return 'YEs'
print(check()) |
p04043 | s144092996 | Wrong Answer | list=[int(i) for i in input().split()]
list1=sorted(list)
if list==[5,5,7]:
print('YES')
else:
print('NO') |
p04043 | s492420437 | Wrong Answer | haiku = list(map(int,input().split()))
haiku.sort()
if haiku ==[5,5,7]:
print("Yes")
else:
print("No")
|
p04043 | s339840137 | Wrong Answer | ls = sorted(list(map(int, input().split())))
if ls == [5, 5, 7]:
print("Yes")
else:
print("No") |
p04043 | s795610184 | Wrong Answer | A, B, C = map(int, input().split())
if A == 5 and B == 5 and C == 7: print("YES")
if A == 5 and B == 7 and C == 5: print("YES")
if A == 7 and B == 5 and C == 5: print("YES")
else: print("NO") |
p04043 | s690423675 | Wrong Answer | l = map(int, input().split())
if sorted(l) == [5, 5, 7]:
ans = 'Yes'
else:
ans = 'No'
print(ans) |
p04043 | s436659450 | Wrong Answer | a,b,c = map(int, input().split())
if a==5 and b==7 and c==5:
print('YES')
else:
print('NO') |
p04043 | s435096167 | Wrong Answer | def iroha():
A, B, C = map(int, input().split())
S = A + B + C
if S == 17:
print("YES")
else:
print("NO")
|
p04043 | s504112406 | Wrong Answer | def haiku():
x=input()
x=x.split()
x=x.sort()
if x==['5','5','7']:
print("YES")
else:
print("NO")
haiku() |
p04043 | s093899691 | Wrong Answer | A = "ใตใใใใ"
B = "ใใใใจใณใใ"
C = "ใใใฎใใจ"
haiku = []
haiku.append(len(A))
haiku.append(len(B))
haiku.append(len(C))
if sum(haiku) == 17:
if max(haiku) == 7:
if min(haiku) == 5:
print("Yes")
else:
print("No")
else:
print("No")
else:
print("No") |
p04043 | s585186034 | Wrong Answer | A, B, C = map(int, input().split())
if A == 5 and B == 7 and C == 5:
print('YES')
else:
print('NO') |
p04043 | s873953243 | Wrong Answer | li=list(map(int,input().split()))
if li.count(5)>=2:
print('Yes')
else:
print('No') |
p04043 | s945029044 | Wrong Answer | A=list(map(int,input().split()))
A.sort
if A==[7,5,5]:
print('YES')
else:
print('NO')
|
p04043 | s118392506 | Wrong Answer | li = input().split()
print(li)
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 | s639720543 | Wrong Answer | line = input()
if line == '5 5 7' or line == '7 5 5':
print('Yes')
else:
print('No') |
p04043 | s956731282 | 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 | s678168739 | 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().sort()
yes(numbers == [5,5,7]) |
p04043 | s721379402 | Wrong Answer | a=list(map(int,input().split()))
if a.index(7)==1 and a.index(5)==5:
print("YES")
else:
print("NO") |
p04043 | s593671159 | Wrong Answer | a=input().strip().split(" ")
b=[int(i) for i in a].sort()
if b == [5,5,7]:
print("YES")
else:
print("NO")
|
p04043 | s663568118 | 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 == 5 and b == 7) or (a == 7 and b == 5):
print('YES')
else:
print('NO')
|
p04043 | s434580420 | Wrong Answer | l=list(input().split())
if l.count(5)==2 and l.count(7)==1:
print('YES')
else:
print('NO') |
p04043 | s061477529 | 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 | s135882836 | Wrong Answer | Number=list(map(int,input().split()))
print(Number)
if Number.count(5)==2 and Number.count(7)==1:
print('YES')
else:
print('NO')
|
p04043 | s571057160 | Wrong Answer | if sorted(map(int, input().split())) == [5, 5, 7]:
print('Yes')
else:
print('No')
|
p04043 | s752426598 | Wrong Answer | A, B, C = map(int,input().split())
if A + B + C == 5 + 7 + 5:
print("Yes")
else:
print("No") |
p04043 | s792806789 | Wrong Answer | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
a = list(map(int, input().split()))
if 7 == a[0]:
if 5 == a[1] and 5 == a[2]:
print("YES", end="\n")
elif 5 == a[0]:
if (7 == a[1] and 5 == a[2]) or (5 == a[1] and 7 == a[2]):
print("YES", end="\n")
else:
print("NO", end="\n") |
p04043 | s397351633 | Wrong Answer | s = input()
if s == "7 5 5" or "5 7 5" or "5 5 7":
print("YES")
else:
print("NO") |
p04043 | s822002736 | Wrong Answer | """
author : halo2halo
date : 4, Feb, 2020
"""
import sys
# import itertools
# import numpy as np
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
S = readline().decode('utf8').rstrip().split()
print('Yes' if S.count('5') == 2 and S.count('7') == 1 else 'No')
|
p04043 | s161515194 | Wrong Answer | ar=sorted(list(map(int,input().split())))
print("Yes" if ar==[5,5,7] else "No")
|
p04043 | s455232903 | Wrong Answer | data=list(input().split())
a=0
b=0
for i in range(0,3):
if data[i]==5:
a=a+1
elif data[i]==7:
b=b+1
if (a==1 and b==2):
print('YES')
else:
print('NO') |
p04043 | s805742784 | Wrong Answer | lst = list(map(int,input().split()))
#print(lst)
count5 = 0
count7 = 0
for i in range(len(lst)):
if i == 5:
count5+=1
elif i == 7:
count7+=1
if count7==1 and count5 ==2:
print('YES')
else:
print('NO')
|
p04043 | s268522051 | Wrong Answer | a,b,c = map(int,input().split())
if a+b+c == 19:
if a == 7 or a == 5:
if b == 7 or b == 5:
if c == 7 or c == 5:
print("YES")
else:
print("NO") |
p04043 | s937801699 | 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 | s159287462 | Wrong Answer | def haiku():
x=input()
x=x.split()
x=x.sort()
if x==['5','5','7']:
print("YES")
else:
print("NO")
haiku() |
p04043 | s736089623 | Wrong Answer | A, B, C = map(int, input().split())
MC = [A, B, C]
if MC.count(5)==2:
print("Yes")
else:
print("No") |
p04043 | s736695796 | 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']:
print(i)
if i == 'fin':
if a+b+c== 17:
flag = True
elif not i in [5,7]:
break
if flag:
print('YES')
else:
print('NO')
if __name__=='__main__':
main()
|
p04043 | s708780049 | Wrong Answer | def easy(A,B,C):
if (A,B,C)==(5,7,5)or(A,B,C)==(7,5,5)or(A,B,C)==(5,5,7):
print("Yes")
else:
print("No")
|
p04043 | s204762811 | Wrong Answer | ABC=list(input())
if ABC.count("5")==2 and ABC.count("7")==1:
print("yes")
else:
print("no") |
p04043 | s602674608 | Wrong Answer | A,B,C=map(int,input().split())
iroha=[A,B,C]
if (iroha.count(5)==2) & (iroha.count(7)==1):
print("Yes")
else:
print("No") |
p04043 | s096681668 | Wrong Answer | a,b,c=map(int,input().split())
if a==5 and b==7 and c==5:
print('YES')
else:
print('NO') |
p04043 | s196388156 | Wrong Answer | a=input()
if a=="557":
print("YES")
else:
print("NO") |
p04043 | s697631930 | Wrong Answer | nums = input().split()
sorted(nums)
if nums[0]=='5' and nums[1]=='5' and nums[2]=='7':
print("YES")
else: print("NO") |
p04043 | s760747864 | Wrong Answer | a = list(map(int, input().split()))
if a.count(5) == 2 and a.count(7) == 1:
print('Yes')
else:
print('No') |
p04043 | s452260286 | Wrong Answer | import sys
# ๅ
ฅๅ
a, b, c = input().split()
# ๅ
ฅๅๆๅญๅใฎๆๅญ้ๅๅพ
a_len, b_len, c_len = len(a), len(b), len(c)
cnt5, cnt7 = 0, 0
# 5ๆๅญใจ7ๆๅญใใใใคใใฃใใ
if a_len == 5:
cnt5 += 1
if a_len == 7:
cnt7 += 1
if b_len == 5:
cnt5 += 1
if b_len == 7:
cnt7 += 1
if c_len == 5:
cnt5 += 1
if c_len == 7:
cnt7 += 1
# ๅคๅฎ
if cnt5 == 2 and cnt7 == 1:
print("YES")
else:
print("NO") |
p04043 | s619836989 | Wrong Answer | s = list(map(int, input().split()))
s.sort()
if s == [5, 7, 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.