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
s939458184
p04043
u111525113
1565358984
Python
Python (3.4.3)
py
Accepted
17
2940
104
numbers=sorted(list(map(int,input().split()))) if numbers == [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,417
s128450811
p04043
u016622494
1565353948
Python
Python (3.4.3)
py
Accepted
17
2940
202
a , b , c =map(int,input().split()) if a + b + c ==17: if a != 5: if b == c and b ==5: print("YES") exit() else: if b == 5 or c == 5: 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,211,418
s509809414
p04043
u606146341
1565335411
Python
Python (3.4.3)
py
Accepted
17
2940
110
haiku = list(map(int, input().split())) if sorted(haiku) == [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,419
s401786396
p04043
u898058223
1565316248
Python
Python (3.4.3)
py
Accepted
17
2940
114
a,b,c=map(int,input().split()) s=[a,b,c] if s.count(5)==2 and s.count(7)==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,420
s532308156
p04043
u045909335
1565314738
Python
Python (3.4.3)
py
Accepted
17
2940
198
count_5 = 0 count_7 = 0 for s in input().split(): if s == '5': count_5 += 1 if s == '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,211,421
s457479330
p04043
u665038048
1565309057
Python
Python (3.4.3)
py
Accepted
20
3316
155
from collections import Counter a = map(int, input().split()) a_cnt = Counter(a) if a_cnt[5] == 2 and a_cnt[7] == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,422
s282783729
p04043
u532099150
1565306618
Python
Python (3.4.3)
py
Accepted
21
3316
182
a = list(map(int, input().split())) b = 0 c = 0 for i in a: if i == 5: b += 1 elif i == 7: c += 1 if b == 2 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,423
s476287755
p04043
u280853184
1565270666
Python
Python (2.7.6)
py
Accepted
19
2820
165
# -*- coding: utf-8 -*- # スペース区切りの整数の入力 a, b, c = map(int, raw_input().split()) sum = a+b+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,211,424
s220043130
p04043
u040033078
1565269387
Python
Python (3.4.3)
py
Accepted
18
2940
121
# -*- coding: utf-8 -*- a = input().split() a.sort() b = ['5', '5', '7'] if a == b: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,425
s652190471
p04043
u736729525
1565196163
Python
Python (3.4.3)
py
Accepted
18
2940
114
A = sorted(int(x) for x in input().split()) 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,211,426
s814747517
p04043
u800729321
1565187082
Python
Python (3.4.3)
py
Accepted
17
3064
240
a,b,c = input().split() a = int(a) b = int(b) c = int(c) if(a + b + c) != 17: print("NO") elif(a + b + c) == 17: if(a + b == 10) | (b + c == 10) | (c + a == 10): 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,211,427
s270150204
p04043
u740767776
1565177160
Python
Python (3.4.3)
py
Accepted
17
3060
219
S = list(map(int,input().split())) count5 = 0 count7 = 0 for i in range(3): if S[i] == 5: count5 += 1 elif S[i] == 7: count7 += 1 if count5 ==2 and count7 == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,428
s780996137
p04043
u278463847
1565158575
Python
Python (3.4.3)
py
Accepted
17
2940
104
a = list(map(int, input().split())) print("YES") if a.count(5) == 2 and a.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,429
s600214867
p04043
u558764629
1565145648
Python
Python (3.4.3)
py
Accepted
17
2940
90
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,430
s023048743
p04043
u030246664
1565144441
Python
Python (3.4.3)
py
Accepted
18
2940
222
# -*- coding: utf-8 -*- ABC_str = input() ABC_list = ABC_str.split(' ') ABC_list.sort() if ABC_list[0] == '5' and ABC_list[1] == '5' and ABC_list[2] == '7': print('{}'.format('YES')) else: print('{}'.format('NO'))
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,431
s421838574
p04043
u891518152
1565133117
Python
Python (3.4.3)
py
Accepted
17
2940
120
a = [int(x) for x in input().split()] b = sorted(a) if b[0]==b[1]==5 and b[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,432
s487509300
p04043
u971328381
1565127287
Python
Python (3.4.3)
py
Accepted
17
3064
225
def k(a,i1,i2): if(a==7): i1 = i1+1 if(a==5): i2 = i2+1 return i1,i2 a,b,c=map(int,input().split()) i1=0 i2=0 i1,i2 = k(a,i1,i2) i1,i2 = k(b,i1,i2) i1,i2 = k(c,i1,i2) print('YES' if i1==1 and i2==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,211,433
s147488353
p04043
u680885792
1565117100
Python
Python (3.4.3)
py
Accepted
17
2940
117
import sys args = list(map(int, input().split())) if sorted(args) == [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,434
s260541161
p04043
u462703607
1565116387
Python
Python (3.4.3)
py
Accepted
17
2940
112
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,435
s733805671
p04043
u380524497
1565110562
Python
Python (3.4.3)
py
Accepted
17
2940
106
abc = input() 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,436
s410331678
p04043
u578850957
1565056014
Python
Python (3.4.3)
py
Accepted
17
2940
220
ABC = list(map(int,input().split())) ans = 'NO' count_5 = 0 count_7 = 0 for abc in ABC: if abc==5: count_5 += 1 elif abc==7: count_7 += 1 if count_5==2 and count_7==1: 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,437
s958874819
p04043
u999669171
1565052432
Python
Python (3.4.3)
py
Accepted
17
2940
217
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,438
s056189700
p04043
u797550216
1565038245
Python
Python (3.4.3)
py
Accepted
17
2940
115
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,439
s146030732
p04043
u229959388
1565023722
Python
Python (3.4.3)
py
Accepted
17
2940
109
ans = [5,5,7] a = sorted(list(map(int, input().split()))) if a == 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,211,440
s388862465
p04043
u732607917
1565017468
Python
Python (3.4.3)
py
Accepted
17
2940
89
Haiku=[5,5,7] A=sorted(list(map(int,input().split()))) print("YES" if A==Haiku 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,441
s041562723
p04043
u076498277
1565017354
Python
Python (3.4.3)
py
Accepted
17
2940
124
Iroha = list(map(int, 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,211,442
s511550367
p04043
u600880955
1565014493
Python
Python (3.4.3)
py
Accepted
17
2940
102
ls = list(map(int, input().split())) ls.sort() if ls == [5, 5, 7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,443
s861559173
p04043
u200785298
1565012897
Python
Python (3.4.3)
py
Accepted
17
3064
615
#!/usr/bin/env python3 import sys sys.setrecursionlimit(300000) YES = "YES" # type: str NO = "NO" # type: str def solve(A: int, B: int, C: int): ret = NO if min(A, B, C) == 5 and max(A, B, C) == 7 and sum([A, B, C]) == 17: ret = YES print(ret) return def main(): def iterate_tokens(): ...
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,444
s740682872
p04043
u641722141
1564977217
Python
Python (3.4.3)
py
Accepted
17
2940
122
lst2 = list(map(int, input().split())) if lst2.count(5) == 2 and lst2.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,445
s353641291
p04043
u268291479
1564974658
Python
Python (3.4.3)
py
Accepted
17
2940
107
l = list(map(int, input().split())) out = "YES" if l.count(5) == 2 and l.count(7) == 1 else "NO" print(out)
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,446
s416102356
p04043
u641722141
1564966446
Python
Python (3.4.3)
py
Accepted
17
2940
116
lst = list(map(int, input().split())) if lst.count(5) == 2 and lst.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,447
s853679145
p04043
u242518667
1564966351
Python
Python (3.4.3)
py
Accepted
17
2940
90
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,448
s937795895
p04043
u084324798
1564963339
Python
Python (3.4.3)
py
Accepted
18
2940
131
# ABC042 A p_length = input().split() if p_length.count("7") == 1 and p_length.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,449
s361251658
p04043
u539005641
1564960388
Python
Python (3.4.3)
py
Accepted
17
2940
104
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,450
s584698958
p04043
u096616343
1564957557
Python
Python (3.4.3)
py
Accepted
17
2940
95
A = list(map(int,input().split())) A.sort() if A == [5,5,7]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,451
s154688717
p04043
u057308539
1564946771
Python
Python (3.4.3)
py
Accepted
17
2940
145
A,B,C=map(int,input().split()) a=str(A) b=str(B) c=str(C) s=a+b+c if s.count("5")==2 and s.count("7")==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,452
s140313204
p04043
u457554982
1564925297
Python
Python (3.4.3)
py
Accepted
17
2940
112
[a,b,c]=map(int, input().split()) list1=[a,b,c] list1.sort() if list1==[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,453
s332275659
p04043
u498397607
1564894250
Python
Python (3.4.3)
py
Accepted
17
2940
105
a, b, c = map(int, input().split()) if sorted((a, b, c)) == [5, 5, 7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,454
s431153984
p04043
u498397607
1564892702
Python
Python (3.4.3)
py
Accepted
18
2940
105
a, b, c = map(int, input().split()) if sorted((a, b, c)) == [5, 5, 7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,455
s814857067
p04043
u358180064
1564884543
Python
Python (2.7.6)
py
Accepted
10
2568
273
cnt5 = 0 cnt7 = 0 def check57(m): global cnt5 global cnt7 if m == 5: cnt5 += 1 elif m == 7: cnt7 += 1 a, b, c = map(int, raw_input().split()) check57(a) check57(b) check57(c) 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,211,456
s315543020
p04043
u075367840
1564882314
Python
Python (3.4.3)
py
Accepted
17
2940
107
a = sorted(map(int, input().split())) ans = [5, 5, 7] if ans == 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,457
s341901135
p04043
u009043168
1564878967
Python
Python (3.4.3)
py
Accepted
17
3060
187
a, b, c = map(int, input().split()) if [a, b, c] == [7,5,5]: print('YES') elif [a, b, c] == [5,7,5]: print('YES') elif [a, b, c] == [5,5,7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,458
s171370474
p04043
u904804404
1564872445
Python
Python (3.4.3)
py
Accepted
18
2940
88
if [5,5,7] == list(map(int,sorted(input().split()))): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,459
s617051380
p04043
u979418645
1564853262
Python
Python (3.4.3)
py
Accepted
17
2940
162
A,B,C=list(map(int, input().split())) haiku=[A,B,C] five=haiku.count(5) seven=haiku.count(7) 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,211,460
s403557372
p04043
u257541375
1564811304
Python
Python (3.4.3)
py
Accepted
17
2940
106
array = [int(i) for i in input().split()] if sorted(array) == [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,461
s879371618
p04043
u361841553
1564784211
Python
Python (3.4.3)
py
Accepted
18
2940
120
x = list(map(int, input().split())) x.sort() if x[0] == 5 and x[1] == 5 and x[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,462
s893564460
p04043
u893931781
1564770239
Python
Python (3.4.3)
py
Accepted
17
2940
206
s=list(map(int,input().split())) fivecon=0 sevencon=0 for i in range(3): if s[i]==5: fivecon+=1 elif s[i]==7: sevencon+=1 if fivecon==2 and sevencon==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,463
s080227746
p04043
u844123804
1564767187
Python
Python (3.4.3)
py
Accepted
17
2940
98
num = 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,464
s651246583
p04043
u973067113
1564755076
Python
Python (3.4.3)
py
Accepted
17
2940
111
abc = list(map(int, input().split())) print("YES") if abc.count(5) == 2 and abc.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,465
s579591082
p04043
u416258526
1564733960
Python
Python (3.4.3)
py
Accepted
17
2940
124
num_list = list(input().split()) if num_list.count("5")==2 and num_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,211,466
s995142674
p04043
u186478631
1564710567
Python
Python (3.4.3)
py
Accepted
17
2940
103
t = list(map(int, input().split())) s = sorted(t) if s == [5, 5, 7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,467
s534298012
p04043
u216624440
1564619349
Python
Python (3.4.3)
py
Accepted
17
2940
107
a, b, c = list(map(int, input().split(' '))) if (a + b + c) == 17: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,468
s670973319
p04043
u216624440
1564619322
Python
Python (3.4.3)
py
Accepted
17
2940
107
a, b, c = list(map(int, input().split(' '))) if (a + b + c) == 17: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,469
s272461745
p04043
u003501233
1564568900
Python
Python (3.4.3)
py
Accepted
17
2940
102
x=input() if x.count("7") == 1: if x.count("5") == 2: print("YES") exit(0) print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,470
s398960766
p04043
u870906509
1564514024
Python
Python (3.4.3)
py
Accepted
17
2940
208
a,b,c = map(int,input().split()) if a == 5 and b == 7 and c ==5: print('YES') elif a == 5 and b == 5 and c == 7: 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,471
s657570576
p04043
u272754211
1564502312
Python
Python (3.4.3)
py
Accepted
17
2940
111
s = input() if s.count('7') == 1: if s.count('5') == 2: print('YES') exit(0) print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,472
s647178538
p04043
u982594421
1564478644
Python
Python (3.4.3)
py
Accepted
21
3316
138
from collections import Counter abc = input().rstrip() c = Counter(abc) if c['5'] == 2 and c['7'] == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,473
s404542498
p04043
u134712256
1564459416
Python
Python (3.4.3)
py
Accepted
17
2940
125
S = input() S0 = int(S[0]) S1 = int(S[2]) S2 = int(S[4]) if (S0*S1*S2)%(5*7*5)==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,474
s700798483
p04043
u385309449
1564418691
Python
Python (3.4.3)
py
Accepted
17
2940
102
x = list(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,475
s251416779
p04043
u814715203
1564348575
Python
Python (3.4.3)
py
Accepted
20
2940
104
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,476
s871100114
p04043
u514894322
1564325425
Python
Python (3.4.3)
py
Accepted
17
2940
142
numlist = list(map(int,input().split())) if max(numlist) == 7 and min(numlist) == 5 and sum(numlist) == 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,477
s551213820
p04043
u516242950
1564188927
Python
Python (3.4.3)
py
Accepted
17
2940
113
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,478
s414879973
p04043
u159723084
1564171468
Python
Python (3.4.3)
py
Accepted
17
3060
247
# -*- coding: utf-8 -*- """ Created on Fri Jul 26 03:56:38 2019 @author: matsui """ A,B,C=map(int,input().split()) ans=False L=[A,B,C] if 7 in L: L.remove(7) if L == [5,5]: ans=True if 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,211,479
s010846630
p04043
u263830634
1564094206
Python
Python (3.4.3)
py
Accepted
17
2940
131
ABC = list(map(int, input().split())) ABC.sort() if ABC[0] == ABC[1] == 5 and ABC[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,480
s765624281
p04043
u440773576
1564090341
Python
Python (3.4.3)
py
Accepted
17
2940
136
import sys abc = [int(x) for x in sys.stdin.readline().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,481
s957137475
p04043
u027929618
1564040332
Python
Python (3.4.3)
py
Accepted
17
2940
121
n = input().split() result = 'NO' if n.count('5') == 2 and n.count('7') == 1: result = 'YES' print("{}".format(result))
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,482
s021896599
p04043
u324549724
1564037243
Python
Python (3.4.3)
py
Accepted
17
2940
129
a = list(map(int, input().split())) a = sorted(a) if (a[0] == 5) & (a[1] == 5) & (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,483
s897908628
p04043
u839270538
1564005097
Python
Python (3.4.3)
py
Accepted
17
2940
100
x = [int(x) for x in 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,484
s541910829
p04043
u201660334
1564001352
Python
Python (3.4.3)
py
Accepted
17
2940
104
num = list(map(int, input().split())) num.sort() if num == [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,485
s024876898
p04043
u278356323
1563989681
Python
Python (3.4.3)
py
Accepted
17
2940
174
#ABC042a import sys input = sys.stdin.readline sys.setrecursionlimit(10**6) 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,486
s585417317
p04043
u759412327
1563948136
Python
Python (3.4.3)
py
Accepted
17
2940
93
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,487
s493797891
p04043
u075497927
1563936976
Python
Python (3.4.3)
py
Accepted
17
2940
138
a = input() if a=='7 5 5': print ('YES') elif a=='5 7 5': print ('YES') elif 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,488
s185110280
p04043
u075497927
1563936707
Python
Python (3.4.3)
py
Accepted
18
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,489
s330191129
p04043
u075497927
1563936395
Python
Python (3.4.3)
py
Accepted
17
2940
96
a,b,c = list(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,490
s018159157
p04043
u602677143
1563908965
Python
Python (3.4.3)
py
Accepted
17
2940
91
s = input() if s.count("7") == 1 and 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,211,491
s961389918
p04043
u408620326
1563844946
Python
Python (3.4.3)
py
Accepted
17
2940
90
ABC=input() 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,492
s264188604
p04043
u823609854
1563808656
Python
Python (3.4.3)
py
Accepted
17
2940
121
lst = list(map(int, input().split(' '))) if 5 in lst and 7 in lst and sum(lst) == 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,493
s203058807
p04043
u114366889
1563796869
Python
Python (3.4.3)
py
Accepted
17
2940
103
lism = list(map(int,input().split())) lism.sort() if lism == [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,494
s958620467
p04043
u178888901
1563715908
Python
Python (3.4.3)
py
Accepted
17
2940
69
a,b,c = map(int,input().split()) print("YES" if a*b*c==175 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,495
s501984993
p04043
u083960235
1563670652
Python
Python (3.4.3)
py
Accepted
57
5712
780
import sys, re, os from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from itertools import permutations, combinations, product, accumulate from operator import itemgetter, mul from copy import deepcopy from string import ascii_lowercase, ascii_upper...
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,496
s459538629
p04043
u921773161
1563664553
Python
Python (3.4.3)
py
Accepted
17
2940
108
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,497
s463483341
p04043
u277448038
1563652321
Python
Python (3.4.3)
py
Accepted
17
3060
242
a, b, c = map(int, input().split()) if a+b+c ==17: if a ==5 and b ==7: print("YES") elif a ==7 and b ==5: print("YES") elif 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,211,498
s802331206
p04043
u502028059
1563650589
Python
Python (3.4.3)
py
Accepted
18
2940
139
a, b, c = input().split() abc = sorted([a, b, c]) ans = 'NO' if abc[0] == '5' and abc[1] == '5' and abc[2] == '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,499
s021339327
p04043
u374974389
1563633613
Python
Python (3.4.3)
py
Accepted
17
2940
143
a = list(map(int,input().split())) count = a.count(5) count2 = a.count(7) if count == 2 and count2 == 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,500
s498526856
p04043
u088426094
1563610867
Python
Python (3.4.3)
py
Accepted
17
2940
90
s=input() if s=='5 5 7' or s=='5 7 5' or s=='7 5 5': print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,501
s142866422
p04043
u148781101
1563605484
Python
Python (3.4.3)
py
Accepted
17
2940
91
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,502
s401091458
p04043
u828766688
1563501799
Python
Python (3.4.3)
py
Accepted
17
2940
207
ABC = list(map(int,input().split())) dic = {} dic[5] = 0 dic[7] = 0 for i in ABC: if i == 5 or i == 7: dic[i] += 1 if dic[5] == 2 and dic[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,503
s306291667
p04043
u707870100
1563492879
Python
Python (3.4.3)
py
Accepted
18
3060
243
# -*- coding: utf-8 -*- tmp = input().split() hoge = list(map(lambda a: int(a), tmp)) numf=0 nums=0 for i in range(0,3): if hoge[i]==5: numf +=1 if hoge[i]==7: nums +=1 if (numf == 2) and (nums==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,504
s901847742
p04043
u591016708
1563479896
Python
Python (3.4.3)
py
Accepted
17
2940
135
input = input().split() count = 0 for num in input: if num == "7": count += 1 if count == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,505
s767764644
p04043
u087129172
1563427530
Python
Python (3.4.3)
py
Accepted
17
2940
269
# -*- coding: utf-8 -*- input_list = input().split() cnt7 = 0 cnt5 = 0 for n in input_list: if int(n) == 7: cnt7 += 1 elif int(n) == 5: cnt5 += 1 else: continue if cnt7 == 1 and cnt5 == 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,506
s632287158
p04043
u797016134
1563426301
Python
Python (3.4.3)
py
Accepted
18
2940
74
if input().split().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,507
s563239200
p04043
u129750996
1563422647
Python
Python (3.4.3)
py
Accepted
17
2940
167
A = list(map(int, input().split())) cnt = 0 for i in A: if i != 7 and i !=5: cnt = 5 elif i == 7: cnt += 1 if cnt == 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,508
s720908913
p04043
u328364772
1563399985
Python
Python (3.4.3)
py
Accepted
17
2940
110
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,509
s782322489
p04043
u948524308
1563396457
Python
Python (3.4.3)
py
Accepted
17
3060
361
s = input().split() count5 = 0 count7 = 0 if s[0] == "5": count5 = count5 + 1 if s[0] == "7": count7 = count7 + 1 if s[1] == "5": count5 = count5 + 1 if s[1] == "7": count7 = count7 + 1 if s[2] == "5": count5 = count5 + 1 if s[2] == "7": count7 = count7 + 1 if count5 == 2 and count7 == 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,211,510
s359849372
p04043
u031146664
1563396365
Python
Python (3.4.3)
py
Accepted
18
2940
103
a = ["5","5","7"] b = list(str(input()).replace(" ","")) b.sort() print("YES") if a==b else print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,511
s312109187
p04043
u369338402
1563326822
Python
Python (3.4.3)
py
Accepted
17
2940
82
a=input().split() a.sort() if a==['5','5','7']: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,512
s441368922
p04043
u374802266
1563319293
Python
Python (3.4.3)
py
Accepted
17
3060
226
A=list(map(int,input().split())) a,b,c,d,e=A[0],A[1],A[2],0,0 if a==5: d+=1 if b==5: d+=1 if c==5: d+=1 if a==7: e+=1 if b==7: e+=1 if c==7: e+=1 if d==2 and e==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,513
s299413980
p04043
u537782349
1563299480
Python
Python (3.4.3)
py
Accepted
17
2940
212
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,514
s182544552
p04043
u938500299
1563248083
Python
Python (3.4.3)
py
Accepted
18
2940
92
n = input() if (n.count("7") == 1 and n.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,515
s046462709
p04043
u201234972
1563239803
Python
Python (3.4.3)
py
Accepted
18
2940
263
#import sys #input = sys.stdin.readline def main(): A = list( map( int, input().split())) C = [0]*11 for a in A: C[a] += 1 if C[5] == 2 and C[7] == 1: print("YES") else: print("NO") if __name__ == '__main__': main()
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,211,516