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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s619176768 | p04043 | u285595848 | 1583071383 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 173 | 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 | <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,210,517 |
s613603052 | p04043 | u139112865 | 1583045255 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 83 | #042_A
s=input()
flg=s.count('5')==2 and s.count('7')
print('YES' if flg 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,210,518 |
s692917214 | p04043 | u396266329 | 1583028502 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 84 | t=input().split()
t.sort()
if t == ["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,210,519 |
s641612294 | p04043 | u844813573 | 1583026170 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 153 | line = input()
num = line.split(" ")
num_5 = num.count("5")
num_7 = num.count("7")
if num_5 == 2 and num_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,210,520 |
s207654453 | p04043 | u691018832 | 1583019538 | Python | Python (3.4.3) | py | Accepted | 18 | 3068 | 264 | import sys
input = sys.stdin.readline
a, b, c = map(int, input().split())
match = [a, b, c]
cnt = 0
for i in range(3):
if match[i] == 5:
cnt += 2
elif match[i] == 7:
cnt += 1
if cnt == 5:
ans = 'YES'
else:
ans = 'NO'
print(ans)
| 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,210,521 |
s804530671 | p04043 | u750838232 | 1583015223 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 79 | n=input().split()
print("YES" if n.count("5")==2 and n.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,210,522 |
s390801613 | p04043 | u530383736 | 1582938438 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 199 | # -*- coding: utf-8 -*-
nums=[int(i) for i in input().rstrip().split()]
cnt={}
for i in nums:
cnt.setdefault(i,0)
cnt[i] += 1
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,210,523 |
s867167961 | p04043 | u620084012 | 1582925646 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 254 | 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 | <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,210,524 |
s835459007 | p04043 | u556589653 | 1582925480 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 101 | a = list(map(int,input().split()))
k = [5,5,7]
a.sort()
if a == k:
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,210,525 |
s553312524 | p04043 | u595289165 | 1582921456 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 119 | x = list(map(int, input().split()))
if x.count(5) == 2 and x.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,210,526 |
s163986574 | p04043 | u384793271 | 1582919707 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | s = list(map(int, 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,210,527 |
s767890263 | p04043 | u384793271 | 1582919538 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 205 | s = list(map(int, input().split()))
five = 0
seven = 0
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 | <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,210,528 |
s937639456 | p04043 | u006883624 | 1582865256 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 205 | def main():
count = {5: 0, 7: 0}
for v in map(int, input().split()):
if v in count:
count[v] += 1
if count[5] == 2 and count[7] == 1:
print("YES")
else:
print("NO")
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,210,529 |
s116342801 | p04043 | u038887660 | 1582865099 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 143 | i = list(map(int, input().split()))
li = [i[0], i[1], i[2]]
yn = "NO"
if li.count(5) == 2:
if li.count(7) == 1:
yn = "YES"
print(yn) | 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,210,530 |
s568776672 | p04043 | u670311662 | 1582859733 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 105 | a, b, c = map(int, input().split())
if sorted((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,210,531 |
s739018372 | p04043 | u022979415 | 1582819090 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 136 | def main():
print("YES" if sorted(list(map(int, input().split()))) == [5, 5, 7] 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,210,532 |
s775458427 | p04043 | u257251421 | 1582817922 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 174 | 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 | <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,210,533 |
s092812009 | p04043 | u337820403 | 1582740352 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 97 | l = list(map(int, input().split()))
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,210,534 |
s481523017 | p04043 | u161777729 | 1582694950 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 147 | import sys
a = list(map(int,input().split()))
seven = a.count(7)
five = a.count(5)
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,210,535 |
s765437950 | p04043 | u368796742 | 1582691530 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 103 | l = sorted(list(map(int,input().split())))
ans = [5,5,7]
print("YES" if l == ans 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,210,536 |
s827122252 | p04043 | u368796742 | 1582691457 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 179 | a,b,c = map(int,input().split())
if a == b == 5 and c== 7:
print("YES")
elif a == c == 5 and b== 7:
print("YES")
elif c == b == 5 and a== 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,210,537 |
s666675811 | p04043 | u697815494 | 1582672215 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 154 | A, B, C =(int(x) for x in input().split())
l = [int(A), int(B), int(C)]
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,210,538 |
s097352019 | p04043 | u395894569 | 1582657120 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 92 | list=input()
if list.count('5') == 2:
if '7' in 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,210,539 |
s530628085 | p04043 | u847390547 | 1582619185 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 167 | import sys
if __name__ == '__main__':
a,b,c=[int(i) for i in input().split()]
if a+b+c==17 and a*b*c%175==0:
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,210,540 |
s239945429 | p04043 | u964299793 | 1582613836 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 117 | l=list(map(int,input().split()))
l.sort()
if l[0]==l[1] and l[1]==5 and l[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,210,541 |
s636673180 | p04043 | u071361440 | 1582601930 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 109 | ans=list(map(int,input().split()))
if ans.count(5)==2 and ans.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,210,542 |
s271875833 | p04043 | u048561338 | 1582582545 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 112 | a,b,c=input().split()
d=[a,b,c]
if d.count("5")==2 and d.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,210,543 |
s990837700 | p04043 | u620157187 | 1582531117 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 122 | s = input()
num_5 = s.count('5')
num_7 = s.count('7')
if (num_5 == 2)*(num_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,210,544 |
s890698273 | p04043 | u413165887 | 1582523775 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 145 | from collections import Counter
a = list(map(int, input().split()))
a = Counter(a)
if a[5]==2 and a[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,210,545 |
s074386918 | p04043 | u694294905 | 1582518350 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 86 | l=list(input().split())
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,210,546 |
s294829055 | p04043 | u090198186 | 1582516183 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 157 | import sys
readline = lambda:sys.stdin.readline().rstrip()
a,b,c = sorted(map(int, readline().split()))
ans = 'YES' if a==b==5 and c==7 else 'NO'
print(ans)
| 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,210,547 |
s708141771 | p04043 | u933129390 | 1582515804 | Python | Python (3.4.3) | py | Accepted | 22 | 2940 | 160 | a, b, c = map(int, input().split())
l = [0 for i in range(10)]
l[a] += 1
l[b] += 1
l[c] += 1
if l[5] == 2 and l[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,210,548 |
s041313254 | p04043 | u068584789 | 1582488327 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 127 | words = list(map(int, input().split()))
if words.count(7) == 1 and words.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,210,549 |
s731032240 | p04043 | u587608781 | 1582485681 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 221 | x = input().split(' ')
count_5 = 2
count_7 = 1
for num in x:
if num == '5':
count_5 -= 1
elif num == '7':
count_7 -= 1
if count_5 == 0 and count_7 == 0:
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,210,550 |
s734326065 | p04043 | u629560745 | 1582484287 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 116 | s = input().split()
s.sort()
if s[0] == '5' and s[1] == '5' and s[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,210,551 |
s647606900 | p04043 | u734936991 | 1582417511 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 156 | #!/use/bin/env python3
a = [int(s) for s in input().split()]
b, c, d = sorted(a)
if b == 5 and c == 5 and d == 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,210,552 |
s127355166 | p04043 | u743354620 | 1582406601 | Python | Python (3.4.3) | py | Accepted | 23 | 3316 | 188 | import collections
a = list(map(int,input().split()))
c = collections.Counter(a)
b = c.most_common()
if b[0][0] == 5 and b[0][1] == 2 and b[1][0] ==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,210,553 |
s399157711 | p04043 | u228026606 | 1582404032 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 231 | # coding: utf-8
def main():
in_data = input()
if (in_data.count('5') == 2 and
in_data.count('7') == 1):
print('YES')
else:
print('NO')
return 0
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,210,554 |
s153456365 | p04043 | u540698208 | 1582376991 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 113 | input_line = list(map(int, input().split()))
input_line.sort()
print("YES" if input_line == [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,210,555 |
s981623239 | p04043 | u408375121 | 1582304486 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 201 | l = list(map(int, input().split()))
count_5 = 0
count_7 = 0
for r in l:
if r == 5:
count_5 += 1
if r == 7:
count_7 += 1
if count_5 == 2 and count_7 == 1:
print('YES')
else:
print('NO')
| p04043 | <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,210,556 |
s217793693 | p04043 | u694294905 | 1582267942 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 99 | List=list(map(int,input().split()))
print('YES' if List.count(7)==1 and List.count(5)==2 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,210,557 |
s379170298 | p04043 | u859364709 | 1582242958 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 114 | hoge = list(map(int, input().split()))
huga = sorted(hoge)
if huga == [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,210,558 |
s369450227 | p04043 | u237316771 | 1582211970 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 69 | print("YES" if sorted(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,210,559 |
s891665997 | p04043 | u123273712 | 1582189567 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 216 | s = list(map(int,input().split()))
count5 = 0
count7 = 0
for i in range(3):
if s[i] == 5:
count5 += 1
if s[i] == 7:
count7 +=1
if count7 == 1 and count5 == 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,210,560 |
s667921662 | p04043 | u346812984 | 1582174204 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 130 | a = list(map(int, input().split()))
if a == [5, 5, 7] or a == [5, 7, 5] or a == [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,210,561 |
s387317721 | p04043 | u981206782 | 1582172971 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | a=list(map(int,input().split()))
if a==[5,5,7] or a==[5,7,5] or a==[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,210,562 |
s399829796 | p04043 | u955691979 | 1582170827 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 218 | s = input().split()
if(s[0]=='5' and s[1]=='5' and s[2]=='7'):
print("YES")
elif(s[0]=='5' and s[1]=='7' and s[2]=='5'):
print("YES")
elif(s[0]=='7' and s[1]=='5' and s[2]=='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,210,563 |
s320025433 | p04043 | u160359809 | 1582161072 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 206 | a,b,c=(int(x) for x in input().split())
count5=0
count7=0
for i in a,b,c:
if i==5:
count5+=1
elif i==7:
count7+=1
if count5==2 and count7==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,210,564 |
s140493346 | p04043 | u332518246 | 1582149591 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 233 | #A - 和風いろはちゃんイージー
#input A B C as list L
L = list(map(int,input().split()))
#5が2つ,7が1つなら並び替えて5-7-5にできる
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,210,565 |
s139615150 | p04043 | u405256066 | 1582140080 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 139 | A,B,C = list(map(int,input().split()))
d = sorted([A,B,C])
if d[0] == 5 and d[1] == 5 and d[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,210,566 |
s635812532 | p04043 | u734434881 | 1582136385 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 250 | array = input().split()
five_count, seven_count = (0, 0)
for i in range(3):
if int(array[i]) == 5:
five_count += 1
elif int(array[i]) == 7:
seven_count += 1
print('YES') if five_count == 2 and seven_count == 1 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,210,567 |
s860788552 | p04043 | u166419774 | 1582123692 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 93 | A = sorted(map(int,input().split()))
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,210,568 |
s906307054 | p04043 | u608517589 | 1582084186 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 366 | # coding: utf-8
# Your code here!
box = input().rstrip().split()
#文字数が5だったらF+1、7だったらS+1で最終的にF=2.S=1なら正解
F = 0
S = 0
for i in range(len(box)):
if int(box[i]) == 5:
F = F + 1
elif int(box[i]) == 7:
S = S + 1
if (F == 2 and S == 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,210,569 |
s472502579 | p04043 | u766566560 | 1582081050 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 119 | phrases = input().split()
phrases.sort(reverse=True)
if phrases == ['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,210,570 |
s592268879 | p04043 | u434872492 | 1582073398 | Python | Python (3.4.3) | py | Accepted | 20 | 3064 | 292 | A,B,C=map(int,input().split())
x=dict()
x[5]=0
x[7]=0
if A==5:
x[5]+=1
elif A==7:
x[7]+=1
if B==5:
x[5]+=1
elif B==7:
x[7]+=1
if C==5:
x[5]+=1
elif C==7:
x[7]+=1
flag=False
if x[5]==2:
if x[7]==1:
flag=True
if flag:
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,210,571 |
s071246316 | p04043 | u138781768 | 1582052142 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 118 | in_lis = list(map(int, input().split()))
in_lis.sort()
if [5, 5, 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,210,572 |
s537238972 | p04043 | u138781768 | 1582051502 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 117 | in_lis = list(map(int, input().split()))
in_lis.sort()
if [5, 5, 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,210,573 |
s004757042 | p04043 | u639340617 | 1582035109 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 138 | text = list(map(int, input().split()))
text.sort()
if text[0] == 5 and text[1] == 5 and text[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,210,574 |
s895828269 | p04043 | u307418002 | 1582032708 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 152 | 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 | <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,210,575 |
s606832276 | p04043 | u217627525 | 1582011052 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 116 | 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,210,576 |
s970912296 | p04043 | u759412327 | 1581976810 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 80 | if sorted(map(int,input().split()))==[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,210,577 |
s081968030 | p04043 | u519939795 | 1581973349 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 85 | n = input().split()
print("YES" if n.count("5") == 2 and n.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,210,578 |
s847826395 | p04043 | u448659077 | 1581876337 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 108 | #ABC042 A
a = list(map(int,input().split()))
if sorted(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,210,579 |
s264244070 | p04043 | u287920108 | 1581832793 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 148 | ABC = tuple(map(int, input().split())) #A,B,Cを受け取る
if ABC.count(5) == 2:
print('YES' if sum(ABC)==17 else '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,210,580 |
s729353532 | p04043 | u767995501 | 1581830925 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 86 | n = input().split()
print("YES" if n.count("5") == 2 and n.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,210,581 |
s288711697 | p04043 | u627600101 | 1581825006 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 117 | 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,210,582 |
s517159904 | p04043 | u712768978 | 1581815018 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 146 | nums = list(map(int, input().split()))
fives = nums.count(5)
sevens = nums.count(7)
print("YES") if (fives == 2 and sevens == 1) 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,210,583 |
s789002069 | p04043 | u052221988 | 1581797756 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 109 | a, b, c = map(int, input().split())
if a*b*c == 175 and 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,210,584 |
s132417793 | p04043 | u133936772 | 1581752187 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 66 | print('YNEOS'[sorted(list(map(int,input().split())))!=[5,5,7]::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,210,585 |
s211681813 | p04043 | u878239774 | 1581746380 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 138 | nums = list(map(int, input().split()))
nums.sort()
if(nums[0] == 5 and nums[1] == 5 and nums[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,210,586 |
s047430076 | p04043 | u460185449 | 1581743376 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 103 | A, B, C = map(int, input().split())
if A*B*C == 175 and 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,210,587 |
s563415628 | p04043 | u358254559 | 1581742265 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 143 | a, b,c = map(int, input().split())
lis=[a,b,c]
lis.sort()
if lis[0] == 5 and lis[1]==5 and lis[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,210,588 |
s285105017 | p04043 | u987651566 | 1581726233 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 192 | 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,210,589 |
s465716148 | p04043 | u534450736 | 1581710428 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 103 | 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,210,590 |
s538231982 | p04043 | u953794676 | 1581696557 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 111 | n = [e for e in input().split()]
if n.count('5')==2 and n.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,210,591 |
s183872856 | p04043 | u698437687 | 1581587602 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 66 | a,b,c=map(int,input().split())
print('YES' if a+b+c==17 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,210,592 |
s849075752 | p04043 | u086503932 | 1581553005 | Python | Python (3.4.3) | py | Accepted | 19 | 3064 | 86 | l=list(input().split())
print('YES')if l.count('5') == 2 and '7' in l 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,210,593 |
s957272739 | p04043 | u053238138 | 1581549687 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 152 | li =list(map(int ,input().split()))
if li.count(5) == 2:
if li.count(7) == 1:
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,210,594 |
s377929988 | p04043 | u226176079 | 1581534611 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 107 | Hiku = list(map(int, input().split()))
Hiku.sort()
if Hiku == [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,210,595 |
s564643874 | p04043 | u037901699 | 1581528290 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 112 | nums = list(map(int, input().split()))
nums.sort()
if nums == [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,210,596 |
s776438103 | p04043 | u265118937 | 1581488417 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 326 | a, b, c = map(int, input().split())
if b == 7:
if a == 5 and c == 5:
print("YES")
else:
print("NO")
elif c == 7:
if a == 5 and b == 5:
print("YES")
else:
print("NO")
elif a == 7 :
if b == 5 and c == 5:
print("YES")
else:
print("NO")
else:
print... | 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,210,597 |
s785720277 | p04043 | u068595072 | 1581481002 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 214 | li = list(map(int, input().rstrip().split()))
five = 0
seven = 0
for x in li:
if x == 5:
five += 1
elif x == 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,210,598 |
s088578696 | p04043 | u391328897 | 1581457203 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | abc = list(input().split())
if abc.count('5') == 2 and abc.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,210,599 |
s246864063 | p04043 | u374082254 | 1581442904 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 118 | inputs = [int(i) for i in input().split()]
inputs.sort()
if inputs == [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,210,600 |
s096670869 | p04043 | u103902792 | 1581391099 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 60 | print('YES' if sum(map(int,input().split()))==17 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,210,601 |
s289499115 | p04043 | u298297089 | 1581390674 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 77 | 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,210,602 |
s293790079 | p04043 | u037901699 | 1581383042 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 114 | a, b, c = map(int, input().split())
if sorted((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,210,603 |
s009290741 | p04043 | u012179538 | 1581378565 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 252 | a, b, c = input().split()
flag = bool
if a == '5' and b =='7' and c=='5':
flag = True
if a =='7' and b=='5' and c == '5':
flag = True
if a =='5' and b=='5' and c == '7':
flag = True
if flag == True:
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,210,604 |
s070146066 | p04043 | u737451238 | 1581359020 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 113 | 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,210,605 |
s968730564 | p04043 | u670133596 | 1581309081 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | N = sorted(list(map(int, input().split())))
if (N == [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,210,606 |
s411244190 | p04043 | u686713618 | 1581296873 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 131 | haiku = sorted(list(map(int,input().split())), reverse=True)
if haiku[0] == 7 and haiku[1] ==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,210,607 |
s187555945 | p04043 | u297574184 | 1581295107 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | As = map(int, input().split())
if sorted(As) == [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,210,608 |
s351688052 | p04043 | u630027862 | 1581289044 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 94 | 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,210,609 |
s420115556 | p04043 | u046592970 | 1581218126 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 113 | 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,210,610 |
s686445307 | p04043 | u883040023 | 1581203024 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 68 | a = input()
print(["NO","YES"][a.count("5")==2 and a.count("7")==1]) | 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,210,611 |
s271362273 | p04043 | u721970149 | 1581200617 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 285 | # 入力 : A B C
a, b, c = map(int, input().split())
# 文節の並びを五七五にすることができるなら YES 、そうでないなら NO を出力せよ。
list = [a, b, c]
list_seikai = [5, 5, 7]
list.sort()
if list == list_seikai :
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,210,612 |
s024002627 | p04043 | u475598608 | 1581191284 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 94 | 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,210,613 |
s782064978 | p04043 | u353707427 | 1581175339 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 83 | str = input().split()
if str.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,210,614 |
s442391110 | p04043 | u339503988 | 1581100631 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 95 | 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,210,615 |
s301378640 | p04043 | u732412551 | 1581016875 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 90 | A, B, C = sorted(map(int, input().split()))
print("YNEOS"[not(A==5 and B==5 and C==7)::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,210,616 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.