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
s923774238
p04043
u778348725
1590889719
Python
Python (3.4.3)
py
Accepted
17
2940
341
#空白区切りで複数の値をリストとして入力 input_list = list(map(int,input().split())) #input_listの値を昇順に並び替え sort_list = sorted(input_list) if(sum(sort_list) == 17): if(sort_list[0]==5 and sort_list[1]==5 and sort_list[2]==7): print("YES") else: print("NO") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,917
s639541606
p04043
u611090896
1590863407
Python
Python (3.4.3)
py
Accepted
17
2940
91
ABC = input().split() print("YES" if ABC.count("5") == 2 and ABC.count("7") == 1 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,918
s602071278
p04043
u935077683
1590853733
Python
Python (3.4.3)
py
Accepted
17
2940
65
print("YES" if input() in ("5 5 7", "5 7 5", "7 5 5") else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,919
s301386345
p04043
u924845460
1590844693
Python
Python (3.4.3)
py
Accepted
17
2940
106
a = list(map(int, input().split())) if a.count(5)==2 and a.count(7)==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,920
s942972471
p04043
u506085195
1590812344
Python
Python (3.4.3)
py
Accepted
17
2940
200
A, B, C = map(int, input().split()) if (A == 5 or A == 7) & (B == 5 or B == 7) & (C == 5 or C == 7): if (A + B + C) == 17: print('YES') else: print('NO') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,921
s548846663
p04043
u479937725
1590804110
Python
Python (3.4.3)
py
Accepted
17
2940
90
L = sorted(list(map(int,input().split()))) if L[1]==5: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,922
s357473185
p04043
u422977492
1590771439
Python
Python (3.4.3)
py
Accepted
17
2940
104
l=list(map(int,input().split())) if(l.count(5)==2 and l.count(7)==1): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,923
s015818386
p04043
u842028864
1590770098
Python
Python (3.4.3)
py
Accepted
18
2940
73
a = input() print("YES" if a.count("5")==2 and a.count("7")==1 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,924
s278121114
p04043
u934119021
1590763465
Python
Python (3.4.3)
py
Accepted
17
2940
120
s = input() s = s.split(' ') s.sort() if s[0] == '5' and s[1] == '5' and s[2] == '7': print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,925
s289971442
p04043
u445509700
1590760973
Python
Python (3.4.3)
py
Accepted
17
3060
215
abc = input().split() d = abc[0] e = abc[1] f = abc[2] g = d + e + f g = int(g) a = 575 b = 557 c = 755 if g == a: print("YES") elif g == b: print("YES") elif g == 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,209,926
s886022868
p04043
u922487073
1590731051
Python
Python (3.4.3)
py
Accepted
17
2940
151
f=2 s=1 li = map(int,input().split()) for i in li: if i == 5: f-=1 if i == 7: s-=1 if f == 0 and s == 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,209,927
s207223389
p04043
u036190609
1590718466
Python
Python (3.4.3)
py
Accepted
17
2940
121
iroha = list(map(int, input().split())) mylist = sorted(iroha) if mylist == [5, 5, 7]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,928
s509611609
p04043
u203843959
1590712578
Python
Python (3.4.3)
py
Accepted
17
2940
181
A,B,C=map(int,input().split()) if A==5 and B==5 and C==7: print("YES") elif A==5 and B==7 and C==5: print("YES") elif A==7 and B==5 and C==5: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,929
s465211673
p04043
u767545760
1590710712
Python
Python (3.4.3)
py
Accepted
17
3064
110
N = list(map(int, input().split())) if N.count(5) == 2 and N.count(7) == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,930
s132531808
p04043
u435721973
1590690091
Python
Python (3.4.3)
py
Accepted
18
2940
130
nums = list(map(int, input().split(" "))) if sum(nums) == 17 and (5 in nums) and (7 in nums): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,931
s240366648
p04043
u397953026
1590687620
Python
Python (3.4.3)
py
Accepted
17
2940
145
a,b,c = map(int,input().split()) if ( (a+b+c ==17) and (a==5 or b==5 or c==5) and (a==7 or b==7 or c==7)): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,932
s628783639
p04043
u816265237
1590686898
Python
Python (3.4.3)
py
Accepted
18
2940
121
ln = sorted(list(map(int, input().split()))) if ln[0] == ln[1] ==5 and ln[2] ==7: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,933
s121153276
p04043
u377894672
1590673605
Python
Python (3.4.3)
py
Accepted
17
2940
120
abc = list(map(int, input().split())) if abc.count(5) == 2 and abc.count(7) == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,934
s794105453
p04043
u924845460
1590643619
Python
Python (3.4.3)
py
Accepted
17
2940
121
myList = list(map(int, input().split())) if myList.count(5)==2 and myList.count(7)==1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,935
s813813634
p04043
u502666845
1590635041
Python
Python (3.4.3)
py
Accepted
17
2940
110
N = list(map(int, input().split())) if N.count(5) == 2 and N.count(7) == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,936
s443101216
p04043
u036190609
1590631464
Python
Python (3.4.3)
py
Accepted
17
2940
108
s = list(map(int,(input().split()))) s = sorted(s) 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,209,937
s220905398
p04043
u600261652
1590596920
Python
Python (3.4.3)
py
Accepted
17
2940
85
A = input().split() print("YES" if A.count("5") == 2 and A.count("7") == 1 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,938
s994325208
p04043
u497952650
1590586287
Python
Python (3.4.3)
py
Accepted
17
2940
99
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,209,939
s660889628
p04043
u591182368
1590549712
Python
Python (3.4.3)
py
Accepted
17
2940
243
import sys import math sys.setrecursionlimit(10 ** 8) input = sys.stdin.readline def main(): s = list(map(int,input().split())) if sum(s) == 17: 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,209,940
s200114757
p04043
u038956510
1590486436
Python
Python (3.4.3)
py
Accepted
17
2940
244
user_input = list(map(int, input().split())) five = 0 seven = 0 for i in range(3): if user_input[i] == 5: five += 1 elif user_input[i] == 7: seven += 1 if five == 2 and seven == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,941
s434398734
p04043
u243159381
1590462892
Python
Python (3.4.3)
py
Accepted
17
2940
180
a,b,c=(int(x) for x in 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,209,942
s378291316
p04043
u588163461
1590459695
Python
Python (3.4.3)
py
Accepted
17
2940
228
#!/usr/bin/env python3 def main(): input_list = input().split() if input_list.count("5") == 2 and input_list.count("7") == 1: print("YES") else: print("NO") if __name__ == "__main__": main()
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,943
s741319077
p04043
u073852194
1590458083
Python
Python (3.4.3)
py
Accepted
17
2940
97
I = sorted((map(int, input().split()))) if I == [5, 5, 7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,944
s016871871
p04043
u883866798
1590456681
Python
Python (3.4.3)
py
Accepted
18
2940
198
input_575 = list(map(int, input().split())) li_575 = [5, 7, 5] for i in input_575: if i in li_575: li_575.pop(li_575.index(i)) if len(li_575) == 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,209,945
s697794647
p04043
u095844416
1590456350
Python
Python (3.4.3)
py
Accepted
17
2940
81
a,b,c=map(int,input().split()) if (a+b+c==17): print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,946
s827493836
p04043
u552738814
1590455328
Python
Python (3.4.3)
py
Accepted
17
2940
175
list = list(map(int,input().split())) if list == [5,5,7]: print("YES") elif list == [5,7,5]: print("YES") elif list == [7,5,5]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,947
s157171132
p04043
u594956556
1590449667
Python
Python (3.4.3)
py
Accepted
17
2940
132
abc = list(map(int, input().split())) abc.sort() if (abc[0]==5) and (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,209,948
s769786498
p04043
u028014940
1590448466
Python
Python (3.4.3)
py
Accepted
17
2940
110
l=list(map(int,input().split())) if l.count(5)==2 and l.count(7)==1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,949
s577126022
p04043
u540290227
1590413987
Python
Python (3.4.3)
py
Accepted
17
2940
162
num = list(map(int, input().split())) result = 'YES' try: num.remove(5) num.remove(7) num.remove(5) except: pass result = 'NO' print(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,209,950
s174313238
p04043
u143051858
1590412252
Python
Python (3.4.3)
py
Accepted
17
3060
322
a,b,c = map(int,input().split()) if a == 7: if b == 5 and c == 5: print('YES') else: print('NO') elif b == 7: if a == 5 and c == 5: print('YES') else: print('NO') elif c == 7: if a == 5 and b == 5: print('YES') else: print('NO') else: print('NO...
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,951
s241614624
p04043
u443736699
1590377261
Python
Python (3.4.3)
py
Accepted
17
2940
185
l = list(map(int, input().split())) five = 0 seven = 0 for i in l: if i ==5: five += 1 elif i ==7: seven += 1 if five ==2 and seven ==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,952
s939017588
p04043
u443736699
1590375661
Python
Python (3.4.3)
py
Accepted
17
2940
187
l = list(map(int, input().split())) five = 0 seven = 0 for i in l: if i == 5: five += 1 elif i == 7: seven += 1 if five ==2 and seven ==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,953
s350845870
p04043
u634873566
1590373505
Python
Python (3.4.3)
py
Accepted
21
3316
148
from collections import Counter ns = Counter([int(i) for i in input().split()]) if ns[5] == 2 and ns[7] == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,954
s109427550
p04043
u085530099
1590373182
Python
Python (3.4.3)
py
Accepted
18
2940
173
x = input().split() five = 0 seven = 0 for i in x: if i == '5': five += 1 if i == '7': seven += 1 if five == 2 and seven == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,955
s232249999
p04043
u347116006
1590369907
Python
Python (3.4.3)
py
Accepted
17
2940
132
S = input().split() S = [int(x) for x in S] N = S.count(5) M = S.count(7) if N==2 and M == 1: print("YES\n") else: print("NO\n")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,956
s259336416
p04043
u312482829
1590367478
Python
Python (3.4.3)
py
Accepted
17
2940
111
s = list(map(int, input().split())) if s.count(5) == 2 and s.count(7) == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,957
s061452892
p04043
u247211039
1590343849
Python
Python (3.4.3)
py
Accepted
18
2940
113
A, B, C, = map(int, input().split()) x = [A, B, C] 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,209,958
s581317367
p04043
u989147806
1590292613
Python
Python (3.4.3)
py
Accepted
18
2940
139
if __name__ == '__main__': haiku = input() if haiku.count('5') == 2 and haiku.count('7') == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,959
s353057814
p04043
u332793228
1590286627
Python
Python (3.4.3)
py
Accepted
17
2940
79
n=input().split() print("YES" if n.count("5")==2 and n.count("7")==1 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,960
s178636543
p04043
u956547804
1590270913
Python
Python (3.4.3)
py
Accepted
17
2940
97
a=list(map(int,input().split())) a.sort() if a==[5,5,7]: print('YES') else : print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,961
s875557108
p04043
u854992222
1590263316
Python
Python (3.4.3)
py
Accepted
17
2940
110
n = list(map(int, input().split())) if n.count(5) == 2 and n.count(7) == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,962
s153439042
p04043
u537976628
1590262520
Python
Python (3.4.3)
py
Accepted
17
3060
209
import itertools str_list = list(input().split()) a = list(itertools.permutations(str_list, 3)) tanka_list = ('5', '7', '5') for s in a: if tanka_list == s: print('YES') exit() print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,963
s297526678
p04043
u763396655
1590252267
Python
Python (3.4.3)
py
Accepted
22
3572
136
from functools import reduce from operator import mul s = reduce(mul, map(int, input().split(' '))) print('YES' if s == 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,209,964
s439806490
p04043
u557659226
1590220558
Python
Python (3.4.3)
py
Accepted
17
2940
132
nums = list(map(int,input().rstrip().split())) if 5 in nums and 7 in nums and sum(nums)==17: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,965
s614535198
p04043
u879693268
1590153511
Python
Python (3.4.3)
py
Accepted
16
2940
107
a=list(map(int,input().split())) if a.count(5)==2 and a.count(7)==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,966
s015381282
p04043
u596668473
1590128071
Python
Python (3.4.3)
py
Accepted
17
2940
102
a = list(map(int,input().split(" "))) b = [5,5,7] a.sort() if b == 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,209,967
s717110247
p04043
u996564551
1590121837
Python
Python (3.4.3)
py
Accepted
17
2940
240
a = [] a = input().split(' ') if '5' in a: a.remove('5') if '7' in a: a.remove('7') if '5' in a: print('YES') else: print('NO') else: print('NO') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,968
s679187246
p04043
u332793228
1590120095
Python
Python (3.4.3)
py
Accepted
16
2940
92
l=sorted(list(map(int,input().split()))) print("YES" if l[0]==l[1]==5 and l[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,209,969
s767591597
p04043
u027977105
1590117233
Python
Python (3.4.3)
py
Accepted
17
2940
199
a, b, c = map(int, input().split()) def iroha(a,b,c): if (a==5 or a==7) and (b==5 or b==7) and (c==5 or c==7) and a+b+c==17: return "YES" else: return "NO" print(iroha(a,b,c))
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,970
s923400329
p04043
u770987902
1590111991
Python
Python (3.4.3)
py
Accepted
17
2940
190
a = [int(x) for x in input().split()] five = 0 seven = 0 for i in a: if i == 5: five += 1 elif i == 7: seven += 1 if five == 2 and seven == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,971
s026757829
p04043
u159717036
1590109187
Python
Python (3.4.3)
py
Accepted
17
2940
100
a=list(map(int,input().split())) a.sort() if a==[5,5,7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,972
s967534875
p04043
u112007848
1590068032
Python
Python (3.4.3)
py
Accepted
17
2940
86
print("YES") if sorted(list(map(int, input().split(" ")))) == [5,5,7] else print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,973
s269381019
p04043
u294721290
1590030168
Python
Python (3.4.3)
py
Accepted
17
2940
95
a = input().split() b = sorted(a) if b == ['5','5','7']: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,974
s515250931
p04043
u294721290
1590030006
Python
Python (3.4.3)
py
Accepted
18
2940
106
a = list(map(int,input().split())) b = sorted(a) print('YES' if b[0]==5 and b[1]==5 and b[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,209,975
s873888403
p04043
u941047297
1590024060
Python
Python (3.4.3)
py
Accepted
17
2940
130
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,209,976
s612330449
p04043
u112364985
1590019616
Python
Python (3.4.3)
py
Accepted
17
2940
103
x=list(map(int,input().split())) if x.count(5)==2 and x.count(7)==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,977
s952178521
p04043
u112364985
1590019439
Python
Python (3.4.3)
py
Accepted
17
2940
154
a,b,c=map(int,input().split()) if (a==5 and b==5 and c==7) or (b==5 and c==5 and a==7) or (c==5 and 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,209,978
s404119686
p04043
u850582941
1590011091
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,209,979
s077787972
p04043
u689835643
1590004283
Python
Python (3.4.3)
py
Accepted
17
2940
115
x = list(map(int, input().split())) if x.count(5) == 2 and x.count(7) == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,980
s489690039
p04043
u737840172
1590000330
Python
Python (3.4.3)
py
Accepted
17
2940
199
# Vicfred # https://atcoder.jp/contests/abc042/tasks/abc042_a # implementation, sorting ins = list(map(int, input().split())) ins.sort() if ins == [5, 5, 7]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,981
s297882327
p04043
u816070625
1589952505
Python
Python (3.4.3)
py
Accepted
17
3060
300
A,B,C=map(int,input().split()) if A==5: if B==5: if C==7: print("YES") else: print("NO") elif B==7: if C==5: print("YES") else: print("NO") else: print("NO") elif A==7: if B==5 and C==5: print("YES") else: print("NO") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,982
s681100626
p04043
u345098334
1589949951
Python
Python (3.4.3)
py
Accepted
17
2940
130
list1 = input().split() ans = int(list1[0]) * int(list1[1]) * int(list1[2]) if ans == 5*5*7: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,983
s409982184
p04043
u822179469
1589939182
Python
Python (3.4.3)
py
Accepted
17
2940
113
d = list(map(int,input().split())) if d.count(5)==2 and d.count(7) == 1 : print("YES") else : print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,984
s245657814
p04043
u871980676
1589927478
Python
Python (3.4.3)
py
Accepted
17
2940
97
t=list(map(int,input().split())) if sorted(t) == [5,5,7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,985
s914778811
p04043
u950169573
1589916956
Python
Python (3.4.3)
py
Accepted
18
2940
196
s = list(map(int, input().split())) tar = [5,7,5] for a in s: for b in tar: if a == b: tar.remove(b) break if tar == []: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,986
s543046894
p04043
u110859855
1589912546
Python
Python (3.4.3)
py
Accepted
17
2940
103
num = input().split() if num.count('5') == 2 and num.count('7'): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,987
s652201572
p04043
u728611988
1589912528
Python
Python (3.4.3)
py
Accepted
17
2940
129
x = list(map(int, input().split())) y = sorted(x) if y[0] == 5 and y[1] == 5 and y[2] ==7: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,988
s605170123
p04043
u578722729
1589853200
Python
Python (3.4.3)
py
Accepted
17
2940
150
ABC=input().split() five_count=ABC.count("5") seven_count=ABC.count("7") if five_count == 2 and seven_count == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,989
s746230501
p04043
u646792990
1589828118
Python
Python (3.4.3)
py
Accepted
18
2940
187
abc = map(int, input().split()) c5 = 0 c7 = 0 for x in abc: if x == 5: c5 += 1 if x == 7: c7 += 1 if c5 == 2 and c7 == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,990
s435702415
p04043
u888100977
1589803370
Python
Python (3.4.3)
py
Accepted
17
2940
173
l = list(map(int, input().split())) n5 = 0 n7 = 0 for i in range(3): if l[i] == 5: n5 += 1 elif l[i] == 7: n7 += 1 print('YES' if n5 == 2 and n7 == 1 else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,991
s564785962
p04043
u497326082
1589773083
Python
Python (3.4.3)
py
Accepted
17
2940
85
l=list(map(int,input().split())) print("YES" if l.count(5) == 2 and 7 in l else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,992
s224565616
p04043
u497326082
1589772831
Python
Python (3.4.3)
py
Accepted
17
2940
102
l=list(map(int,input().split())) if l.count(5) == 2 and 7 in l: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,993
s764794055
p04043
u456394640
1589766689
Python
Python (3.4.3)
py
Accepted
17
2940
122
nums = [int(e) for e in input().split()] if nums.count(5) == 2 and nums.count(7) == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,994
s748779358
p04043
u193657135
1589757023
Python
Python (3.4.3)
py
Accepted
17
2940
134
A,B,C = map(int, input().split()) ABC = [A,B,C] # print(sorted(ABC)) if sorted(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,209,995
s376243547
p04043
u737758066
1589751457
Python
Python (3.4.3)
py
Accepted
17
2940
110
l = list(input().split()) if l.count('5') == 2 and l.count('7') == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,996
s511064891
p04043
u038021590
1589743197
Python
Python (3.4.3)
py
Accepted
18
2940
130
A = list(map(int, input().split())) A.sort() if (A[0] == 5) and (A[1] == 5) and(A[2] == 7): print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,997
s843611418
p04043
u255595446
1589712801
Python
Python (3.4.3)
py
Accepted
17
2940
253
import sys sys.setrecursionlimit(10**6) input = lambda: sys.stdin.readline().rstrip() # N = list(map(int,input().split())) N = list(map(int,input().split())) N.sort() if sum(N)==17 and int(N[0]) == int(N[1]) == 5: print('YES') else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,998
s935682311
p04043
u265690068
1589693071
Python
Python (3.4.3)
py
Accepted
17
2940
126
iroha = input() iroha = iroha.split(" ") iroha = sorted(iroha) if iroha == ["5", "5", "7"]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,209,999
s196682490
p04043
u860002137
1589692626
Python
Python (3.4.3)
py
Accepted
18
2940
110
A, B, C = map(int, input().split()) li = [A, B, C] li.sort() print("YES") if li == [5, 5, 7] else print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,000
s931307079
p04043
u673926998
1589690805
Python
Python (3.4.3)
py
Accepted
17
3060
268
a,b,c=map(int,input().split()) if(a==5): if(b==7 and c==5): print("YES") elif(b==5 and c==7): print("YES") else: print("NO") elif(a==7): if(b==5 and c==5): print("YES") else: print("NO") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,001
s338340971
p04043
u321804710
1589690055
Python
Python (3.4.3)
py
Accepted
17
2940
113
A= list(map(int, input().split())) if A.count(5) == 2 and A.count(7) == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,002
s950655052
p04043
u958409801
1589685749
Python
Python (3.4.3)
py
Accepted
17
2940
128
abc = [i for i in map(int, input().split())] if abc.count(5) == 2 and abc.count(7) == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,003
s269613527
p04043
u178963077
1589684959
Python
Python (3.4.3)
py
Accepted
17
2940
112
a = list(map(int, input().split())) if sum(a) == 17 and a.count(5) == 2: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,004
s345778134
p04043
u670334135
1589669050
Python
Python (3.4.3)
py
Accepted
17
2940
126
iroha = input() iroha = iroha.split(" ") iroha = sorted(iroha) if iroha == ["5", "5", "7"]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,005
s622762698
p04043
u760831084
1589660386
Python
Python (3.4.3)
py
Accepted
17
2940
109
a = list(input().split()) if a.count('5') == 2 and a.count('7') == 1: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,006
s782905802
p04043
u422272120
1589657095
Python
Python (3.4.3)
py
Accepted
17
2940
91
l = sorted(list(map(int,input().split()))) print ("YES") if l == [5,5,7] else print ("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,007
s424606359
p04043
u896847891
1589647684
Python
Python (3.4.3)
py
Accepted
17
2940
78
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,210,008
s285600182
p04043
u480300350
1589609987
Python
Python (3.4.3)
py
Accepted
18
3064
2,948
#!/usr/bin/env python3 import sys # import math # from string import ascii_lowercase, ascii_upper_case, ascii_letters, digits, hexdigits # import re # re.compile(pattern) => ptn obj; p.search(s), p.match(s), p.finditer(s) => match obj; p.sub(after, s) # from operator import itemgette...
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,009
s370513645
p04043
u008323723
1589600887
Python
Python (3.4.3)
py
Accepted
17
3060
119
a,b,c=list(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,210,010
s278908567
p04043
u601575292
1589594764
Python
Python (3.4.3)
py
Accepted
17
2940
188
ABC = list(map(int, input().split())) cnt_5 = 0 cnt_7 = 0 for e in ABC: if e == 5: cnt_5 += 1 if e == 7: cnt_7 += 1 if cnt_5 == 2 and cnt_7 == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,011
s621483436
p04043
u629350026
1589594294
Python
Python (3.4.3)
py
Accepted
17
2940
119
a,b,c=list(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,210,012
s683422173
p04043
u818308350
1589592692
Python
Python (3.4.3)
py
Accepted
17
2940
150
#input b,c=0,0 a=list(map(int,input().split())) for i in range(3): c=c+a[i] if a[i]==5:b=b+1 if b==2 and c==17:print("YES") else:print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,013
s722769504
p04043
u161322737
1589514481
Python
Python (3.4.3)
py
Accepted
17
2940
199
A = [int(x) for x in input().split()] C5 =0 C7 =0 for i in range(3): if A[i] == 5: C5 += 1 if A[i] == 7: C7 += 1 if C5 == 2 and C7 ==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,014
s514321675
p04043
u475966842
1589509414
Python
Python (3.4.3)
py
Accepted
17
2940
188
As=input().split() count5=0 count7=0 for A in As: if A=="5": count5+=1 elif A=="7": count7+=1 if count5==2 and count7==1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,015
s240913636
p04043
u518958552
1589505355
Python
Python (3.4.3)
py
Accepted
17
2940
132
a, b, c = map(int,input().split()) d = [a, b, c] if d.count(5) == 2 and d.count(7) == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,016