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
s819552510
p04043
u924308178
1560000820
Python
Python (3.4.3)
py
Accepted
17
2940
112
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,211,617
s097146857
p04043
u852420560
1559999136
Python
Python (3.4.3)
py
Accepted
17
2940
96
nums=map(int,input().split()) if sorted(nums) == [5,5,7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,618
s473302977
p04043
u043236471
1559991651
Python
Python (3.4.3)
py
Accepted
17
2940
176
A, B, C = [int(x) for x in input().split()] print('YES') 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) else print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,619
s231804609
p04043
u881100099
1559971012
Python
Python (3.4.3)
py
Accepted
17
2940
98
x,y,z=input().split() if (float(x)*float(y)*float(z)==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,211,620
s024887303
p04043
u410118019
1559935068
Python
Python (3.4.3)
py
Accepted
17
2940
91
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,211,621
s680319467
p04043
u961357158
1559923904
Python
Python (3.4.3)
py
Accepted
18
2940
120
# -*- coding: utf-8 -*- 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,211,622
s824070609
p04043
u015316911
1559922510
Python
Python (3.4.3)
py
Accepted
18
3060
318
i = list(map(int, input().split())) count5 = 0 count7 = 0 if i[0] == 5: count5 += 1 elif i[0] == 7: count7 += 1 if i[1] == 5: count5 += 1 elif i[1] == 7: count7 += 1 if i[2] == 5: count5 += 1 elif i[2] == 7: count7 += 1 if count5 == 2 or count7 == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,623
s343152369
p04043
u365364616
1559852093
Python
Python (3.4.3)
py
Accepted
17
2940
103
x = list(map(int, input().split())) x.sort() if x == [5, 5, 7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,624
s971354425
p04043
u374531474
1559796088
Python
Python (3.4.3)
py
Accepted
17
2940
86
L = list(map(int, input().split())) L.sort() 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,211,625
s917360244
p04043
u696048490
1559763627
Python
Python (3.4.3)
py
Accepted
17
2940
105
ABC = 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,211,626
s385485592
p04043
u559126797
1559760154
Python
Python (3.4.3)
py
Accepted
17
2940
92
a=input().split() if a.count('5')==2 and a.count('7')==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,627
s234395054
p04043
u115284827
1559741477
Python
Python (3.4.3)
py
Accepted
17
2940
115
A, B, C = map(int, input().split()) print('YES' if A+B+C == 17 and (A+B == 10 or A+C == 10 or B+C == 10) 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,211,628
s543206742
p04043
u997530672
1559697812
Python
Python (3.4.3)
py
Accepted
17
2940
95
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,211,629
s010969550
p04043
u637918426
1559683088
Python
Python (3.4.3)
py
Accepted
17
2940
103
word = input().split() if word.count('5') == 2 and '7' in word: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,630
s754778908
p04043
u297651868
1559662646
Python
Python (3.4.3)
py
Accepted
17
2940
219
int = list(map(int, input().split())) int = sorted(int) for i in range(1): if int[0] == 5: if int[1] == 5: if int[2] == 7: print("YES") break else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,631
s606042922
p04043
u442068463
1559615479
Python
Python (3.4.3)
py
Accepted
18
2940
119
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,211,632
s533311400
p04043
u623687794
1559610793
Python
Python (3.4.3)
py
Accepted
17
2940
105
a=list(map(int,input().split())) if 5 in a and 7 in a and sum(a)==17: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,633
s349469672
p04043
u302870145
1559603493
Python
Python (3.4.3)
py
Accepted
17
2940
80
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,211,634
s673580718
p04043
u136811344
1559575730
Python
Python (3.4.3)
py
Accepted
17
2940
114
ABC = [int(x) for x in 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,211,635
s180536902
p04043
u539675863
1559561519
Python
Python (3.4.3)
py
Accepted
17
2940
116
go = list(map(int,input().split())) if go.count(5) == 2 and go.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,211,636
s926262318
p04043
u305052967
1559515291
Python
Python (3.4.3)
py
Accepted
17
2940
100
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,211,637
s020957002
p04043
u636578047
1559425179
Python
Python (3.4.3)
py
Accepted
17
2940
96
arr = input().split() print('YES') if 0 <= arr.count('5') - arr.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,211,638
s731920304
p04043
u221841077
1559404274
Python
Python (3.4.3)
py
Accepted
18
3060
283
seven = 0 five = 0 A,B,C = map(int,input().split()) if A == 7: seven += 1 elif A == 5: five += 1 if B == 7: seven += 1 elif B == 5: five += 1 if C == 7: seven += 1 elif C == 5: five += 1 if seven == 1 or 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,211,639
s855471971
p04043
u164957173
1559403349
Python
Python (3.4.3)
py
Accepted
17
2940
107
abc = list(map(int, input().split())) abc.sort() if abc == [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,211,640
s802583360
p04043
u353652911
1559323461
Python
Python (3.4.3)
py
Accepted
17
2940
91
n=list(map(int,input().split())) print("YES" if n.count(5)==2 and n.count(7)==1 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,641
s932337639
p04043
u816919571
1559247140
Python
Python (3.4.3)
py
Accepted
17
2940
133
a,b,c = map(int,input().split()) print("YES" if (a == b == 5 and c==7) or (b == c == 5 and a==7) or (c == a == 5 and b==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,211,642
s002559793
p04043
u194894739
1559187777
Python
Python (3.4.3)
py
Accepted
19
3060
132
A, B, C = map(int, input().split()) if A*B*C == 5*7*5 and 5 in [A, B, C] and 7 in [A, B, C]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,643
s814114973
p04043
u095089755
1559176995
Python
Python (3.4.3)
py
Accepted
18
2940
181
A, B, C = list(map(int, input().split())) if (A == 5 and B ==7 and C == 5) or (A == 5 and B ==5 and C == 7) 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,211,644
s117432967
p04043
u267970779
1559173010
Python
Python (3.4.3)
py
Accepted
20
3060
170
A,B,C=map(int,input().split()) if A==B==5 and C==7: print("YES") elif A==C==5 and B==7: print("YES") elif B==C==5 and A==7: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,645
s441285571
p04043
u117579775
1559158509
Python
Python (3.4.3)
py
Accepted
18
3188
208
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,211,646
s542512435
p04043
u449473917
1559130723
Python
Python (3.4.3)
py
Accepted
17
3064
96
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,211,647
s869206186
p04043
u399721252
1559112006
Python
Python (3.4.3)
py
Accepted
19
2940
108
frase = sorted([ int(v) for v in input().split() ]) if frase == [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,211,648
s602035342
p04043
u694810977
1559084253
Python
Python (3.4.3)
py
Accepted
19
3316
121
A,B,C = map(int,input().split()) lists = [A,B,C] 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,211,649
s684617283
p04043
u802772880
1559075622
Python
Python (3.4.3)
py
Accepted
19
2940
85
a=map(int,input().split()) ans='NO' a=sorted(a) if a==[5,5,7]: ans='YES' 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,211,650
s480429787
p04043
u416758623
1559044509
Python
Python (3.4.3)
py
Accepted
17
2940
106
abc = list(map(int, input().split())) abc.sort() if abc == [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,211,651
s470129136
p04043
u777394984
1558995982
Python
Python (3.4.3)
py
Accepted
17
2940
124
s = list(map(int,input().split())) s = sorted(s) if s[0]==5 and s[1] == 5 and s[2] == 7: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,652
s828269939
p04043
u392480256
1558985151
Python
Python (3.4.3)
py
Accepted
17
2940
105
inp = input().split() if inp.count('7') == 1 and inp.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,211,653
s765643266
p04043
u856169020
1558961507
Python
Python (3.4.3)
py
Accepted
17
2940
182
S = list(map(int, input().split())) num5 = num7 = 0 for s in S: if s == 5: num5 += 1 if s == 7: num7 += 1 if num5 == 2 and num7 == 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,211,654
s980947254
p04043
u501163846
1558932769
Python
Python (3.4.3)
py
Accepted
17
2940
72
a=list(map(int,input().split())) a.sort() print("YNEOS"[a!=[5,5,7]::2])
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,655
s415152855
p04043
u037221289
1558929016
Python
Python (3.4.3)
py
Accepted
17
2940
84
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,211,656
s837899090
p04043
u723180465
1558902513
Python
Python (3.4.3)
py
Accepted
17
2940
84
a = sorted(list(map(int, input().split()))) 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,211,657
s288885706
p04043
u765815947
1558900010
Python
Python (3.4.3)
py
Accepted
17
2940
124
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,211,658
s114552066
p04043
u591779169
1558857371
Python
Python (3.4.3)
py
Accepted
17
2940
103
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,211,659
s301038152
p04043
u369338402
1558829483
Python
Python (3.4.3)
py
Accepted
17
2940
88
str=input().split() str.sort() if str==['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,211,660
s235787821
p04043
u366959492
1558759741
Python
Python (3.4.3)
py
Accepted
17
2940
154
a,b,c=map(int,input().split()) l=[] l.append(a) l.append(b) l.append(c) if l==[5,5,7] or l==[5,7,5] or l==[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,211,661
s831302168
p04043
u104922648
1558755503
Python
Python (3.4.3)
py
Accepted
17
2940
114
l = sorted(list(map(int, input().split()))) 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,211,662
s262524589
p04043
u803785612
1558730787
Python
Python (3.4.3)
py
Accepted
17
2940
101
a = input().split(" ") if (a.count("5") == 2) and ("7" in a): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,663
s953810561
p04043
u733736125
1558667907
Python
Python (3.4.3)
py
Accepted
17
2940
275
import sys def judge(numbers): if sum(numbers) == 17: numbers.sort() if numbers[0] == 5 and numbers[0] == numbers[1]: return 'YES' return 'NO' if __name__ == '__main__': numbers_str = input() print(judge([int(n) for n in numbers_str.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,211,664
s041805993
p04043
u919633157
1558613309
Python
Python (3.4.3)
py
Accepted
17
2940
82
a,b,c=sorted(map(int,input().split())) print('YES' if a==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,211,665
s002660725
p04043
u476562059
1558557975
Python
Python (3.4.3)
py
Accepted
17
2940
92
a = sorted(list(map(int,input().split()))) if a == [5,5,7]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,666
s769385126
p04043
u381739460
1558547115
Python
Python (3.4.3)
py
Accepted
17
2940
129
a = [str(i) for i in 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,211,667
s961566623
p04043
u950144802
1558469625
Python
Python (3.4.3)
py
Accepted
17
2940
116
numbers = input().split() if numbers.count("7") == 1 and numbers.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,211,668
s847004205
p04043
u560135121
1558460480
Python
Python (3.4.3)
py
Accepted
17
2940
93
a=list(map(int,input().split())) a.sort() print("YES" if a[0]==a[1]==5 and a[2]==7 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,669
s508747654
p04043
u115149658
1558439185
Python
Python (3.4.3)
py
Accepted
17
2940
92
x,y,z = input().split() if(int(x)*int(y)*int(z) == 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,211,670
s409140077
p04043
u266874640
1558433505
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,211,671
s662566995
p04043
u460245024
1558410884
Python
Python (3.4.3)
py
Accepted
17
2940
102
length = list(map(int, input().split())) length.sort() print('YES' if length == [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,211,672
s111710491
p04043
u663014688
1558399737
Python
Python (3.4.3)
py
Accepted
17
2940
89
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,211,673
s176209188
p04043
u779073299
1558367606
Python
Python (3.4.3)
py
Accepted
17
2940
122
a, b, c = map(int, input().split()) if [a, b, c].count(5)==2 and [a, b, c].count(7)==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,674
s980264942
p04043
u485673106
1558342917
Python
Python (3.4.3)
py
Accepted
17
2940
86
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,211,675
s587216545
p04043
u073549161
1558328051
Python
Python (3.4.3)
py
Accepted
17
2940
140
a,b,c = map(int, input().split()) t = [a,b,c] t = sorted(t) if t[0] == 5 and t[1] == 5 and t[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,211,676
s477528031
p04043
u706167597
1558324343
Python
Python (3.4.3)
py
Accepted
19
2940
96
a = input() if (a.count("5") == 2 and a.count("7") == 1): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,677
s750739900
p04043
u524747996
1558276930
Python
Python (3.4.3)
py
Accepted
18
2940
99
s = input().split() if s.count('5') == 2 and s.count('7') == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,678
s739244849
p04043
u564060397
1558276718
Python
Python (3.4.3)
py
Accepted
17
2940
80
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,211,679
s390926834
p04043
u391731808
1558273142
Python
Python (3.4.3)
py
Accepted
17
2940
103
*a,=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,211,680
s618792771
p04043
u569742427
1558224573
Python
Python (3.4.3)
py
Accepted
18
2940
162
D=list(map(int,input().split())) F=0 S=0 for d in D: if d==5: F+=1 if d==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,211,681
s429794861
p04043
u756518877
1558216615
Python
Python (3.4.3)
py
Accepted
17
2940
176
# -*- coding: utf-8 -*- #入力 alist=input().split(" ") alist=[int(a) for a in alist] alist.sort() if alist[0]==alist[1]==5 and alist[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,211,682
s095600312
p04043
u760794812
1558186953
Python
Python (3.4.3)
py
Accepted
17
2940
143
List = [i for i in input().split()] List.sort() if List[0] == '5' and 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,211,683
s372733472
p04043
u864453204
1558146454
Python
Python (3.4.3)
py
Accepted
17
2940
175
l = [5, 5, 7] h = list(map(int, input().split())) for hh in h: try: l.remove(hh) except: pass if len(l) == 0: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,684
s929788367
p04043
u042716570
1558066962
Python
Python (3.4.3)
py
Accepted
17
2940
115
S = list(map(int, input().split())) S_sort = sorted(S) if S_sort == [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,211,685
s257927374
p04043
u612481724
1557968780
Python
Python (3.4.3)
py
Accepted
17
2940
122
num = [int(a) for a in input().split()] if num.count(5) == 2 and num.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,211,686
s041155611
p04043
u483640741
1557949965
Python
Python (3.4.3)
py
Accepted
17
2940
128
nums=input() count5=nums.count("5") count7=nums.count("7") if count5==2 and count7==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,687
s015866120
p04043
u570545890
1557944319
Python
Python (3.4.3)
py
Accepted
17
2940
125
n = sorted(list(map(int, input().split()))) if(n[0] == 5) and (n[1] == 5) 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,211,688
s479340916
p04043
u840807329
1557934399
Python
Python (3.4.3)
py
Accepted
17
2940
202
a,b,c = map(int, input().split()) l = [a,b,c] count = 0 for i in l: if i == 5: count += 1 if count == 2: break if any([i == 7 for i in l]) and count == 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,211,689
s336653400
p04043
u903948194
1557920711
Python
Python (3.4.3)
py
Accepted
18
2940
117
s = [int(n) for n in input().split()] if s.count(5) == 2 and s.count(7) == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,690
s427321033
p04043
u765590009
1557894106
Python
Python (3.4.3)
py
Accepted
17
2940
212
# -*- coding: utf-8 -*- # 整数の入力 list_num = [int(num) for num in input().split()] # 計算と出力 if (list_num.count(5) == 2) and (list_num.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,211,691
s638626556
p04043
u363992934
1557880950
Python
Python (3.4.3)
py
Accepted
17
2940
114
num_list = list(map(int, input().split())) if(sorted(num_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,211,692
s111314304
p04043
u961916328
1557869146
Python
Python (3.4.3)
py
Accepted
17
2940
134
list1 = list(map(int,input().split())) list1.sort() if list1[0]==5 and list1[1]==5 and list1[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,211,693
s423394029
p04043
u701318346
1557806608
Python
Python (3.4.3)
py
Accepted
17
2940
122
A, B, C = map(int, input().split()) if A * B * C == 175 and A != 1 and B != 1 and C != 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,211,694
s595233714
p04043
u379959788
1557798283
Python
Python (3.4.3)
py
Accepted
17
3060
202
#A問題 A, B, C = map(int, input().split()) if A == B == 5 and C == 7: print("YES") elif B == C == 5 and A == 7: print("YES") elif C == A == 5 and B == 7: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,695
s741409521
p04043
u046585946
1557781474
Python
Python (3.4.3)
py
Accepted
17
2940
142
a,b,c=map(int,input().split()) if ((a+b==10 and a==5) and c==7) or ((a+b==12 and c==5) and (a==5 or b==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,211,696
s968551329
p04043
u061104093
1557738642
Python
Python (3.4.3)
py
Accepted
17
2940
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,211,697
s135487562
p04043
u521696407
1557694573
Python
Python (3.4.3)
py
Accepted
17
2940
228
def is_575(bunsetsu_list): return bunsetsu_list.count(5) == 2 and bunsetsu_list.count(7) == 1 def main(): bunsetsu_list = [int(i) for i in input().split()] print('YES' if is_575(bunsetsu_list) else '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,211,698
s310334831
p04043
u534308356
1557685149
Python
Python (3.4.3)
py
Accepted
17
2940
124
data = list(map(int, input().split())) if data.count(5) == 2 and data.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,211,699
s641489205
p04043
u804085889
1557601391
Python
Python (3.4.3)
py
Accepted
17
2940
102
List = list(map(int, input().split())) print("YES" if List.count(5)==2 and List.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,211,700
s102619003
p04043
u643912307
1557496709
Python
Python (3.4.3)
py
Accepted
17
2940
92
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,211,701
s616888325
p04043
u015187377
1557493506
Python
Python (3.4.3)
py
Accepted
17
2940
112
a,b,c = map(int, input().split()) List = sorted([a,b,c]) 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,211,702
s232006736
p04043
u041196979
1557373308
Python
Python (3.4.3)
py
Accepted
17
2940
164
A, B, C = map(int, input().split()) if A == B == 5 and C == 7 or \ B == C == 5 and A == 7 or \ C == A == 5 and B == 7: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,703
s540888486
p04043
u278886389
1557347652
Python
Python (3.4.3)
py
Accepted
17
2940
99
x = list(map(int,input().split(" "))) print("YES" if x.count(5) == 2 and x.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,211,704
s390445059
p04043
u733348255
1557338111
Python
Python (3.4.3)
py
Accepted
17
2940
130
values = [] values += input().split() if values.count('5') == 2 and values.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,211,705
s362426279
p04043
u504562455
1557256520
Python
Python (3.4.3)
py
Accepted
18
2940
97
a =[int(i) for i in 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,211,706
s580983792
p04043
u806855121
1557181250
Python
Python (3.4.3)
py
Accepted
17
2940
185
N = list(map(int, input().split())) c = 0 c2 = 0 for n in N: if n == 5: c += 1 elif n == 7: c2 += 1 if c == 2 and c2 == 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,211,707
s051733638
p04043
u255943004
1557177514
Python
Python (3.4.3)
py
Accepted
17
2940
124
A,B,C = map(int,input().split()) if ((A+B+C) ==17) and (A in [5,7]) and (B in [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,211,708
s172145500
p04043
u532966492
1557173808
Python
Python (3.4.3)
py
Accepted
17
2940
52
print("YNEOS"["".join(sorted(input()))!=" 557"::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,211,709
s251692977
p04043
u300637346
1557111088
Python
Python (3.4.3)
py
Accepted
19
3060
117
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,211,710
s532424016
p04043
u977193988
1557101741
Python
Python (3.4.3)
py
Accepted
17
2940
141
A,B,C=map(int,input().split()) iroha=(A,B,C) if iroha==(5,7,5) or iroha==(5,5,7) or iroha==(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,211,711
s308496538
p04043
u549497563
1557093100
Python
Python (3.4.3)
py
Accepted
18
2940
109
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,211,712
s350779361
p04043
u167751176
1557087674
Python
Python (3.4.3)
py
Accepted
18
2940
261
def main(): A, B, C = map(int, input().split()) haiku = False if A == 5: if (B==5 and C==7) or (B==7 and C==5): haiku = True else: if (B==5 and C==5): haiku = True if haiku: 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,211,713
s171573125
p04043
u799000757
1557080226
Python
Python (3.4.3)
py
Accepted
17
2940
116
a=list(map(int,input().split())) a.sort() status=False iroha=[5,5,7] if iroha==a: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,714
s897403946
p04043
u875347753
1557073060
Python
Python (3.4.3)
py
Accepted
17
2940
125
a, b, c = map(int, input().split()) if (a, b, c) 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,211,715
s180614782
p04043
u315703650
1557036031
Python
Python (3.4.3)
py
Accepted
17
2940
119
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,211,716