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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s393918778 | p04043 | u880891635 | 1540182451 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 188 | x_str = input().split()
x = [int(s) for s in x_str]
if x == [5 ,5 ,7]:
print('YES')
elif x == [5, 7 ,5]:
print('YES')
elif x == [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,117 |
s851481584 | p04043 | u923279197 | 1540164350 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 97 | 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,118 |
s715074825 | p04043 | u131405882 | 1540070700 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 195 | A, B, C = map(int, input().split())
if (A != 5 and A!=7):
print('NO')
if (B != 5 and B!=7):
print('NO')
if (C != 5 and C!=7):
print('NO')
if(A + B + C != 17):
print('NO')
else:
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,119 |
s392669261 | p04043 | u941753895 | 1540026785 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 76 | *a,=input().split()
print('YES'if a.count('5')==2 and a.count('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,120 |
s860988804 | p04043 | u500279510 | 1540008667 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 152 | A, B, C = map(int,input().split())
co = [A, B, C]
co.sort()
if (co[0] == 5) and (co[1] == 5) and (co[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,121 |
s750137675 | p04043 | u533306556 | 1539992550 | 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,212,122 |
s753267174 | p04043 | u342106216 | 1539916405 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 239 | data = input().split()
def main(data):
five_num = data.count("5")
seven_num = data.count("7")
if five_num == 2 and seven_num == 1:
print("YES")
else:
print("NO")
if __name__ == "__main__":
main(data) | 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,123 |
s618466329 | p04043 | u723304131 | 1539831268 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 228 | A,B,C = map(int,input().split())
list = []
list.append(A)
list.append(B)
list.append(C)
list.sort()
if list[0] != 5:
print('NO')
elif list[1] != 5:
print('NO')
elif list[2] != 7:
print('NO')
else:
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,124 |
s706894660 | p04043 | u132344815 | 1539749972 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 211 | 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,125 |
s494743268 | p04043 | u094191970 | 1539614963 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | A,B,C = map(int, input().split())
if A+B+C == 17 and A*B*C == 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,126 |
s573114713 | p04043 | u094191970 | 1539614617 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | A,B,C = map(int, input().split())
if A+B+C == 17 and A*B*C == 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,127 |
s381180204 | p04043 | u620480037 | 1539571224 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 95 | 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,128 |
s986110086 | p04043 | u848647227 | 1539542228 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 160 | ar = input().split(" ")
f = 0
s = 0
for a in ar:
if a == "5":
f += 1
elif a == "7":
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,212,129 |
s349965010 | p04043 | u681150536 | 1539478404 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 428 | def main():
A, B, C = map(int, input().split())
count5 = 0
count7 = 0
if A == 5:
count5 += 1
elif A == 7:
count7 += 1
if B == 5:
count5 += 1
elif B == 7:
count7 += 1
if C == 5:
count5 += 1
elif C == 7:
count7 += 1
if count5 == 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,130 |
s897606546 | p04043 | u178536051 | 1539456574 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 194 | S = sorted(list(map(int, input().split(' '))))
total = S[0] + S[1] + S[2]
if(total == 17):
if (S[0]==5 and S[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,131 |
s486748850 | p04043 | u371763408 | 1539369304 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | a=str(list(map(int,input().split())))
if a.count('7') ==1 and 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,132 |
s670625223 | p04043 | u832039789 | 1539296809 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 97 | l = sorted(list(map(int,input().split())))
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,133 |
s345702166 | p04043 | u595353654 | 1539283601 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 166 | # -*- coding: utf-8 -*-
from sys import stdin
s = sorted([int(x) for x in stdin.readline().rstrip().split()])
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,134 |
s543216119 | p04043 | u163449343 | 1539037365 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 76 | n = input().split()
print(["NO","YES"][n.count("7")==1 and n.count("5")==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,135 |
s700639099 | p04043 | u474270503 | 1538921732 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | a,b,c=map(int, input().split())
print("YES" if max(a, b, c)==7 and min(a,b,c)==5 and 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,212,136 |
s405618987 | p04043 | u753316090 | 1538880373 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 228 | a, b, c = map ( int , input().split() )
x = 0
y = 0
if a==5:
x+=1
elif a==7:
y+=1
if b==5:
x+=1
elif b==7:
y+=1
if c==5:
x+=1
elif c==7:
y+=1
if x==2 and 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,137 |
s688552318 | p04043 | u233152254 | 1538860596 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 78 | 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,138 |
s573210028 | p04043 | u320325426 | 1538860559 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 53 | print(["NO", "YES"][input().split().count("5") == 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,139 |
s242975659 | p04043 | u711295009 | 1538848038 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 114 | listS = list(map(int, input().split()))
listS.sort()
if listS == [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,140 |
s085719462 | p04043 | u484856305 | 1538795164 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 118 | abc=list(map(str,input().split()))
if abc.count("7") ==1 and abc.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,141 |
s240098141 | p04043 | u459697504 | 1538781482 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 659 | #! /usr/bin/python3
# A - 和風いろはちゃんイージー / Iroha and Haiku (ABC Edition)
"""
3 つの文節の長さを表す整数 A,B,C が与えられるので、
それらの文節を並び替えて五七五にできるか判定してください。
入力: A B C
出力: YES / NO
"""
A, B, C = map(int, input().split())
# 標準入力
list_ABC = [A, B, C]
test_mode = False
if test_mode is True:
print(list_ABC)
def haiku_T... | 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,142 |
s785866554 | p04043 | u596276291 | 1538762837 | Python | Python (3.4.3) | py | Accepted | 42 | 4456 | 819 | from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursi... | 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,143 |
s318065260 | p04043 | u635339675 | 1538696428 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 141 | x,y,z=map(int,input().split())
if (x==y==5 and z==7) or (y==z==5 and x==7) or (z==x==5 and y==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,144 |
s224852455 | p04043 | u320325426 | 1538682383 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 57 | print("YES" if input().split().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,212,145 |
s549150100 | p04043 | u320325426 | 1538590689 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 77 | a, b, c = input().split()
print("YES" if (a, b, c).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,212,146 |
s239846530 | p04043 | u426108351 | 1538589346 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 166 | a = list(map(int, input().split()))
five_count = a.count(5)
seven_count = a.count(7)
if five_count == 2 and seven_count == 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,147 |
s155057658 | p04043 | u333768710 | 1538586758 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 145 | input_list = list(map(int, input().split()))
input_list = sorted(input_list)
if input_list == [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,148 |
s916029566 | p04043 | u940102677 | 1538527054 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 54 | print("YNEOS"[eval(input().replace(" ","*"))!=175::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,149 |
s337595093 | p04043 | u052332717 | 1538445407 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 131 | li = list(map(int, input().split()))
li.sort()
if li[0] == 5 and li[1] == 5 and li[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,150 |
s819106761 | p04043 | u873849550 | 1538354442 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 95 | list = list(input().split())
print(['NO', 'YES'] [list.count('5') == 2 and list.count(7) == 0]) | 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,151 |
s538964768 | p04043 | u063052907 | 1538250293 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 80 | #coding: utf-8
print(["NO", "YES"][sorted(input()) == [" ", " ", "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,152 |
s147653673 | p04043 | u063052907 | 1538249559 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 111 | #coding: utf-8
li = list(map(int, input().split()))
print("YES" if li.count(5)==2 and li.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,153 |
s659990309 | p04043 | u546074985 | 1538081846 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 134 | x = list(map(int, input().split(" ")))
x5 = x.count(5)
x7 = x.count(7)
if x5 == 2 and x7 == 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,154 |
s532272893 | p04043 | u965033073 | 1538022006 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 120 | log = list(map(int,input().split()))
if sum(log)==17 and 5 in log and 7 in log:
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,155 |
s038686852 | p04043 | u056677140 | 1538016662 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 119 | log = list(map(int,input().split()))
if sum(log)==17 and 5 in log and 7 in log:
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,156 |
s793638977 | p04043 | u589087860 | 1537825293 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 128 | l = list(map(int, input().split()))
#print(l)
l.sort()
#print(l)
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,157 |
s780019858 | p04043 | u099918199 | 1537813124 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 121 | a,b,c = map(int, input().split())
list = list((a,b,c))
list.sort()
if list == [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,158 |
s378873243 | p04043 | u094565093 | 1537709872 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 103 | A,B,C=map(int,input().split())
a=[A,B,C]
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,159 |
s790317758 | p04043 | u094565093 | 1537709787 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 103 | A,B,C=map(int,input().split())
a=[A,B,C]
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,160 |
s519419349 | p04043 | u853900545 | 1537678173 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 101 | A = list(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,161 |
s729372544 | p04043 | u853900545 | 1537678098 | 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,212,162 |
s549863524 | p04043 | u853900545 | 1537678053 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 109 | A = list(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,163 |
s138206865 | p04043 | u853900545 | 1537677998 | 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,164 |
s800731055 | p04043 | u457901067 | 1537591199 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 85 | X = sorted(list(map(int, input().split())))
print("YES" if X == [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,165 |
s094237403 | p04043 | u118147328 | 1537492558 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 137 | line = input().split()
cnt5 = line.count("5")
cnt7 = line.count("7")
if cnt5 == 2 and cnt7 == 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,166 |
s149728369 | p04043 | u140342018 | 1537449022 | 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,167 |
s199053679 | p04043 | u518556834 | 1537326549 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 95 | 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,168 |
s160448778 | p04043 | u505420467 | 1537241367 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 84 | a,b,c=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,169 |
s512362458 | p04043 | u611249982 | 1537161685 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 229 | #!/usr/bin/python3
# -*- coding: utf-8 -*-
a = input().split()
b = ['5', '7', '5']
f = True
for i in a:
if i in b:
b.remove(i)
else:
f = False
break
if f:
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,170 |
s270377027 | p04043 | u379702654 | 1537047538 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 143 | def solve(xs):
if xs.count(5) == 2 and xs.count(7) == 1:
print('YES')
else:
print('NO')
solve([ int(_) for _ in input().split() ]) | 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,171 |
s990170980 | p04043 | u177398299 | 1536984861 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 72 | s = input()
print('YES' if s.count('5') == 2 and s.count('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,172 |
s824108631 | p04043 | u106297876 | 1536958736 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 101 | c=list(map(int,input().split( )))
if c.count(5)==2*c.count(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,173 |
s941356803 | p04043 | u932465688 | 1536894347 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | P = list(input().split())
if (P.count('5') == 2 and P.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,174 |
s449383947 | p04043 | u304561065 | 1536819779 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 128 | A,B,C=input().split()
list=[A,B,C]
list.sort()
if list[0]==list[1]=='5' and list[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,175 |
s586403615 | p04043 | u177040005 | 1536772392 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 132 | a = list(map(int, input().split()))
a = sorted(a)
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,176 |
s529685096 | p04043 | u787562674 | 1536649576 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 101 | inputs = input().split()
print('YES' if inputs.count('5') == 2 and inputs.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,177 |
s432867716 | p04043 | u102126195 | 1536593748 | 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,178 |
s142392206 | p04043 | u439396449 | 1536506810 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 159 | from collections import Counter
A, B, C = map(int, input().split())
c = Counter([A, B, C])
if c[5] == 2 and c[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,179 |
s613055876 | p04043 | u546959066 | 1536466121 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 149 | from collections import Counter
li = list(map(int, input().split()))
d = Counter(li)
if not (d[5]==2 and d[7]==1):
print('NO')
else:
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,180 |
s847726070 | p04043 | u445113445 | 1536276028 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 172 | 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,212,181 |
s649900492 | p04043 | u016393440 | 1536258387 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 262 | a, b, c = (int(i) for i in input().split())
if a == 7 or b == 7 or c == 7:
if (a == 5 and b == 5) or (b == 5 and c == 5) or (a == 5 and c == 5):
print('YES')
exit()
else:
print('NO')
exit()
else:
print('NO')
exit() | 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,182 |
s534152119 | p04043 | u394853232 | 1536170047 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 259 | a, b, c = map(int,input().split())
if a == 5:
if (b == 7 and c == 5) or (b == 5 and c == 7):
print("YES")
else:
print("NO")
elif a == 7:
if b == 5 and 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,183 |
s778619338 | p04043 | u525423408 | 1536146280 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | 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,184 |
s386139074 | p04043 | u461636820 | 1536046058 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 84 | A=sorted(list(input().split()))
print(['NO','YES'][A.count('5')==2and A.count('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,185 |
s169690045 | p04043 | u017810624 | 1536027934 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 93 | a,b,c=map(int,input().split())
l=[a,b,c]
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,186 |
s321898801 | p04043 | u601082779 | 1535992052 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 53 | print("YNEOS"[eval(input().replace(' ','+'))!=17::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,187 |
s411675002 | p04043 | u601082779 | 1535991369 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 70 | a,b,c=map(int,input().split());print("YNEOS"[a+b+c!=17or a^b^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,212,188 |
s582898446 | p04043 | u328755070 | 1535850041 | Python | Python (3.4.3) | py | Accepted | 23 | 3316 | 132 | a, b, c = list(map(int, input().split()))
if (a + b + c == 17) and (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,189 |
s523704062 | p04043 | u863841238 | 1535844356 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 284 | def rythm_check(abc):
sum = 0
for i in abc.split():
num = int(i)
if num == 5 or num == 7:
sum += num
else:
return 'NO'
if sum == 17:
return 'YES'
else:
return 'NO'
abc = input()
print (rythm_check(abc)) | 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,190 |
s444480503 | p04043 | u366644013 | 1535830291 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 128 | na = lambda: list(map(int, input().split()))
l = sorted(na())
if l[0] == 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,212,191 |
s372102560 | p04043 | u608088992 | 1535825865 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 97 | Words = list(map(int, input().split()))
Words.sort()
print("YES" if Words == [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,192 |
s338647013 | p04043 | u294000907 | 1535681972 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 199 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
l = input().split()
count5 = 0
if len([s for s in l if '5' in s]) == 2 and len([s for s in l if '7' in 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,212,193 |
s848741702 | p04043 | u331036636 | 1535613611 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 63 | print(["NO","YES"][sorted(input())==[' ', ' ', '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,194 |
s598294730 | p04043 | u472400577 | 1535558156 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 86 | n = input()
if n.count('5')==2:
print(' YNEOS'[n.count('7')::2])
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,195 |
s189921472 | p04043 | u138486156 | 1535422380 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 102 | 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,196 |
s700594454 | p04043 | u657913472 | 1535417158 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 38 | print(' YNEOS'[input().count('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,212,197 |
s710302789 | p04043 | u461636820 | 1535417121 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 142 | A, B, C = map(int, input().split())
print('YES' if (A == B == 5 and C == 7) or (C == A == 5 and B == 7) or (B == C == 5 and A == 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,198 |
s065256213 | p04043 | u394482932 | 1535370806 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 42 | print(['YES','NO'][input().count('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,212,199 |
s986089183 | p04043 | u162370698 | 1535262833 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 119 | A,B,C=map(int,input().split())
l=[A,B,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,212,200 |
s319840721 | p04043 | u386819480 | 1535215813 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 106 | l = [int(_) for _ in input().split()]
print('YES') if l.count(5) == 2 and l.count(7) == 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,212,201 |
s522066338 | p04043 | u759651152 | 1534217576 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 215 | #-*-coding:utf-8-*-
def main():
arry = list(map(int, input().split()))
if arry.count(5) == 2 and arry.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,202 |
s253029648 | p04043 | u756569003 | 1534095539 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 93 | a, b, c = map(int, input().split())
if a*b*c == 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,203 |
s867526030 | p04043 | u277802731 | 1534014194 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 76 | #42a
l = sorted(input().split())
print('YES' if l==['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,204 |
s109510794 | p04043 | u214617707 | 1534012779 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 147 | a, b, c = map(int, input().split())
w = [0] * 100
w[a] += 1
w[b] += 1
w[c] += 1
if w[5] == 2 and w[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,205 |
s980563388 | p04043 | u846150137 | 1534007075 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 64 | 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,212,206 |
s191443428 | p04043 | u076564993 | 1533954328 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 134 | a = list(input().split(" "))
a.sort(reverse=True)
if a[0] =='7' and a[1]=='5'and a[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,212,207 |
s587869956 | p04043 | u181668771 | 1533938607 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 184 | a = map(int,input().split(" "))
cnt5=0
cnt7=0
for n in a:
if(n==5):
cnt5+=1
if(n==7):
cnt7+=1
if(cnt5==2 and cnt7 == 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,208 |
s117619918 | p04043 | u879870653 | 1533659375 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 159 | a,b,c =map(int,input().split())
L=[]
L.append(a)
L.append(b)
L.append(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,212,209 |
s330014245 | p04043 | u665190342 | 1533437912 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 303 | A, B, C = map(int, input().split()) #入力された数字から空を除く
numbers = [A, B, C] #入力された数字をnumbersリストに代入する
numbers.sort()
a = numbers[0]
b = numbers[1]
c = numbers[2]
#print(a, b, c)
if 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,210 |
s494932888 | p04043 | u690536347 | 1533357365 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 84 | l=sorted(map(int,input().split()))
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,211 |
s629690176 | p04043 | u278864208 | 1533325697 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 231 | abc = list(input().split())
counter_f = 0
counter_s = 0
for i in abc:
if int(i) == 5:
counter_f += 1
elif int(i) == 7:
counter_s += 1
if counter_f==2 and counter_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,212,212 |
s159779173 | p04043 | u761989513 | 1533213269 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 104 | a = list(input().split())
if a.count("7") == 1 and 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,213 |
s490569450 | p04043 | u653642801 | 1533176739 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 190 |
def main():
n =list(map(int,input().split()))
if n.count(5) == 2 and n.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,214 |
s397619730 | p04043 | u415905784 | 1533175482 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 109 | A = sorted([int(x) for x in input().split()])
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,215 |
s344002864 | p04043 | u653642801 | 1533175440 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 190 |
def main():
n =list(map(int,input().split()))
if n.count(5) == 2 and n.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,216 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.