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
s103409096
p04043
u456416458
1594498573
Python
Python (3.8.2)
py
Accepted
23
8980
390
s = input().split() a = s[0] b = s[1] c = s[2] five_count = 0 seven_count = 0 if a == '5': five_count += 1 elif a == '7': seven_count += 1 if b == '5': five_count += 1 elif b == '7': seven_count += 1 if c == '5': five_count += 1 elif c == '7': seven_count += 1 if five_count == 2 and seven_...
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,717
s222205043
p04043
u645127738
1594496912
Python
Python (3.8.2)
py
Accepted
24
9028
186
a,b,c=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,209,718
s700034007
p04043
u586639900
1594451424
Python
Python (3.8.2)
py
Accepted
26
9092
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,209,719
s213622478
p04043
u316603606
1594407022
Python
Python (3.8.2)
py
Accepted
26
8908
141
A,B,C = (int(x) for x in input().split()) if A+B+C == 17: if A*B*C == 175: 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,209,720
s316117301
p04043
u729627789
1594400327
Python
PyPy3 (7.3.0)
py
Accepted
64
61660
125
l = sorted(list(map(int, input().split()))) if l[0] == 5 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,209,721
s187031098
p04043
u767797498
1594362694
Python
Python (3.8.2)
py
Accepted
25
8860
99
s_lst= list(input().split()) s_lst.sort() ans = "YES" if "".join(s_lst)=="557" 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,209,722
s848910847
p04043
u359573942
1594344440
Python
Python (3.8.2)
py
Accepted
24
9036
150
import sys l=list(map(int, input().split())) if 5 in l: l.remove(5) if 5 in l and 7 in l: print("YES") sys.exit() print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,723
s062679978
p04043
u548775658
1594344440
Python
Python (3.8.2)
py
Accepted
22
9112
206
A,B,C=map(int,input().split()) sum = 0 if A == 5 or A ==7: sum += A if B ==5 or 7: sum += B if C ==5 or 7: sum += C if sum == 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,209,724
s252376553
p04043
u052838115
1594335885
Python
Python (3.8.2)
py
Accepted
24
9028
265
A,B,C=map(int,input().split()) lst=0 if A==5 or A==7: lst+=A if B==5 or B==7: lst+=B if C==5 or C==7: lst+=C if lst==17: print('YES') else: print('NO') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,725
s116470572
p04043
u975955812
1594265735
Python
Python (3.8.2)
py
Accepted
25
8932
155
inp=input().split() prod = int(inp[0]) * int(inp[1]) * int(inp[2]) #resid1 = prod//5 #resid2 = prod//7 if (prod == 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,209,726
s294053818
p04043
u684743124
1594242451
Python
Python (3.8.2)
py
Accepted
27
9084
78
a=list(map(int,input().split())) a.sort() print("YES" if a==[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,209,727
s049896456
p04043
u678505520
1594221121
Python
PyPy3 (7.3.0)
py
Accepted
64
61704
95
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,209,728
s588122996
p04043
u716117006
1594218514
Python
Python (3.8.2)
py
Accepted
25
8964
154
def resolve(): ABC = input().split() if ABC.count("5") == 2 and ABC.count("7") == 1: print("YES") else: print("NO") resolve()
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,729
s462061142
p04043
u706414019
1594200805
Python
Python (3.8.2)
py
Accepted
24
8956
135
import sys input = sys.stdin.readline a,b,c = sorted(list(map(int,input().split()))) print('YES' if a==b and b==5 and c==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,209,730
s349658210
p04043
u252160635
1594174005
Python
Python (3.8.2)
py
Accepted
26
8980
136
# 入力 input_list = list(map(int, input().split())) # 出力 if sorted(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,209,731
s260490234
p04043
u969848070
1594173218
Python
Python (3.8.2)
py
Accepted
23
9088
109
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,209,732
s663702293
p04043
u748241164
1594162507
Python
Python (3.8.2)
py
Accepted
26
8956
138
A, B, C = map(int, input().split()) L = [A, B, C] ans = [[5, 5, 7], [5, 7, 5], [7, 5, 5]] if L in ans: 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,209,733
s069440725
p04043
u693105608
1594101594
Python
Python (3.8.2)
py
Accepted
25
8948
141
arr = list(map(int, input().split())) arr.sort() if (arr[0] == 5) and (arr[1] == 5) and (arr[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,209,734
s357153384
p04043
u786020649
1594096108
Python
Python (3.8.2)
py
Accepted
27
9136
175
import sys a,b,c=map(int,input().split()) l=[a,b,c,a,b] for x in range(3): if l[x]==l[x+1] and l[x]==5 and l[x+2]==7: print('YES') sys.exit() print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,735
s289805950
p04043
u598684283
1594094381
Python
Python (3.8.2)
py
Accepted
22
8956
91
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,209,736
s460454975
p04043
u188138642
1594087341
Python
Python (3.8.2)
py
Accepted
30
9460
188
from collections import Counter a = list(map(int, input().split())) a = Counter(a) if a.get(7) and a.get(5): if a[7]==1 and a[5]==2: print('YES') exit() print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,737
s746443854
p04043
u823885866
1594082446
Python
Python (3.8.2)
py
Accepted
27
8904
52
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,209,738
s765770868
p04043
u007381711
1594057073
Python
Python (3.8.2)
py
Accepted
23
9072
171
# -*- coding: utf-8 -*- import sys input = sys.stdin.readline s = [int(_) for _ in input().split()] if (s.count(7)==1)&(s.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,209,739
s715596002
p04043
u551857719
1594045149
Python
Python (3.8.2)
py
Accepted
25
8828
116
# -*- coding: utf-8 -*- s = input() if s.count("5") == 2 and s.count("7") == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,740
s501648660
p04043
u460615319
1594011397
Python
Python (3.8.2)
py
Accepted
28
9092
73
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,209,741
s596280109
p04043
u420521625
1593992662
Python
Python (3.8.2)
py
Accepted
23
9060
134
# -*- coding: utf-8 -*- nums = input().split() if nums.count('5') == 2 and nums.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,209,742
s264124334
p04043
u047931063
1593909246
Python
PyPy3 (7.3.0)
py
Accepted
66
61716
109
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,209,743
s245455743
p04043
u978167553
1593880976
Python
Python (3.8.2)
py
Accepted
25
9020
129
words = input().split() if (words.count("5") == 2) and (words.count("7") == 1): 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,209,744
s699286880
p04043
u445945102
1593840320
Python
Python (3.8.2)
py
Accepted
23
9000
219
cmd = list( map( int, input( ).split( ))) cnt5 = 0 cnt7 = 0 for i in range( len( cmd)): if cmd[i] == 5: cnt5 +=1 elif cmd[ i] == 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,209,745
s092939479
p04043
u479835943
1593825807
Python
PyPy3 (7.3.0)
py
Accepted
61
61852
295
n = [int(i) for i in input().split()] seven = 0 five = 0 if n[0] == 5: five += 1 if n[0] == 7: seven += 1 if n[1] == 5: five += 1 if n[1] == 7: seven += 1 if n[2] == 5: five += 1 if n[2] == 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,209,746
s579988746
p04043
u557750361
1593825794
Python
PyPy3 (7.3.0)
py
Accepted
74
61808
114
a = input().split() sums = 0 for i in a: sums += int(i) if sums == 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,209,747
s018961543
p04043
u168416324
1593736705
Python
Python (3.8.2)
py
Accepted
29
8976
86
if sorted(list(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,209,748
s935492258
p04043
u487332991
1593722524
Python
PyPy3 (7.3.0)
py
Accepted
63
61968
240
A,B,C = map(int,input().split()) b_5 = 0 b_7 = 0 if A == 5: b_5 += 1 elif A == 7: b_7 += 1 if B == 5: b_5 +=1 elif B==7: b_7 += 1 if C==5: b_5 +=1 elif C==7: b_7 += 1 if b_5 == 2 and b_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,209,749
s132693421
p04043
u087072944
1593721005
Python
Python (3.8.2)
py
Accepted
24
9080
237
# coding: utf-8 input_ = input().split() count_5 = 0 count_7 = 0 for i in input_: if i == '5': count_5 += 1 elif i == '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,209,750
s064399428
p04043
u016843859
1593716321
Python
Python (3.8.2)
py
Accepted
24
9016
131
ABC=list(map(int,input().split())) five=ABC.count(5) seven=ABC.count(7) if (five==2)&(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,209,751
s001473804
p04043
u302789073
1593712423
Python
Python (3.8.2)
py
Accepted
26
8916
131
s_list=[int(i) for i in input().split()] if s_list.count(5)==2 and s_list.count(7)==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,752
s762842748
p04043
u443471096
1593678866
Python
PyPy3 (7.3.0)
py
Accepted
64
61844
87
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,209,753
s751403633
p04043
u917558625
1593665299
Python
Python (3.8.2)
py
Accepted
24
9084
106
A=list(map(int,input().split())) A.sort() if A[0]==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,209,754
s743587808
p04043
u719886494
1593656458
Python
Python (3.8.2)
py
Accepted
25
9044
285
a,b,c = map(int,input().split()) if a == 7: if b == 5 and c == 5: print("YES") else: print("NO") elif 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") 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,209,755
s763732082
p04043
u039002256
1593656170
Python
Python (3.8.2)
py
Accepted
28
8964
212
l = list(map(int, input().split())) flag_5 = flag_7 = 0 for i in l: if i == 5: flag_5 += 1 if i == 7: flag_7 += 1 if flag_5 == 2 and flag_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,209,756
s964389432
p04043
u736189571
1593577068
Python
Python (3.8.2)
py
Accepted
33
9260
535
import sys import math import collections import heapq def set_debug(debug_mode=False): if debug_mode: fin = open('input.txt', 'r') sys.stdin = fin def int_input(): return list(map(int, input().split())) if __name__ == '__main__': # set_debug(True) # t = int(input()) t = 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,209,757
s855363807
p04043
u809819902
1593564650
Python
Python (3.8.2)
py
Accepted
26
9144
101
a = sorted(list(map(int, input().split()))) print("YES" if a[1] == 5 and a[0]== 5 and a[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,209,758
s559436068
p04043
u858670323
1593550695
Python
Python (3.8.2)
py
Accepted
22
9004
114
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,209,759
s212629682
p04043
u078276601
1593466536
Python
Python (3.8.2)
py
Accepted
25
9064
147
A = list(map(int, input().split())) A_sort = sorted(A) if A_sort[0]==5 and A_sort[1]==5 and A_sort[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,209,760
s525508093
p04043
u913973350
1593457354
Python
Python (3.8.2)
py
Accepted
22
9024
106
t = list(map(int,input().split())) if t.count(5)==2 and t.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,209,761
s665401527
p04043
u952976920
1593443641
Python
Python (3.8.2)
py
Accepted
27
9176
355
input_line = input().split() if int(input_line[0]) + int(input_line[1]) + int(input_line[2]) != 17: print("NO") pass elif input_line[0] == input_line[1] == "5": print("YES") pass elif input_line[1] == input_line[2] == "5": print("YES") pass elif input_line[0] == input_line[2] == "5": 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,209,762
s680560256
p04043
u279005807
1593382887
Python
Python (3.8.2)
py
Accepted
27
9056
171
a, b, c = (map(int, input().split())) m = {5: 0, 7: 0} m[a] = m[a] + 1 m[b] = m[b] + 1 m[c] = m[c] + 1 if m[5] == 2 and m[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,209,763
s386084643
p04043
u674934587
1593376847
Python
Python (3.8.2)
py
Accepted
26
9112
188
a,b,c=map(int,input().split()) if a==5 and b==5 and c==7: print("YES") elif a==7 and b==5 and c==5: print("YES") elif a==5 and b==7 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,209,764
s423017142
p04043
u679817762
1593370007
Python
Python (3.8.2)
py
Accepted
27
8996
184
#入力 lst = input().split() #整数値化 for i in range(len(lst)): lst[i] = int(lst[i]) #ソート lst.sort() #出力 if lst == [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,209,765
s859059438
p04043
u477696265
1593359988
Python
Python (3.8.2)
py
Accepted
27
9028
115
text = input().split(" ") if text.count('5') == 2 and text.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,209,766
s606009281
p04043
u577504524
1593353500
Python
Python (3.8.2)
py
Accepted
29
9108
107
#A a = list(map(int,input().split())) b = sorted(a) if b == [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,209,767
s906291628
p04043
u519339498
1593323150
Python
Python (3.8.2)
py
Accepted
24
9052
216
A,B,C=map(int,input().split()) n5=0 n7=0 if A==7: n7 += 1 elif A==5: n5 += 1 if B==7: n7 += 1 elif B==5: n5 += 1 if C==7: n7 += 1 elif C==5: n5 += 1 if n5==2 and n7==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,209,768
s389080807
p04043
u743682467
1593314921
Python
Python (3.8.2)
py
Accepted
23
9012
93
A = list(map(int, input().split())) A.sort() #print(A) print("YES" if A == [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,209,769
s599152438
p04043
u616542081
1593305722
Python
Python (3.8.2)
py
Accepted
32
9108
231
a = list(map(int, input().split())) counter_5 = 0 counter_7 = 0 for i in range(len(a)): if a[i] == 5: counter_5 += 1 if a[i]== 7: counter_7 += 1 if counter_5 == 2 and counter_7 ==1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,770
s714816411
p04043
u699522269
1593305605
Python
Python (3.8.2)
py
Accepted
23
9160
144
a = input() a = [int(i)for i in a.split(" ")] print("YES" if (a[0] == 5 or a[0] == 7) and (a[1] == 5 or a[1] == 7) and (sum(a) == 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,209,771
s495362630
p04043
u896004073
1593305547
Python
Python (3.8.2)
py
Accepted
29
9156
92
a, b, c = input().split() if int(a)*int(b)*int(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,209,772
s835498311
p04043
u088488125
1593272763
Python
Python (3.8.2)
py
Accepted
24
9036
181
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,209,773
s423229715
p04043
u729133443
1593254716
Python
Python (3.8.2)
py
Accepted
24
8984
34
print('YNEOS'['7 7'in input()::2])
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,774
s906479304
p04043
u785354231
1593240658
Python
Python (3.8.2)
py
Accepted
31
9032
205
data = input().split() seven = 0 five = 0 for i in range(len(data)): if int(data[i]) == 7: seven += 1 elif int(data[i]) == 5: five +=1 if seven == 1 and five == 2: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,775
s766331621
p04043
u565245377
1593236134
Python
PyPy3 (7.3.0)
py
Accepted
63
61784
137
n = list(int(i) for i in input().split()) n.sort() if n[0] == 5 and n[1] == n[0] and n[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,209,776
s407820618
p04043
u840993943
1593235589
Python
Python (3.8.2)
py
Accepted
23
9048
154
# -*- coding: utf-8 -*- #abc042 a, b, c=map(int, input().split()) A=[a,b,c] if A in [[5,5,7], [5,7,5], [7,5,5]]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,777
s165682701
p04043
u998679483
1593235089
Python
Python (3.8.2)
py
Accepted
41
10412
479
from fractions import gcd from collections import Counter, deque, defaultdict from heapq import heappush, heappop, heappushpop, heapify, heapreplace, merge from bisect import bisect_left, bisect_right, bisect, insort_left, insort_right, insort from itertools import accumulate, product, permutations, combinations def m...
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,778
s462269492
p04043
u966982058
1593221721
Python
Python (3.8.2)
py
Accepted
28
9060
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,209,779
s319325128
p04043
u609773122
1593204400
Python
Python (3.8.2)
py
Accepted
29
9036
331
a,b,c = map(int,input().split())#標準入力を行う if (a == 5 or a== 7): if(b == 5 or b == 7): if(c == 5 or c == 7): if(a + b + c == 17): print("YES") else: print("NO") else: print("NO") else: print("NO") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,780
s796335705
p04043
u635435492
1593184479
Python
Python (3.8.2)
py
Accepted
24
9108
280
# coding:utf-8 def main(): haiku = [5, 7, 5] word_num = input().split(' ') for num in word_num: try: haiku.remove(int(num)) except: return 'NO' return 'YES' if __name__ == '__main__': reply = main() print(reply)
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,781
s673705795
p04043
u146803137
1593170584
Python
Python (3.8.2)
py
Accepted
25
9120
182
import math n = list(map(int,input().split())) a = sum(n[i] == 5 for i in range(3)) b = sum(n[i] == 7 for i in range(3)) if a == 2 and b == 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,209,782
s887129391
p04043
u209275335
1593152126
Python
Python (3.8.2)
py
Accepted
30
8880
105
li = input().split() if li.count("5") == 2 and li.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,209,783
s104701107
p04043
u448720391
1593117702
Python
Python (3.8.2)
py
Accepted
24
9068
118
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,209,784
s554414034
p04043
u062999487
1593114147
Python
PyPy3 (7.3.0)
py
Accepted
62
61736
305
A, B, C = map(int, input().split()) count_5 = 0 count_7 = 0 if A == 5: count_5 += 1 elif A == 7: count_7 += 1 if B == 5: count_5 += 1 elif B == 7: count_7 += 1 if C == 5: count_5 += 1 elif C == 7: count_7 += 1 if count_5 == 2 and count_7 == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,785
s273162005
p04043
u702786238
1593114142
Python
PyPy3 (7.3.0)
py
Accepted
63
61848
301
A, B, C = map(int, input().split()) count_5 = 0 count_7 = 0 if A == 5: count_5 += 1 elif A == 7: count_7 += 1 if B == 5: count_5 += 1 elif B == 7: count_7 += 1 if C == 5: count_5 += 1 elif C == 7: count_7 += 1 if count_5 == 2 and count_7 == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,786
s992605938
p04043
u500376440
1593111409
Python
Python (3.8.2)
py
Accepted
28
9084
110
ABC=list(map(int,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,209,787
s514421343
p04043
u701077471
1593106743
Python
Python (3.8.2)
py
Accepted
26
8916
113
apple = list(map(str, input().split())) print("YES" if apple.count("5") == 2 and apple.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,209,788
s676160695
p04043
u049182844
1593104328
Python
Python (3.8.2)
py
Accepted
24
9040
147
a = list(map(int,input().split())) answer = 'NO' if set([5,7]) == set(a): if len([i for i in a if i == 5]) == 2: answer = 'YES' print(answer)
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,789
s724441625
p04043
u212242633
1593103783
Python
Python (3.8.2)
py
Accepted
21
8800
162
import itertools ABC = list(map(str, input().split())) list_ = list(itertools.permutations(ABC)) if ('5', '7', '5') 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,209,790
s009808780
p04043
u514118270
1593060560
Python
Python (3.8.2)
py
Accepted
33
10052
509
import sys import math import itertools import bisect from copy import copy from collections import deque,Counter from decimal import Decimal def s(): return input() def i(): return int(input()) def S(): return input().split() def I(): return map(int,input().split()) def L(): return list(input().split()) def l(): retur...
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,791
s452491020
p04043
u597374218
1593050710
Python
Python (3.8.2)
py
Accepted
28
8900
85
ABC=input().split() print("YES" if ABC.count("5")==2 and ABC.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,209,792
s226985027
p04043
u597374218
1593050656
Python
Python (3.8.2)
py
Accepted
23
9000
96
ABC=list(map(int,input().split())) print("YES" if ABC.count(5)==2 and ABC.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,209,793
s736828691
p04043
u597374218
1593047087
Python
Python (3.8.2)
py
Accepted
28
8976
103
ABC = list(map(int, input().split())) print("YES" if ABC.count(5) == 2 and ABC.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,209,794
s893593198
p04043
u597374218
1593047018
Python
Python (3.8.2)
py
Accepted
23
8832
91
ABC = input().split() print("YES" if ABC.count("5") == 2 and ABC.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,209,795
s521261391
p04043
u634046173
1593031913
Python
Python (3.8.2)
py
Accepted
30
9004
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,209,796
s555413900
p04043
u061361273
1593030735
Python
Python (3.8.2)
py
Accepted
21
9036
148
def hiku(): lst=input() lst = lst.split() lst.sort() if lst[0]=='5' and lst[1]=='5' and lst[2]=='7': print("YES") else: print('NO') hiku()
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,797
s036375463
p04043
u981898278
1593022067
Python
Python (3.8.2)
py
Accepted
22
8844
116
iroha = input().split() if iroha.count("5") == 2 and iroha.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,209,798
s178963386
p04043
u697615293
1593016747
Python
Python (3.8.2)
py
Accepted
25
8992
184
from sys import stdin A,B,C = [int(x) for x in stdin.readline().rstrip().split()] if A + B + C == 17 and A >= 5 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,209,799
s976443243
p04043
u325119213
1593015474
Python
Python (3.8.2)
py
Accepted
25
9048
175
def actual(A, B, C): if (A, B, C) in [(5, 5, 7), (5, 7, 5), (7, 5, 5)]: return 'YES' return 'NO' A, B, C = map(int, input().split()) print(actual(A, B, C))
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,800
s465600924
p04043
u618369407
1593004382
Python
Python (3.8.2)
py
Accepted
28
9156
147
# -*- coding: utf-8 -*- l = list(map(int, input().split())) l_s = sorted(l) l_r = [5, 5, 7] if l_s == l_r: 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,209,801
s644653229
p04043
u014333473
1592965918
Python
Python (3.8.2)
py
Accepted
27
9068
92
a,b,c=map(int,input().split());print(['NO','YES'][max(a,b,c)==7 and (a+b+c)-max(a,b,c)==10])
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,802
s884196668
p04043
u345710188
1592965315
Python
Python (3.8.2)
py
Accepted
23
8812
136
A, B, C = map(int, input().split()) fsf = [A, B, C] if (fsf.count(5) == 2) & (fsf.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,209,803
s348702594
p04043
u956433805
1592950465
Python
Python (3.8.2)
py
Accepted
24
9116
164
A, B, C = map(int, input().split()) a = str(A) b = str(B) c = str(C) 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,209,804
s185406062
p04043
u820195841
1592936907
Python
Python (3.8.2)
py
Accepted
24
8920
136
huga = list(map(int, input().split())) huga.sort() if huga[0] == 5 and huga[1] == 5 and huga[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,209,805
s256674602
p04043
u710398282
1592925680
Python
Python (3.8.2)
py
Accepted
29
8928
189
N = 3 a, b, c = [int(N) for N in input().split() ] d = 17 mylist = [5, 7] if ( a in mylist and b in mylist and c in mylist 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,209,806
s107442013
p04043
u583507988
1592925317
Python
Python (3.8.2)
py
Accepted
28
8992
111
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,209,807
s312442667
p04043
u520018621
1592894647
Python
Python (3.8.2)
py
Accepted
25
9020
116
arr = list(map(int, input().split())) if arr.count(5) == 2 and arr.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,209,808
s814199176
p04043
u033642300
1592884953
Python
Python (3.8.2)
py
Accepted
27
9088
215
def main(): A, B, C = map(int, input().split()) if (A == 5 and B == 7 and C == 5) or (A == 7 and B == 5 and C == 5) or (A == 5 and B == 5 and C ==7): print('YES') else: print('NO') main()
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,809
s834675936
p04043
u124063060
1592879914
Python
Python (3.8.2)
py
Accepted
23
9148
140
num = list(map(int, input().split())) ans = sorted(num) if(ans[0]==5 and ans[1]==5 and ans[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,209,810
s841212424
p04043
u949755084
1592877046
Python
Python (3.8.2)
py
Accepted
24
9100
120
a = list(map(int,input().split())) a.sort() if(a[0] == a[1] and a[0] == 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,209,811
s110509079
p04043
u389188163
1592875610
Python
Python (3.8.2)
py
Accepted
26
9124
117
A, B, C = map(int, input().split()) s = A, B, C print('YES') if s.count(5) == 2 and s.count(7) == 1 else print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,812
s105674391
p04043
u826189900
1592871773
Python
Python (3.8.2)
py
Accepted
21
8920
92
S = input() if S.count("5") == 2 and S.count("7") == 1 : print("YES") else : print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,813
s084333227
p04043
u017050982
1592868448
Python
Python (3.8.2)
py
Accepted
27
8864
111
A = list(map(int,input().rstrip().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,209,814
s448941329
p04043
u923270446
1592860937
Python
Python (3.8.2)
py
Accepted
24
8860
60
a,b,c=map(int,input().split()) print("YNEOS"[a*b*c!=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,209,815
s971290354
p04043
u419481574
1592807530
Python
Python (3.8.2)
py
Accepted
24
9144
96
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,209,816