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
s721367327
p04043
u171065106
1577149336
Python
Python (3.4.3)
py
Accepted
17
2940
132
a, b, c, = map(int, input().split()) h = [5, 5, 7] b = [a, b, c] if sorted(h) == sorted(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,210,817
s176462113
p04043
u498975813
1577148652
Python
Python (3.4.3)
py
Accepted
17
2940
106
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,818
s141793421
p04043
u695079172
1577143498
Python
Python (3.4.3)
py
Accepted
17
2940
110
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,210,819
s833821359
p04043
u616504183
1577136443
Python
Python (3.4.3)
py
Accepted
17
2940
102
n = 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,210,820
s017282144
p04043
u710659690
1577133113
Python
Python (3.4.3)
py
Accepted
17
3060
131
A, B, C = list(map(int, input().split())) if (A+B+C==17) and (A==5 or A==7) and (B==5 or 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,210,821
s885063124
p04043
u025595730
1577131887
Python
Python (3.4.3)
py
Accepted
17
2940
243
# coding: utf-8 import sys def main(argv=sys.argv): input_ = input() if input_.count('5') == 2 and \ input_.count('7') == 1: print('YES') else: print('NO') return 0 if __name__ == '__main__': sys.exit(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,210,822
s663476790
p04043
u268792407
1577131872
Python
Python (3.4.3)
py
Accepted
17
2940
102
a,b,c=map(int,input().split()) aa=sorted([a,b,c]) if aa == [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,823
s352433472
p04043
u536717874
1577130960
Python
Python (3.4.3)
py
Accepted
17
3060
386
# conding: utf-8 import sys def main(argv=sys.argv): abc = list(map(int, input().split())) if 5 in abc: abc.remove(5) if 5 in abc: if 7 in abc: 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,210,824
s808145962
p04043
u881472317
1577118954
Python
Python (3.4.3)
py
Accepted
17
2940
119
a = sorted(list(map(int, 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,210,825
s790738968
p04043
u892538842
1577101320
Python
Python (3.4.3)
py
Accepted
17
3060
158
from itertools import permutations a, b, c = map(int, input().split(' ')) l = list(permutations([5,5,7])) if (a,b,c) 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,210,826
s797415067
p04043
u892538842
1577091002
Python
Python (3.4.3)
py
Accepted
17
3060
157
from itertools import permutations a, b, c = map(int, input().split(' ')) l = list(permutations([5,5,7])) if (a,b,c) 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,210,827
s952385089
p04043
u977661421
1577046221
Python
Python (3.4.3)
py
Accepted
17
2940
165
# -*- coding: utf-8 -*-S A,B,C= [int(i) for i in input().split()] s = [A, B, C] s.sort() if s[0] == 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,210,828
s969079906
p04043
u400207556
1577039197
Python
Python (3.4.3)
py
Accepted
17
2940
100
x = input() a = x.count("5") b = x.count("7") if a == 2 and b == 1 :print("YES") else : print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,829
s390823748
p04043
u506587641
1576991726
Python
Python (3.4.3)
py
Accepted
17
2940
151
lst = list(map(int, input().split())) tmp = 0 for i in range(3): if lst[i]==5: tmp += 1 print('YES' if sum(lst)==17 and tmp==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,210,830
s796309231
p04043
u808688003
1576979723
Python
Python (3.4.3)
py
Accepted
17
2940
210
arr = map(int, input().split()) cnt_5 = cnt_7 = 0 for num in arr: if num == 5: cnt_5 += 1 elif num == 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,831
s762772101
p04043
u808688003
1576979398
Python
Python (3.4.3)
py
Accepted
17
2940
200
arr = map(int, input().split()) dic = {} for num in arr: if num in dic: dic[num] += 1 else: dic[num] = 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,210,832
s097102202
p04043
u433559751
1576959903
Python
Python (3.4.3)
py
Accepted
17
2940
114
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,210,833
s087980733
p04043
u308695322
1576908399
Python
Python (3.4.3)
py
Accepted
17
2940
202
require = ['5','7','5'] data = input().split() result = 'YES' for d in data: if d in require: require.pop(require.index(d)) else: result = 'NO' break 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,210,834
s678200441
p04043
u426572476
1576903062
Python
Python (3.4.3)
py
Accepted
17
2940
90
import math n = input() 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,210,835
s962934214
p04043
u235376569
1576880988
Python
Python (3.4.3)
py
Accepted
20
3060
197
def main(): a=[x for x in input().rstrip().split()] c5=0 c7=0 c5=a.count("5") c7=a.count("7") if c5==2 and c7==1: print("YES") else: print("NO") main()
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,836
s738362955
p04043
u235376569
1576880741
Python
Python (3.4.3)
py
Accepted
17
2940
140
a=[x for x in input().rstrip().split()] c5=0 c7=0 c5=a.count("5") c7=a.count("7") 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,837
s302140215
p04043
u919978322
1576869198
Python
Python (3.4.3)
py
Accepted
17
2940
201
ip = input().split() A = int(ip[0]) B = int(ip[1]) C = int(ip[2]) boolean = False if A+B+C==17: if A==5 or B==5 or C==5: boolean = True if boolean: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,838
s181134018
p04043
u308695322
1576863759
Python
Python (3.4.3)
py
Accepted
17
2940
219
require = ['5','7','5'] data = input().split() result = 'YES' for v in data: if v in require: index = require.index(v) require.pop(index) else: result = 'NO' break 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,210,839
s291876772
p04043
u761565491
1576860277
Python
Python (3.4.3)
py
Accepted
17
2940
92
l = list(map(int,input().split()));print('YES' if l.count(5)==2 and l.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,210,840
s770648047
p04043
u006425112
1576852016
Python
Python (3.4.3)
py
Accepted
17
2940
218
import sys a = map(int, sys.stdin.readline().split()) seven = 0 five = 0 for i in a: if i == 7: seven += 1 else: five += 1 if seven == 1 and five == 2: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,841
s159469092
p04043
u112567325
1576842423
Python
Python (3.4.3)
py
Accepted
17
2940
104
A,B,C = list(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,210,842
s461243438
p04043
u183840468
1576794357
Python
Python (3.4.3)
py
Accepted
17
2940
85
l = sorted([int(i) for i in input().split()]) print('YES' if l == [5,5,7] else 'NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,843
s628814674
p04043
u332542234
1576782316
Python
Python (3.4.3)
py
Accepted
17
2940
263
# AtCoder Beginner Contest 042 - A # -*- encoding: UTF-8 -*- f_list = map(int, input().split()) l5 = 0 l7 = 0 result = "NO" for f in f_list: if f == 5: l5 = l5 + 1 elif f == 7: l7 = l7 + 1 if l5 == 2 and l7 == 1 : result = "YES" 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,210,844
s438395847
p04043
u488884575
1576730185
Python
Python (3.4.3)
py
Accepted
16
3064
313
flagY = 0 flagN = 0 a,b,c = [int(i) for i in input().split(" ")] if a==7: if b==5 and c==5: flagY = 1 else: flagN = 1 if b==7: if a==5 and c==5: flagY = 1 else: flagN = 1 if c==7: if b==5 and a==5: flagY = 1 else: flagN = 1 if flagY ==1:print("YES") elif flagY == 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,210,845
s652609643
p04043
u768896740
1576727704
Python
Python (3.4.3)
py
Accepted
17
3060
145
a, b, c = map(int, input().split()) d = [a, b, c] if d == [5, 5, 7] or d == [5, 7, 5] or d == [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,210,846
s958079661
p04043
u287097467
1576717049
Python
Python (3.4.3)
py
Accepted
17
2940
107
nums = list(map(int,input().split(' '))) nums.sort() if nums == [5,5,7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,847
s843993911
p04043
u761565491
1576641547
Python
Python (3.4.3)
py
Accepted
17
2940
112
l = list(map(int,input().split())) if l.count(7) == 1 and l.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,848
s098626184
p04043
u343092716
1576639461
Python
Python (3.4.3)
py
Accepted
17
3060
141
import itertools haiku = list(map(int, input().split())) p = list(itertools.permutations(haiku, 3)) print("YES" if (5, 7, 5) in p 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,849
s343143988
p04043
u757458581
1576604925
Python
Python (3.4.3)
py
Accepted
17
2940
176
#coding: utf-8 value = list(map(int,input().split())) gokei = 0 for i in range(len(value)): gokei += value[i] if gokei == 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,850
s384135809
p04043
u181215519
1576603495
Python
Python (3.4.3)
py
Accepted
17
2940
106
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,210,851
s910000240
p04043
u102242691
1576559284
Python
Python (3.4.3)
py
Accepted
17
2940
171
""" https://atcoder.jp/contests/abc042/tasks/abc042_a """ a = list(map(int,input().split())) a.sort() #print(a) 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,210,852
s011983732
p04043
u255415694
1576558335
Python
Python (3.4.3)
py
Accepted
17
3060
184
a, b, c = map(int, input().split()) d = [a, b, c] c5=0 c7=0 for i in range(3): if d[i]==5: c5 +=1 elif d[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,853
s124938128
p04043
u320511454
1576553196
Python
Python (3.4.3)
py
Accepted
17
2940
168
def answer(A,B): for i in range(len(A)): if A[i] != B[i]: return "NO" return "YES" A=list(map(int,input().split())) A.sort() B=[5,5,7] print(answer(A,B))
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,854
s192863528
p04043
u417014669
1576548576
Python
Python (3.4.3)
py
Accepted
17
2940
101
a,b,c=map(int, input().split()) if sorted(list((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,210,855
s894340493
p04043
u185424824
1576514866
Python
Python (3.4.3)
py
Accepted
17
2940
85
a= input().split() a.sort() if "".join(a) =="557": print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,856
s918468005
p04043
u254871849
1576467914
Python
Python (3.4.3)
py
Accepted
17
3060
281
import sys from itertools import permutations a = tuple(int(x) for x in sys.stdin.readline().split()) def main(): for p in set(permutations([5, 5, 7], 3)): if a == p: return 'YES' return 'NO' if __name__ == '__main__': ans = main() 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,210,857
s964132660
p04043
u778720350
1576447995
Python
Python (3.4.3)
py
Accepted
17
2940
96
a = input().split(' ') a.sort() if ''.join(a) == '557': print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,858
s194023039
p04043
u473023730
1576433792
Python
Python (3.4.3)
py
Accepted
17
2940
121
a=input().split() a=[int(i) for i in a] 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,210,859
s089760237
p04043
u473023730
1576433697
Python
Python (3.4.3)
py
Accepted
17
2940
121
a=input().split() a=[int(i) for i in a] 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,210,860
s930905836
p04043
u496966444
1576364538
Python
Python (3.4.3)
py
Accepted
17
3060
292
a, b, c = map(str, input().split()) if a == '5' and b == '5': if c == '7': print('YES') exit(0) if b == '5' and c == '5': if a == '7': print('YES') exit(0) if a == '5' and c == '5': if b == '7': 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,210,861
s176951841
p04043
u386089355
1576360725
Python
Python (3.4.3)
py
Accepted
17
3060
200
a, b, c = map(int, input().split()) if a == 7 and b == 5 and c == 5: print('YES') elif b == 7 and c == 5 and a == 5: print('YES') elif c == 7 and a == 5 and b == 5: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,862
s941922130
p04043
u477343425
1576354858
Python
Python (3.4.3)
py
Accepted
17
2940
87
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,210,863
s425423158
p04043
u680851063
1576336309
Python
Python (3.4.3)
py
Accepted
17
2940
97
a = input().split() if int(a[0])+int(a[1])+int(a[2]) == 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,864
s241989420
p04043
u202688141
1576291455
Python
Python (3.4.3)
py
Accepted
20
3064
198
#number_set = list(map(int, input().split())) a = [5,5,7] b = list(map(int, input().split())) for i in a: if i in b: b.remove(i) if len(b) == 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,210,865
s655813431
p04043
u820284192
1576269629
Python
Python (3.4.3)
py
Accepted
17
2940
128
lst = list(int(i) for i in input().split()) if (lst.count(7) == 1 and lst.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,866
s569377718
p04043
u465961647
1576208990
Python
Python (3.4.3)
py
Accepted
21
3316
114
import collections a = collections.Counter(input().split()) print('YES' if a['5'] == 2 and a['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,210,867
s561787483
p04043
u622045059
1576205708
Python
Python (3.4.3)
py
Accepted
20
3316
122
import collections abc = collections.Counter(input().split()) print('YES' if abc['5'] == 2 and abc['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,210,868
s577948457
p04043
u557168336
1576201814
Python
Python (3.4.3)
py
Accepted
17
2940
59
print("YNEOS"["".join(sorted(input().split()))!="557"::2])
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,869
s944457836
p04043
u309141201
1576167031
Python
Python (3.4.3)
py
Accepted
17
2940
407
a, b, c = map(int, input().split()) # 5が2つ、7が1つあれば良い # 5があるとき+1して7があるとき+2にする # 合計が4なればYES、そうでないならNO sum = 0 if a == 5: sum += 1 elif a == 7: sum += 2 if b == 5: sum += 1 elif b == 7: sum += 2 if c == 5: sum += 1 elif c == 7: sum += 2 if sum == 4: print('YES') else: print(('NO'))
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,870
s577281950
p04043
u066217960
1576088136
Python
Python (3.4.3)
py
Accepted
17
2940
114
a_list = [ int(x) for x in input().split(" ") ] a_list.sort() print("YES") if a_list == [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,871
s900927621
p04043
u757458581
1576074047
Python
Python (3.4.3)
py
Accepted
17
2940
177
#coding: utf-8 value = input() list = value.split() sum = 0 for i in range(len(list)): if list[i] == "5": sum += 1 if sum == 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,872
s727200123
p04043
u339922532
1576064905
Python
Python (3.4.3)
py
Accepted
17
2940
101
li = list(map(int, input().split())) print("YES" if li.count(5) == 2 and li.count(7) == 1 else "NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,873
s566992805
p04043
u213800869
1576034656
Python
Python (3.4.3)
py
Accepted
17
2940
131
a = list(map(int, input().split())) n5 = a.count(5) n7 = a.count(7) if n5 == 2 and n7 == 1: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,874
s316406093
p04043
u422581886
1576005774
Python
Python (3.4.3)
py
Accepted
17
2940
114
ls = list(map(str, input().split())) ls.sort() if ("".join(ls) == "557"): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,875
s871869128
p04043
u746627216
1575998973
Python
Python (3.4.3)
py
Accepted
17
2940
137
a = list(map(int,input().split())) num5 = a.count(5) num7 = a.count(7) if(num5 == 2 and num7 == 1): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,876
s754816293
p04043
u585604152
1575995330
Python
Python (3.4.3)
py
Accepted
17
2940
165
input_list = list(map(int, input().split())) five = input_list.count(5) seven = input_list.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,210,877
s195330794
p04043
u875600867
1575950891
Python
Python (3.4.3)
py
Accepted
17
2940
369
# 入力をリスト形式でhaikuに代入する haiku= input() # 入力値の中から、5の出現回数と7の出現回数を数える # 5が2回、7が1回だけであれば、俳句は成立するのでをOK返す if haiku.count("5")==2 and haiku.count("7")==1: print("YES") else: # 条件を満たさなければ、NGを返す print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,878
s374725038
p04043
u617037231
1575948897
Python
Python (3.4.3)
py
Accepted
17
2940
140
Liste= list(map(str,input().split())) P = Liste.count('5') Q = Liste.count('7') if P == 2 and Q == 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,879
s391285108
p04043
u344178887
1575936624
Python
Python (3.4.3)
py
Accepted
18
2940
149
#!/usr/bin/env python3 # -*- coding: utf-8 -*- A = list(map(int, 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,210,880
s448271116
p04043
u061127257
1575910760
Python
Python (3.4.3)
py
Accepted
17
3060
202
a = list(map(int,input().split())) cnt_5=0 cnt_7=0 for i in range(3): if a[i]==5: cnt_5=cnt_5+1 elif a[i]==7: cnt_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,881
s811338823
p04043
u061127257
1575909599
Python
Python (3.4.3)
py
Accepted
18
2940
201
a = list(map(int,input().split())) cnt_5=0 cnt_7=0 for i in range(3): if a[i]==5: cnt_5=cnt_5+1 elif a[i]==7: cnt_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,882
s712920746
p04043
u860819641
1575746122
Python
Python (3.4.3)
py
Accepted
17
2940
113
A=input().split() if A==["5","5","7"] or A==["5","7","5"] or A==["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,210,883
s167741684
p04043
u663767599
1575741507
Python
Python (3.4.3)
py
Accepted
17
2940
111
A, B, C = sorted(map(int, input().split())) if (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,210,884
s661232136
p04043
u235376569
1575736460
Python
Python (3.4.3)
py
Accepted
17
3060
222
a = input().rstrip().split() count5=0 count7=0 for i in range(len(a)): if int(a[i]) == 5: count5+=1 elif int(a[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,210,885
s334459654
p04043
u617515020
1575727666
Python
Python (3.4.3)
py
Accepted
17
2940
102
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,886
s070238855
p04043
u996307903
1575685160
Python
Python (3.4.3)
py
Accepted
17
2940
90
a= input().split() b= sum(int(i) for i in a) if b== 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,887
s851782929
p04043
u213330296
1575670061
Python
Python (3.4.3)
py
Accepted
17
2940
161
# -*- coding: utf-8 -*- # 整数の入力 a, b, c = map(int, input().split()) # 575判定式 if(a*b*c == 175 and a+b+c == 17): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,888
s372666894
p04043
u213330296
1575670038
Python
Python (3.4.3)
py
Accepted
17
2940
161
# -*- coding: utf-8 -*- # 整数の入力 a, b, c = map(int, input().split()) # 575判定式 if(a*b*c == 175 and a+b+c == 17): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,889
s680158778
p04043
u994521204
1575645687
Python
Python (3.4.3)
py
Accepted
17
2940
102
L = list(map(int, input().split())) L.sort() if L == [5, 5, 7]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,890
s168667095
p04043
u818283165
1575618938
Python
Python (3.4.3)
py
Accepted
16
2940
99
l = list(map(int,input().split())) l.sort() if l == [5,5,7]: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,891
s260927740
p04043
u780206746
1575613682
Python
Python (3.4.3)
py
Accepted
17
2940
153
line = input() five_cnt = line.count('5') seven_cnt = line.count('7') if five_cnt == 2 and seven_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,210,892
s873288188
p04043
u780475861
1575612754
Python
Python (3.4.3)
py
Accepted
17
2940
125
lst = [int(i) for i in input().split()] if lst in [[5, 5, 7], [5, 7, 5], [7, 5, 5]]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,893
s320200026
p04043
u780475861
1575612649
Python
Python (3.4.3)
py
Accepted
17
2940
124
lst = [int(i) for i in input().split()] if lst in [[5, 5, 7], [5, 7, 5], [7, 5, 5]]: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,894
s345265362
p04043
u392433152
1575610090
Python
Python (3.4.3)
py
Accepted
17
3064
219
tanka=[] tanka=[int(x) for x in input().split()] i=0 fiv=0 sev=0 #5の数を数える while i < 3: if tanka[i]==5: fiv += 1 elif tanka[i]==7: sev += 1 i+=1 if fiv==2 and sev==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,895
s582633183
p04043
u811967730
1575602042
Python
Python (3.4.3)
py
Accepted
17
2940
102
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,210,896
s839172677
p04043
u905582793
1575555462
Python
Python (3.4.3)
py
Accepted
18
2940
93
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,210,897
s712685865
p04043
u693007703
1575524821
Python
Python (3.4.3)
py
Accepted
20
3316
152
import collections numbers = input().split() c = collections.Counter(numbers) 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,210,898
s236618463
p04043
u328090531
1575493995
Python
Python (3.4.3)
py
Accepted
17
2940
195
a, b, c = map(int, input().split()) if a == 7 and b == c == 5: print('YES') elif b == 7 and a == c == 5: print('YES') elif c == 7 and b == a == 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,210,899
s553158309
p04043
u987164499
1575491510
Python
Python (3.4.3)
py
Accepted
17
2940
158
from sys import stdin import math li = list(map(int,stdin.readline().rstrip().split())) li.sort() if li == [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,900
s330144839
p04043
u367373844
1575436602
Python
Python (3.4.3)
py
Accepted
17
2940
240
num_list = map(int,input().split()) seven_num = 0 five_num = 0 for number in num_list: if number == 7: seven_num += 1 elif number == 5: five_num += 1 if seven_num ==1 and five_num == 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,901
s834384074
p04043
u150603590
1575429686
Python
Python (3.4.3)
py
Accepted
17
2940
161
if __name__ == '__main__': 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,210,902
s384199979
p04043
u262750042
1575427566
Python
Python (3.4.3)
py
Accepted
17
2940
157
lengchs = list(map(int, input().split())) lengchs.sort() if lengchs[0] == 5 and lengchs[1] == 5 and lengchs[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,210,903
s391500021
p04043
u906481659
1575398230
Python
Python (3.4.3)
py
Accepted
17
3064
419
A, B, C = map(int, input().split()) if A==7: if B==5: if C==5: print("YES") else: print("NO") else: print("NO") elif A==5: if B==7: if C==5: print("YES") else: print("NO") elif B==5: if C==7: pri...
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,904
s530331937
p04043
u906481659
1575396512
Python
Python (3.4.3)
py
Accepted
17
3060
189
A, B, C = map(int, input().split()) if (A ==7) and (B==C==5): print("YES") elif (A==C==5) and (B==7): print("YES") elif (A==B==5) and (C==7): print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,905
s397242436
p04043
u236592202
1575381579
Python
Python (3.4.3)
py
Accepted
17
3064
778
A,B,C=map(int,input().split()) #755の時の検証 if 7==A: if 5==B: if 5==C: print("YES") else: print("NO") elif 5==C: if 5==B: print("YES") else: print("NO") else: print("NO") #575の時の検証 elif 7==B: if 5==A: if 5==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,210,906
s690064362
p04043
u979823197
1575338282
Python
Python (3.4.3)
py
Accepted
17
2940
126
a = list(int(x) for x in input().split()) if a == [5,5,7] or a == [5,7,5] or a == [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,210,907
s395261525
p04043
u806392288
1575272590
Python
Python (3.4.3)
py
Accepted
17
2940
198
A,B,C = map(str,input().split()) haiku = A+B+C flag = 0 if haiku == "755": flag = 1 elif haiku == "575": flag = 1 elif haiku == "557": flag = 1 else: print("NO") if flag == 1: print("YES")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,908
s031455808
p04043
u653792857
1575249300
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,909
s776426372
p04043
u469574680
1575228986
Python
Python (3.4.3)
py
Accepted
17
3060
315
myList=[] myList_int=[] myList=input().split() #split()でリストに入力をstrで入れる myList_int=[int(s) for s in myList] #intに変換 #print(myList) if myList_int== [7,5,5]: print("YES") elif myList_int== [5,7,5] : print("YES") elif myList_int== [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,910
s710098661
p04043
u469574680
1575228733
Python
Python (3.4.3)
py
Accepted
17
3060
315
myList=[] myList_int=[] myList=input().split() #split()でリストに入力をstrで入れる myList_int=[int(s) for s in myList] #intに変換 #print(myList) if myList_int== [7,5,5]: print("YES") elif myList_int== [5,7,5] : print("YES") elif myList_int== [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,911
s923727096
p04043
u246019596
1575222762
Python
Python (3.4.3)
py
Accepted
17
2940
284
input_line = input() input_list = [int(x) for x in input_line.split()] five_counter = 0 seven_counter = 0 for i in input_list: if i==7: seven_counter+=1 elif i==5: five_counter+=1 if seven_counter==1 and five_counter==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,912
s177507040
p04043
u109266345
1575176184
Python
Python (3.4.3)
py
Accepted
17
2940
119
a = list(map(int,input().split())) a.sort() if a[0]==5 and a[1]==5 and a[2]==7: print("YES") else: print("NO")
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p> <p>To create a Haik...
5 5 7
YES
1,210,913
s860050321
p04043
u979684411
1575176063
Python
Python (3.4.3)
py
Accepted
17
3060
293
A, B, C = [int(n) for n in input().split()] if A == 5: if B == 5: answer = C == 7 elif B == 7: answer = C == 5 else: answer = False elif A == 7: if B == 5: answer = C == 5 else: answer = False else: answer = False if answer: print('YES') else: print('NO')
p04043
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>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,914
s833472601
p04043
u815444398
1575146655
Python
Python (3.4.3)
py
Accepted
17
3060
293
input_line = input() statements = input_line.split(' ') five=0 seven=0 no=0 for statement in statements: if int(statement) == 5: five += 1 elif int(statement) ==7: seven += 1 else: no += 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,210,915
s645035057
p04043
u078349616
1575085171
Python
Python (3.4.3)
py
Accepted
18
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,210,916