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 int64 0 100 | memory stringlengths 4 6 | code_size int64 15 14.7k | code stringlengths 15 14.7k | problem_id stringlengths 6 6 | problem_description stringlengths 358 9.83k | input stringlengths 2 4.87k | output stringclasses 807
values | __index_level_0__ int64 1.1k 1.22M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s123494557 | p04043 | u126823513 | 1546258424 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 136 | li_input = list(map(int, input().split()))
if li_input.count(7) == 1 and li_input.count(5) == 2:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,017 |
s386115312 | p04043 | u126823513 | 1546258410 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 136 | li_input = list(map(int, input().split()))
if li_input.count(7) == 1 and li_input.count(5) == 2:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,018 |
s774962107 | p04043 | u239342230 | 1546255415 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 78 | l=list(input())
print('YES' if l.count('5')==2 and l.count('7')==1 else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,019 |
s639902467 | p04043 | u586149955 | 1546240523 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 104 | x = sorted([int(x) for x in input().split()])
if x == [5, 5, 7]:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,020 |
s909790776 | p04043 | u048945791 | 1546203022 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 125 | 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 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,021 |
s366268957 | p04043 | u643840641 | 1546193428 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 73 | s = input()
print("YES" if s.count("5")==2 and s.count("7")==1 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,022 |
s629750644 | p04043 | u593063683 | 1546114758 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 195 | #和風いろはちゃんイージー
a,b,c = [int(x) for x in input().split()]
if (a==7 and b==5 and c==5) or (a==5 and b==7 and c==5) or (a==5 and b==5 and c==7): print('YES')
else: print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,023 |
s242284889 | p04043 | u740284863 | 1546083829 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 95 | D = sorted(list(map(int,input().split())))
if D == [5,5,7]:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,024 |
s475211251 | p04043 | u226108478 | 1546049082 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 214 | # -*- coding: utf-8 -*-
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 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,025 |
s953961630 | p04043 | u277556971 | 1546026332 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 309 | a, b, c = map(int, input().split())
five = 0
seven =0
if a == 5:
five = five + 1;
elif a == 7:
seven = seven + 1;
if b == 5:
five = five + 1;
elif b == 7:
seven = seven + 1;
if c == 5:
five = five + 1;
elif c == 7:
seven = seven + 1;
if five == 2 and seven == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,026 |
s053616204 | p04043 | u726439578 | 1545975649 | Python | Python (3.4.3) | py | Accepted | 20 | 2940 | 107 | a=list(map(int,input().split()))
if a.count(5)==2 and a.count(7)==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,027 |
s007200223 | p04043 | u572561929 | 1545957893 | Python | Python (3.4.3) | py | Accepted | 18 | 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')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,028 |
s944048101 | p04043 | u129978636 | 1545916081 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 65 | print(['NO','YES'][list(sorted(input().split()))==['5','5','7']]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,029 |
s037924690 | p04043 | u129978636 | 1545915891 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 90 | a=list(map(int,input().split()))
if(a.count(5)==2):
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,030 |
s929190838 | p04043 | u916806287 | 1545909519 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 93 | a = list(map(int, input().split()))
print("YES" if a.count(5)==2 and a.count(7)==1 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,031 |
s586362180 | p04043 | u886274153 | 1545772413 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 105 | ls = [int(i) for i in input().split()]
if sorted(ls) == [5, 5, 7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,032 |
s277459605 | p04043 | u709630872 | 1545675163 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 101 | A, B, C = list(map(int, input().split()))
if A + B + C == 17:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,033 |
s174653021 | p04043 | u052332717 | 1545665038 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 117 | s = list(map(str,input().split()))
if s.count('5') == 2 and s.count('7') ==1 :
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,034 |
s944872245 | p04043 | u424103788 | 1545629501 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 111 | dat = list(map(int, input().split()))
dat.sort()
if dat == [5, 5, 7]:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,035 |
s622151527 | p04043 | u227379863 | 1545621421 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 311 | f = False
a = input().split(' ')
for i in range(3):
a[i]=int(a[i])
while True:
for i in range(3):
if a[i] != 5 and a[i] != 7:
print('NO')
f = True
break
if f == True:
print(2)
break
if a[0] + a[1] + a[2] == 17:
print('YES')
break
else:
print('NO')
break
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,036 |
s516214105 | p04043 | u147310836 | 1545536002 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 91 | H=map(int,raw_input().split())
H.sort()
if H==[5,5,7]:
print "YES"
else:
print "NO" | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,037 |
s145774044 | p04043 | u589431621 | 1545435501 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 228 | A, B, C = input().split()
A = int(A)
B = int(B)
C = int(C)
nlist = [A, B, C]
nlist2 = sorted(nlist)
if nlist2[2] == 7:
if nlist2[0] == nlist2[1] == 5:
print('YES')
else:
print('NO')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,038 |
s637863605 | p04043 | u794707792 | 1545343091 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 89 | a,b,c = map(int, input().split())
if a*b*c==5*5*7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,039 |
s197242885 | p04043 | u794707792 | 1545343001 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 89 | a,b,c = map(int, input().split())
if a*b*c==5*5*7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,040 |
s433906456 | p04043 | u278670845 | 1545243237 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 89 | a,b,c = map(int, input().split())
if a*b*c==5*5*7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,041 |
s452330629 | p04043 | u439392790 | 1545232875 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 114 | A,B,C=map(int,input().split())
list=[A,B,C]
list.sort()
if([5,5,7]==list):
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,042 |
s248610055 | p04043 | u887207211 | 1545192367 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | A = input().split()
if((A.count('5') == 2) and (A.count('7') == 1)):
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,043 |
s341444891 | p04043 | u589726284 | 1545191660 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 103 | A, B, C = map(int, input().split())
li = [A, B, C]
li.sort()
print('YES' if li == [5, 5, 7] else 'NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,044 |
s460948795 | p04043 | u060936992 | 1545176866 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 101 | #
s=list(map(int,input().split()))
s.sort()
if s==[5,5,7]:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,045 |
s960283244 | p04043 | u364741711 | 1545163036 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 93 | l=list(map(int,input().split()))
l.sort()
if l==[5,5,7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,046 |
s414244628 | p04043 | u880373275 | 1545162921 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 178 | def main():
abc = list(sorted(map(int, input().split())))
if abc == [5, 5, 7]:
print('YES')
else:
print('NO')
if __name__ == "__main__":
main()
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,047 |
s226125672 | p04043 | u694370915 | 1545087566 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 118 | a, b, c = map(int, input().split())
l = [a, b, c]
l.sort()
if l == [5, 5, 7]:
print('YES')
exit()
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,048 |
s731810869 | p04043 | u762420987 | 1545060984 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 119 | list = list(map(int,input().split()))
if list.count(5)==2 and list.count(7)==1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,049 |
s827220492 | p04043 | u445511055 | 1544989953 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 238 | # -*- coding: utf-8 -*-
def main():
"""Function."""
line = list(map(int, input().split()))
if line.count(5) == 2 and line.count(7):
print("YES")
else:
print("NO")
if __name__ == "__main__":
main()
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,050 |
s409269764 | p04043 | u318363730 | 1544917019 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 317 | d= input().rstrip()
d_list = d.split(" ")
def solution(d_list):
if d_list.count("5") !=2:
return "NO"
else:
if d_list.count("7") !=1:
return "NO"
else:
return "YES"
def main():
print(solution(d_list))
if __name__ == '__main__':
main() | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,051 |
s291345867 | p04043 | u933214067 | 1544900319 | Python | Python (3.4.3) | py | Accepted | 36 | 5148 | 241 | from statistics import mean, median,variance,stdev
import sys
import math
x = input().split()
#y = input().split()
a = []
for i in range(len(x)):
a.append(int(x[i]))
a.sort()
if a[0]*a[1] == 25 and a[2]==7:print("YES")
else: print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,052 |
s903695685 | p04043 | u272377260 | 1544898962 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 121 | 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 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,053 |
s382744528 | p04043 | u434208140 | 1544895316 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 74 | s=input()
print('YES' if s=='5 5 7' or s=='5 7 5' or s=='7 5 5' else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,054 |
s707063125 | p04043 | u557437077 | 1544846463 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 127 | a = [int(i) for i in input().split()]
a.sort()
if a[0] == 5 and a[1] == 5 and a[2] == 7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,055 |
s236577986 | p04043 | u371467115 | 1544659143 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 117 | a,b,c=map(str,input().split())
s=a+b+c
if s.count("5")==2 and s.count("7")==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,056 |
s535211155 | p04043 | u371467115 | 1544658927 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 56 | print(["NO","YES"][eval(input().replace(" ","*"))==175]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,057 |
s106230577 | p04043 | u669382434 | 1544595478 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 56 | print(["NO","YES"][eval(input().replace(" ","*"))==175]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,058 |
s392656236 | p04043 | u928784113 | 1544544192 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 144 | # -*- coding: utf-8 -*-
A,B,C = map(str,input().split())
S = A+B+C
if S.count("5") ==2 and S.count("7") == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,059 |
s525341401 | p04043 | u764056643 | 1544503971 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 108 | a = list(map(int, input().split()))
a.sort()
print('YES' if a[0] == 5 and a[1] == 5 and a[2] == 7 else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,060 |
s528435563 | p04043 | u695811449 | 1544360891 | Python | Python (3.4.3) | py | Accepted | 22 | 3316 | 158 | A=list(map(int,input().split()))
from collections import Counter
counter=Counter(A)
if counter[5]==2 and counter[7]==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,061 |
s887784616 | p04043 | u172386990 | 1544297736 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 339 | a, b, c = map(int,input().split(" "))
count_5 = 0
count_7 = 0
#aについて
if a == 5:
count_5 += 1
elif a == 7:
count_7 += 1
#bについて
if b == 5:
count_5 += 1
elif b == 7:
count_7 += 1
#cについて
if c == 5:
count_5 += 1
elif c == 7:
count_7 += 1
if count_5 == 2 and count_7 == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,062 |
s948861428 | p04043 | u514383727 | 1544247658 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 150 | a, b ,c = map(int, input().split())
ls = [0]*10
ls[a] += 1
ls[b] += 1
ls[c] += 1
if ls[5] == 2 and ls[7] == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,063 |
s428812434 | p04043 | u140251125 | 1544039906 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 230 | # input
A = list(map(int, input().split()))
ans1 = 0
ans2 = 0
for i in range(len(A)):
if A[i] == 5:
ans1 += 1
if A[i] == 7:
ans2 += 1
if ans1 == 2 and ans2 == 1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,064 |
s065839399 | p04043 | u688055251 | 1543968819 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 140 | a,b,c=input().split()
w=[a,b,c]
e=w.count('5')
if '5' and '7' not in w:
print ('NO')
elif e==2:
print ('YES')
else:
print ('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,065 |
s869378536 | p04043 | u515364861 | 1543968262 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 189 | n=list(map(int,input().split()))
b=[]
a=0
for i in n:
if i ==5:
a+=i
elif i==7:
a+=i
else:
print('NO')
if a == 17:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,066 |
s437566164 | p04043 | u438085259 | 1543966737 | Python | Python (3.4.3) | py | Accepted | 23 | 3444 | 198 | l = map(int, input().split())
five,seven = 0,0
for i in l:
if i == 5:
five += 1
elif i == 7:
seven += 1
if five == 2 and seven == 1:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,067 |
s527579123 | p04043 | u440191278 | 1543966495 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 546 | import sys
def solve(a,b,c):
li = [a,b,c]
cf = 0
cs = 0
for i in li:
if int(i) == 5:
cf +=1
if int(i) == 7:
cs +=1
if cf == 2 and cs ==1:
return 'YES'
else:
return 'NO'
def readQuestion():
line = sys.stdin.readline().rstri... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,068 |
s146476037 | p04043 | u983967747 | 1543966183 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 96 | a = input("")
if a.count("5") == 2 and a.count("7") == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,069 |
s498594193 | p04043 | u983967747 | 1543965771 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 96 | a = input("")
if a.count("5") == 2 and a.count("7") == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,070 |
s444498632 | p04043 | u761529120 | 1543888898 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 106 | A = input().split(" ")
if A.count("5") == 2 and A.count("7") == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,071 |
s103665584 | p04043 | u886366470 | 1543803415 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 87 | l = input().split()
if l.count('5')==2 and '7' in l:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,072 |
s596672471 | p04043 | u553605501 | 1543735175 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 174 | 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))):
if(a+b+c==17):
print("YES")
else:
print("NO")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,073 |
s306424376 | p04043 | u620945921 | 1543692983 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 254 | import itertools
a=input().split()
#print(type(a))
b=itertools.permutations('575')
b=list(b)
flag=0
for i in range(len(list(b))):
c=b[i][0]+b[i][1]+b[i][2]
# print(type(c))
if list(c)==a:
flag=1
print('YES' if flag==1 else 'NO' )
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,074 |
s165196186 | p04043 | u588093355 | 1543671131 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 402 | #!/usr/bin/env python3
import sys
def solve(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')
def readQuestion():
ws = sys.stdin.readline().strip().split()
a = int(ws[0])
b = int(ws[1])
c = int(ws[2])
return (a, b, ... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,075 |
s238389740 | p04043 | u844789719 | 1543373843 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | A, B, C = [int(_) for _ in input().split()]
if A*B*C == 5*5*7:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,076 |
s349588553 | p04043 | u919521780 | 1542946549 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | a = list(map(int, input().split()))
a.sort()
if a == [5, 5, 7]:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,077 |
s152999386 | p04043 | u060392346 | 1542890023 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | z = input().split()
if z.count("5") == 2 and z.count("7") == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,078 |
s998278277 | p04043 | u555962250 | 1542678383 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 98 | a = list(map(int, input().split()))
a.sort()
if a == [5, 5, 7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,079 |
s875357123 | p04043 | u330039499 | 1542518628 | Python | Python (2.7.6) | py | Accepted | 12 | 2696 | 112 | ABC = map(int, raw_input().split())
print "NO" if sum(ABC) != 17 or (5 not in ABC and 7 not in ABC) else "YES"
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,080 |
s640540656 | p04043 | u205580583 | 1542518401 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 142 | input_1 = input()
cnt_5 = input_1.count("5")
cnt_7 = input_1.count("7")
if cnt_5 == 2 and cnt_7 == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,081 |
s446770115 | p04043 | u001024152 | 1542508791 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 137 | a,b,c = map(int, input().split())
if a==b==5 and c==7 \
or b==c==5 and a==7 \
or a==c==5 and b==7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,082 |
s156058348 | p04043 | u255280439 | 1542325055 | Python | Python (3.4.3) | py | Accepted | 41 | 4904 | 3,089 | import sys
import math
import collections
import itertools
import array
import inspect
# Set max recursion limit
sys.setrecursionlimit(1000000)
# Debug output
def chkprint(*args):
names = {
id(v): k
for k, v in inspect.currentframe().f_back.f_locals.items()
}
print(', '.join(
name... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,083 |
s856720735 | p04043 | u993642190 | 1542321040 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 105 | l = [int(i) for i in input().split() ]
if (l[0] * l[1] * l[2] == 175) :
print("YES")
else :
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,084 |
s628269551 | p04043 | u647287452 | 1542318441 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 107 | x = input().split()
xi = [int(s) for s in x]
xi.sort()
if xi == [5,5,7]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,085 |
s042932115 | p04043 | u328207927 | 1541791348 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 115 | A=list(map(int,input().strip().split()))
if A.count(5)==2 and A.count(7)==1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,086 |
s725550245 | p04043 | u039623862 | 1541779156 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 95 | a = sorted(list(map(int, input().split())))
print('YES' if a[0]==a[1]==5 and a[2]==7 else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,087 |
s294297847 | p04043 | u461636820 | 1541745895 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 236 | 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 five == 2 and seven == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,088 |
s986968132 | p04043 | u461636820 | 1541745425 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 159 | A, B, C = map(int, input().split())
number_list = [A, B, C]
if number_list.count(5) == 2 or number_list.count(7) == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,089 |
s402598900 | p04043 | u369212307 | 1541650869 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 244 | haiku = list(int(i) for i in input().split())
seven = 0
five = 0
for i in range(3):
if int(haiku[i]) == 7:
seven += 1
elif int(haiku[i]) == 5:
five += 1
if seven == 1 and five == 2:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,090 |
s951437959 | p04043 | u759360502 | 1541624642 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 92 | a = input().split()
a.sort()
if a == ["5", "5", "7"]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,091 |
s407781795 | p04043 | u869728296 | 1541622328 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 248 | a=input().strip().split(" ")
b=[int(i) for i in a]
if(b[0]==5 and b[1]==5 and b[2]==7):
print("YES")
elif(b[1]==5 and b[2]==5 and b[0]==7):
print("YES")
elif(b[2]==5 and b[0]==5 and b[1]==7):
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,092 |
s990499188 | p04043 | u977642052 | 1541560415 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 122 | inp = list(map(int, input().split()))
if inp.count(5) == 2 and inp.count(7) == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,093 |
s317009701 | p04043 | u397531548 | 1541540556 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 83 | X=input()
if X in ["5 5 7","5 7 5","7 5 5"]:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,094 |
s579152238 | p04043 | u273201018 | 1541453842 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 105 | A = list(map(int, input().split()))
A.sort()
if A == [5, 5, 7]:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,095 |
s485798843 | p04043 | u792333798 | 1541443335 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 154 | array = list(map(int, input().strip().split(' ')))
x=array.count(5)
y=array.count(7)
if x==2:
if y==1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,096 |
s978501465 | p04043 | u883048396 | 1541381007 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 90 |
if input().rstrip() in ("5 5 7","5 7 5","7 5 5"):
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,097 |
s533620746 | p04043 | u475018333 | 1541374425 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 551 | a,b,c= map(int,input().split())
def judge():
if a==5:
if b==5:
if c==7:
return print("YES")
else:
return print("NO")
elif b==7:
if c==5:
return print("YES")
else:
return print("NO")
... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,098 |
s106276028 | p04043 | u943657163 | 1541270518 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 86 | t = sorted([int(_) for _ in input().split()])
print('YES' if t == [5, 5, 7] else 'NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,099 |
s139251407 | p04043 | u390694622 | 1541045599 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 148 | l=list(map(int,input().split()))
for num in l:
if num not in [5,7]:
print("NO")
exit()
if sum(l) == 17:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,100 |
s941224628 | p04043 | u350997995 | 1541037466 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | l = list(map(int, input().split()))
if l.count(5)==2 and l.count(7)==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,101 |
s794641573 | p04043 | u350997995 | 1541037124 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 244 | A, B, C = map(int, input().split())
if A+B+C==17:
if A==5:
if abs(B-C)==2:
print("YES")
else:
print("NO")
elif A==7:
if B==C:
print("YES")
else:
print("NO")
else:
print("NO")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,102 |
s084855184 | p04043 | u432805419 | 1540957290 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 120 | 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 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,103 |
s992905395 | p04043 | u143189168 | 1540863794 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 121 | s = input().split()
if s==['5','5','7'] or s==['5','7','5'] or s==['7','5','5']:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,104 |
s670375142 | p04043 | u897302879 | 1540863335 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 79 | print("YES" if sorted(list(map(int, input().split()))) == [5, 5, 7] else "NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,105 |
s978069487 | p04043 | u240793404 | 1540820731 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 93 | s = input()
if s.count('5') == 2 and s.count('7') ==1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,106 |
s615020444 | p04043 | u090225501 | 1540784224 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 80 | s = ''.join(sorted(input()))
if s == ' 557':
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,107 |
s972943133 | p04043 | u729133443 | 1540716247 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | print('YNEOS'['7 7'in input()::2]) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,108 |
s215230680 | p04043 | u637824361 | 1540676723 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 278 | 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")
elif A == 7:
if B == C == 5:
print("YES")
else:
print("NO")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,109 |
s476759484 | p04043 | u023229441 | 1540621131 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 193 | A,B,C=[int(x) for x in 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==C==5:
print ("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,110 |
s911218371 | p04043 | u079543046 | 1540599386 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 114 | a = list(map(int, input().split()))
if a.count(5) == 2 and a.count(7) == 1:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,111 |
s065945335 | p04043 | u966000628 | 1540583528 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 118 | lis = list(map(int,input().split()))
if sum(lis) == 17 and 5 in lis and 7 in lis:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,112 |
s477286101 | p04043 | u733321071 | 1540414271 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 241 | # -*- coding: utf-8 -*-
a_b_c = list(map(int, input().split()))
tmp = [5, 7, 5]
flag = True
for i in a_b_c:
if i in tmp:
tmp.remove(i)
else:
print('NO')
flag = False
break
if flag:
print('YES')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,113 |
s400234287 | p04043 | u042105122 | 1540373312 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 284 |
def main():
buf = input()
buflist = buf.split()
A = int(buflist[0])
B = int(buflist[1])
C = int(buflist[2])
len_list = list(sorted([A,B,C]))
if len_list == [5,5,7]:
print("YES")
else:
print("NO")
if __name__ == '__main__':
main()
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,114 |
s990582608 | p04043 | u998618379 | 1540290791 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 256 | # -*- coding: utf-8 -*-
# スペース区切りの整数の入力
A, B, C = map(int, input().split())
# 出力
if A==7 and B==5 and C==5:
print("YES")
elif A==5 and B==7 and C==5:
print("YES")
elif A==5 and B==5 and C==7:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,115 |
s482024940 | p04043 | u295961023 | 1540203836 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 186 | def main():
li = list(map(int, input().split()))
c5 = li.count(5)
c7 = li.count(7)
print("YES" if c5 == 2 and c7 == 1 else "NO")
if __name__ == '__main__':
main() | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,116 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.