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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s946518018 | p04043 | u726905855 | 1471243034 | Python | Python (3.4.3) | py | Accepted | 38 | 3064 | 96 | L = sorted(map(int, input().split()))
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,212,517 |
s121276373 | p04043 | u869328641 | 1471197265 | Python | Python (3.4.3) | py | Accepted | 39 | 3064 | 93 | S = list(map(int,input().split()))
S.sort()
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,212,518 |
s300859258 | p04043 | u682128453 | 1471190580 | Python | Python (2.7.6) | py | Accepted | 28 | 2568 | 156 | # coding: utf-8
# Here your code !
i = map(int, raw_input().split())
o = sorted(i)
if o[0]==5 and o[1]==5 and o[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,212,519 |
s128633470 | p04043 | u898764305 | 1471122668 | Python | Python (2.7.6) | py | Accepted | 30 | 2568 | 229 | # -*- coding: utf-8 -*-
five = 0
seven = 0
a = map(int, raw_input().split())
for i in a:
if i == 5:
five = five + 1
if i == 7 :
seven = 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,212,520 |
s693517065 | p04043 | u518732500 | 1471018663 | Python | Python (3.4.3) | py | Accepted | 39 | 3064 | 241 | a = input().split()
if a[0] == '5' and a[1] == '5' and a[2] == '7':
print('YES')
elif a[0] == '5' and a[1] == '7' and a[2] == '5':
print('YES')
elif a[0] == '7' and a[1] == '5' and a[2] == '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,212,521 |
s487752408 | p04043 | u037937323 | 1470948337 | Python | Python (2.7.6) | py | Accepted | 28 | 2692 | 196 | l = map(int,raw_input().split())
count = 0
for i in range(len(l)):
if l[i] == 5:
count += 5
if l[i] == 7:
count += 7
if count == 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,212,522 |
s483784636 | p04043 | u372501464 | 1470613356 | Python | Python (3.4.3) | py | Accepted | 38 | 3188 | 97 | inn = sorted(input().split(" "))
if "5 5 7" == " ".join(inn):
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,523 |
s922077200 | p04043 | u316341119 | 1470553586 | Python | Python (2.7.6) | py | Accepted | 24 | 2568 | 135 | #!/usr/bin/env python
line = raw_input()
if line.count('5') == 2 and line.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,212,524 |
s690921043 | p04043 | u161703388 | 1470505113 | Python | Python (3.4.3) | py | Accepted | 37 | 3064 | 221 | a = list(int(i) for i in input().split())
Count5 = 0
Count7 = 0
for i in a:
if i == 5:
Count5 += 1
elif 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,212,525 |
s994260116 | p04043 | u760139520 | 1470500774 | Python | Python (3.4.3) | py | Accepted | 41 | 3064 | 116 | a = list(map(int, input().split()))
#a = [5,7,5]
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,212,526 |
s086907426 | p04043 | u036678500 | 1470475148 | Python | Python (3.4.3) | py | Accepted | 40 | 3188 | 401 | # -*- coding: utf-8 -*-
def main():
a, b, c = map(int, input().split())
mp = {}
if(a not in mp):
mp[a] = 1
else:
mp[a] += 1
if(b not in mp):
mp[b] = 1
else:
mp[b] += 1
if(c not in mp):
mp[c] = 1
else:
mp[c] += 1
if(mp[5] == 2 and ... | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,527 |
s195172612 | p04043 | u289882742 | 1470432409 | Python | Python (2.7.6) | py | Accepted | 37 | 3076 | 124 | import sys
if reduce(lambda a, e: int(a) * int(e), next(sys.stdin).split()) == 175:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,528 |
s648452120 | p04043 | u233602244 | 1470350173 | Python | Python (3.4.3) | py | Accepted | 40 | 3064 | 139 | cnt = [0] * 11
for x in map(int, input().split()):
cnt[x] += 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,212,529 |
s778934778 | p04043 | u696805736 | 1470284072 | Python | Python (3.4.3) | py | Accepted | 37 | 3064 | 96 | x = list(map(int,input().split()))
x.sort()
ans="NO"
if x == [5,5,7]:
ans="YES"
print(ans)
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,530 |
s606857028 | p04043 | u338686846 | 1470246116 | Python | Python (2.7.6) | py | Accepted | 27 | 2568 | 97 | N = map(int, raw_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,212,531 |
s726998749 | p04043 | u903215911 | 1469741249 | Python | Python (3.4.3) | py | Accepted | 38 | 3064 | 102 | A, B, C = sorted(map(int, input().split()))
if 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,212,532 |
s483371615 | p04043 | u685892567 | 1469724924 | Python | Python (3.4.3) | py | Accepted | 39 | 3064 | 90 | if sorted([int(x) for x in input().split()])==[5,5,7]:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,533 |
s856482078 | p04043 | u886545507 | 1469709004 | Python | Python (2.7.6) | py | Accepted | 30 | 2568 | 124 | #coding: utf-8
#ABC042A
l=map(int,raw_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,212,534 |
s402856624 | p04043 | u564917060 | 1469685970 | Python | Python (3.4.3) | py | Accepted | 39 | 3064 | 287 | def is_haiku(s):
nums = s.split()
counts = {x: nums.count(x) for x in nums}
try:
if counts['5'] == 2 and counts['7'] == 1:
print("YES")
else:
print("NO")
except:
print("NO")
if __name__ == "__main__":
is_haiku(input()) | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,535 |
s614853225 | p04043 | u426432817 | 1469666930 | Python | Python (3.4.3) | py | Accepted | 39 | 3064 | 113 | a=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,212,536 |
s651906379 | p04043 | u804080968 | 1469641563 | Python | Python (3.4.3) | py | Accepted | 39 | 3064 | 69 | print("YES" if sorted(input().split()) == ["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,212,537 |
s084403258 | p04043 | u704165526 | 1469589532 | Python | Python (3.4.3) | py | Accepted | 41 | 3064 | 182 | a,b,c=list(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,212,538 |
s816091617 | p04043 | u107077660 | 1469559361 | Python | Python (3.4.3) | py | Accepted | 41 | 3064 | 93 | L = sorted(list(map(int, input().split())))
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,212,539 |
s232328013 | p04043 | u945094648 | 1469548911 | Python | Python (2.7.6) | py | Accepted | 29 | 2568 | 108 | a = map(str,raw_input().split())
if a.count("7") == 1 and a.count("5") == 2:
print "YES"
else :
print "NO" | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,540 |
s124934254 | p04043 | u022488946 | 1469481316 | Python | PyPy2 (5.6.0) | py | Accepted | 62 | 8816 | 83 | xs = map(int, raw_input().split())
print 'YES' if sorted(xs) == [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,212,541 |
s109090827 | p04043 | u591287669 | 1469461411 | Python | Python (3.4.3) | py | Accepted | 39 | 3064 | 93 | arr = map(int, input().split())
if sorted(arr) == [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,212,542 |
s345339694 | p04043 | u713368238 | 1469459106 | Python | Python (3.4.3) | py | Accepted | 39 | 3064 | 114 | a = list(map(int, input().split()))
if a.count(5) == 2 and a.count(7) == 1:
print('YES')
else:
print('NO') | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,543 |
s485716287 | p04043 | u830390742 | 1469452995 | Python | Python (2.7.6) | py | Accepted | 36 | 3072 | 69 | print 'YES' if sorted(raw_input().split()) == ['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,212,544 |
s053124632 | p04043 | u461954362 | 1469439469 | Python | Python (3.4.3) | py | Accepted | 42 | 3064 | 243 | #!/usr/bin/env python3
# -*- coding:utf-8 -*-
def main():
a = sorted(list(map(int, input().split())))
if a[0] == 5 and a[1] == 5 and a[2] == 7:
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,212,545 |
s647346948 | p04043 | u125680071 | 1469417956 | Python | Python (3.4.3) | py | Accepted | 41 | 3064 | 147 | a, b, c = map(int, input().split())
abc = sorted([a, b, c])
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,212,546 |
s949785547 | p04043 | u112002050 | 1469398006 | Python | Python (3.4.3) | py | Accepted | 39 | 3064 | 121 | phrases = [ int(i) for i in input().split() ]
if phrases.count(5) == 2 and 7 in phrases:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,547 |
s706555479 | p04043 | u112002050 | 1469397942 | Python | Python (3.4.3) | py | Accepted | 43 | 3064 | 121 | phrases = [ int(i) for i in input().split() ]
if phrases.count(5) == 2 and 5 in phrases:
print("YES")
else:
print("NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,548 |
s944794115 | p04043 | u075785512 | 1469390809 | Python | Python (3.4.3) | py | Accepted | 39 | 3064 | 160 | #coding :UTF-8
#ABC042
list=input().split()
list.sort()
#print(list)
if list[0]=="5" and list[1]=="5" and list[2]=="7":
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,549 |
s778276142 | p04043 | u226155577 | 1469390008 | Python | Python (2.7.6) | py | Accepted | 25 | 2568 | 44 | print["NO","YES"][raw_input()[::2]in"55755"] | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,550 |
s462814816 | p04043 | u941268675 | 1469373704 | Python | Python (2.7.6) | py | Accepted | 27 | 2568 | 67 | print "YES" if raw_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,212,551 |
s683789806 | p04043 | u760868074 | 1469350722 | Python | Python (3.4.3) | py | Accepted | 39 | 3064 | 68 | print("YES" if sorted(input().split()) == ["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,212,552 |
s902693486 | p04043 | u352021237 | 1469345210 | Python | PyPy2 (5.6.0) | py | Accepted | 61 | 8944 | 136 | a,b,c=map(int,raw_input().split())
p=[]
p.append(a)
p.append(b)
p.append(c)
p.sort()
if p==[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,212,553 |
s898156678 | p04043 | u600381938 | 1469330830 | Python | Python (2.7.6) | py | Accepted | 92 | 7040 | 142 | A, B, C = map(int, raw_input().split())
list = [A, B, C]
if list.count(5) == 2 and list.count(7) == 1:
print "YES"
else:
print "NO"
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,554 |
s741006903 | p04043 | u133129810 | 1469330329 | Python | Python (3.4.3) | py | Accepted | 36 | 3064 | 104 | A=sorted(map(int,input().split()))
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,212,555 |
s319357915 | p04043 | u557523358 | 1469329519 | Python | Python (3.4.3) | py | Accepted | 38 | 3064 | 68 | print('YES' if sorted(input().split()) == ['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,212,556 |
s613193192 | p04043 | u888742521 | 1469324579 | Python | Python (2.7.6) | py | Accepted | 95 | 6512 | 222 | # coding: utf-8
# Here your code !
xyz = raw_input().split(" ")
c1, c2 = 0, 0
for i in xyz:
if i == "5":
c1 += 1
elif i == "7":
c2 += 1
if (c1 == 2 and c2 == 1):
print "YES"
else:
print "NO" | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,557 |
s255789475 | p04043 | u291945537 | 1469324314 | Python | Python (3.4.3) | py | Accepted | 38 | 3064 | 113 | m=list(map(int, input().split()))
m.sort()
if (m[0]==5 and m[1]==5 and m[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,212,558 |
s765521258 | p04043 | u966695411 | 1469323952 | Python | Python (3.4.3) | py | Accepted | 40 | 3064 | 96 | L = list(map(int, input().split()))
print("YES" if 5 in L and 7 in L and sum(L) == 17 else "NO") | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,559 |
s413968490 | p04043 | u104418672 | 1469323381 | Python | Python (3.4.3) | py | Accepted | 36 | 3064 | 116 | i = list(map(int, input(). split()))
if i.count(5) == 2 and i.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,212,560 |
s211587524 | p04043 | u786082266 | 1469323348 | Python | Python (2.7.6) | py | Accepted | 26 | 2568 | 117 | l = map(int, raw_input().split())
l.sort()
if l[0] == 5 and l[1] == 5 and l[2] == 7:
print "YES"
else:
print "NO"
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,561 |
s164353787 | p04043 | u544337787 | 1469322835 | Python | Python (2.7.6) | py | Accepted | 34 | 2692 | 108 | a, b, c = map(int, raw_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,212,562 |
s165785766 | p04043 | u439009525 | 1469322557 | Python | Python (3.4.3) | py | Accepted | 36 | 3064 | 173 | ABC=input().split()
# ABC=["4","5","7"]
if "7" in ABC:
i=ABC.index("7")
ABC.pop(i)
if ABC[0]=="5" and ABC[1]=="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,212,563 |
s222847220 | p04043 | u712335892 | 1469322314 | Python | Python (3.4.3) | py | Accepted | 70 | 3308 | 135 | A,B,C = map(str, input().split())
iroha = [A, B, C]
iroha.sort()
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,212,564 |
s745997040 | p04043 | u922290632 | 1469322303 | Python | Python (3.4.3) | py | Accepted | 38 | 3064 | 214 | catch = input()
catch = catch.split(" ")
f = 0
n = 0
for i in range(3):
if catch[i] == "7":
n +=1
elif catch[i] == "5":
f +=1
if f == 2 and n == 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,212,565 |
s862306667 | p04043 | u498467969 | 1469322297 | Python | Python (3.4.3) | py | Accepted | 42 | 3064 | 158 | A, B, C = map(int, input().split())
if [A, B, C] == [5, 7, 5] or [A, B, C] == [7, 5, 5] or[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,212,566 |
s423408866 | p04043 | u813098295 | 1469322232 | Python | Python (2.7.6) | py | Accepted | 28 | 2576 | 120 | x = map(int, raw_input().split())
x.sort()
if x[0] == 5 and x[1] == 5 and x[2] == 7:
print "YES"
else:
print "NO" | p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,567 |
s151189930 | p04043 | u496694349 | 1469322226 | Python | Python (3.4.3) | py | Accepted | 38 | 3064 | 97 | a = map(int, input().split())
if sorted(a) == [5, 5, 7]:
print('YES')
else:
print('NO')
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,568 |
s848297446 | p04043 | u024612773 | 1469322098 | Python | Python (3.4.3) | py | Accepted | 37 | 3064 | 80 | a=list(sorted(map(int,input().split())))
print("YES" if a == [5,5,7] else "NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,569 |
s234566541 | p04043 | u010733367 | 1469322078 | Python | Python (3.4.3) | py | Accepted | 37 | 3064 | 115 | l = list(map(int, input().split()))
if l.count(5) == 2 and l.count(7) == 1:
print("YES")
else:
print("NO")
| p04043 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha loves <em>Haiku</em>. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with <var>5</var>, <var>7</var> and <var>5</var> syllables, in this order.</p>
<p>To create a Haik... | 5 5 7
| YES
| 1,212,570 |
s043863854 | p04044 | u782001565 | 1601500381 | Python | Python (3.8.2) | py | Accepted | 30 | 9020 | 172 | N, L = map(int,input().split())
word = []
count = 0
while N > count:
S = input()
word.append(S)
count += 1
word = sorted(word)
ans = ''.join(word)
print(ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,571 |
s641695507 | p04044 | u242358695 | 1601481710 | Python | Python (3.8.2) | py | Accepted | 24 | 9044 | 107 | n,l=map(int,input().split())
s=[]
for _ in range(n):
s.append(input())
s.sort()
ss="".join(s)
print(ss) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,572 |
s853602813 | p04044 | u035496246 | 1601479843 | Python | Python (3.8.2) | py | Accepted | 27 | 8884 | 96 | n, l = map(int, input().split())
s = [input() for _ in range(n)]
s = sorted(s)
print(''.join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,573 |
s798232273 | p04044 | u244434589 | 1601466514 | Python | Python (3.8.2) | py | Accepted | 27 | 9176 | 141 | n,l = map(int,input().split())
ans = ''
k = []
for i in range(n):
s = input()
k.append(s)
k.sort()
for i in k:
ans +=i
print(ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,574 |
s154475272 | p04044 | u546853743 | 1601394053 | Python | Python (3.8.2) | py | Accepted | 25 | 9168 | 109 | n,l=map(int,input().split())
a=[]
for i in range(n):
s=input()
a.append(s)
a.sort()
print(''.join(a)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,575 |
s401878913 | p04044 | u149249972 | 1601365352 | Python | Python (3.8.2) | py | Accepted | 26 | 9072 | 188 | main = list(map(lambda x: int(x), input().split()))
n, l = main[0], main[1]
final = []
for i in range(n):
string = input()
final.append(string)
final.sort()
print(''.join(final))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,576 |
s253755084 | p04044 | u630511239 | 1601351813 | Python | Python (3.8.2) | py | Accepted | 25 | 9072 | 107 | N, L = map(int, input().split())
ans = [input() for i in range(N)]
ans.sort()
ans = ''.join(ans)
print(ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,577 |
s723201399 | p04044 | u067485870 | 1601340055 | Python | Python (3.8.2) | py | Accepted | 27 | 9020 | 159 | n, l = map(int, input().split( ))
t = list()
for i in range(n):
s = input()
t.append(s)
t.sort()
ans = ""
for j in range(n):
ans += t[j]
print(ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,578 |
s657016649 | p04044 | u630511239 | 1601262572 | Python | Python (3.8.2) | py | Accepted | 28 | 9124 | 107 | N, L = map(int, input().split())
ans = [input() for i in range(N)]
ans.sort()
ans = ''.join(ans)
print(ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,579 |
s489479034 | p04044 | u910358825 | 1601253167 | Python | Python (3.8.2) | py | Accepted | 25 | 9072 | 85 | n,l=map(int, input().split())
s=[input() for i in range(n)]
print("".join(sorted(s))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,580 |
s140007968 | p04044 | u014139588 | 1601252955 | Python | Python (3.8.2) | py | Accepted | 26 | 9036 | 89 | n,l = map(int,input().split())
s = [input() for _ in range(n)]
s.sort()
print("".join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,581 |
s972046014 | p04044 | u047197186 | 1601225725 | Python | Python (3.8.2) | py | Accepted | 26 | 9024 | 128 | n, l = map(int, input().split())
lst = []
for i in range(n):
s = input()
lst.append(s)
lst = sorted(lst)
print(''.join(lst)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,582 |
s032991737 | p04044 | u763550415 | 1601182172 | Python | Python (3.8.2) | py | Accepted | 23 | 9188 | 156 | n, l = map(int, input().split())
S = []
for i in range(n):
s = input()
S.append(s)
S.sort()
ans = ''
for i in range(n):
ans += S[i]
print(ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,583 |
s236598680 | p04044 | u521323621 | 1601170082 | Python | Python (3.8.2) | py | Accepted | 31 | 9104 | 122 | n,l = map(int,input().split())
a = []
for i in range(n):
a.append(input())
a.sort()
print("".join(str(i) for i in a)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,584 |
s092116525 | p04044 | u112581208 | 1601146719 | Python | Python (3.8.2) | py | Accepted | 24 | 9100 | 110 | n, l = map(int, input().split())
s = []
for i in range(n):
s.append(input())
print("".join(sorted(s)))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,585 |
s592210037 | p04044 | u084227297 | 1601003402 | Python | Python (3.8.2) | py | Accepted | 27 | 9096 | 91 | N, L = map(int, input().split())
S = sorted([input() for i in range(N)])
print(*S, sep="")
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,586 |
s556501624 | p04044 | u808420410 | 1600954205 | Python | PyPy3 (7.3.0) | py | Accepted | 61 | 62360 | 106 | N, L = map(int, input().split())
s = []
for _ in range(N):
s.append(input())
s.sort()
print(''.join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,587 |
s311925400 | p04044 | u344089435 | 1600922840 | Python | Python (3.8.2) | py | Accepted | 23 | 9124 | 136 | n,l= [int(x) for x in input().split()]
la = []
for i in range(n):
la.append(str(input()))
la.sort()
print("".join(str(x) for x in la)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,588 |
s721372299 | p04044 | u318427318 | 1600919985 | Python | Python (3.8.2) | py | Accepted | 24 | 9132 | 318 | #-*-coding:utf-8-*-
import sys
input=sys.stdin.readline
def main():
n,l = map(int,input().split())
words=[]
words=[input().rstrip() for _ in range(n)]
s_words=sorted(words,key=lambda x:x[0:])
ans=""
for s_word in s_words:
ans+=s_word
print(ans)
if __name__=="__main__":
main() | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,589 |
s502006158 | p04044 | u319038975 | 1600907429 | Python | Python (3.8.2) | py | Accepted | 26 | 9164 | 145 | nl = list(map(int,input().split()))
N = nl[0]
L = nl[1]
ss = [input() for i in range(N)]
ss.sort()
res = ""
for i in ss:
res = res+i
print(res) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,590 |
s196996998 | p04044 | u888092736 | 1600907204 | Python | Python (3.8.2) | py | Accepted | 30 | 9080 | 59 | _, _, *S = open(0).read().split()
print("".join(sorted(S))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,591 |
s522789387 | p04044 | u582165495 | 1600898347 | Python | Python (3.8.2) | py | Accepted | 24 | 9064 | 134 | N, L = map(int, input().split())
a = []
for i in range(N):
a.append(input())
a.sort()
for i in range(N):
print(a[i],end="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,592 |
s302464497 | p04044 | u156815136 | 1600882153 | Python | Python (3.8.2) | py | Accepted | 39 | 10364 | 1,107 | #from statistics import median
#import collections
#aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0]
from math import gcd
from itertools import combinations,permutations,accumulate, product # (string,3) 3回
#from collections import deque
from collections import deque,defaultdict,Counter
... | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,593 |
s365605665 | p04044 | u670567845 | 1600862681 | Python | PyPy3 (7.3.0) | py | Accepted | 63 | 62360 | 90 | n, l = map(int, input().split())
s = [input() for _ in range(n)]
print("".join(sorted(s))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,594 |
s681391970 | p04044 | u241159583 | 1600861416 | Python | Python (3.8.2) | py | Accepted | 27 | 9140 | 83 | n,l = map(int, input().split())
print("".join(sorted([input() for _ in range(n)]))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,595 |
s647340762 | p04044 | u080364835 | 1600861273 | Python | Python (3.8.2) | py | Accepted | 27 | 9084 | 97 | n, l = map(int, input().split())
sl = sorted(list(input() for _ in range(n)))
print(*sl, sep='') | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,596 |
s794620444 | p04044 | u644907318 | 1600861016 | Python | PyPy3 (7.3.0) | py | Accepted | 65 | 62280 | 96 | N,L = map(int,input().split())
S = sorted([input().strip() for _ in range(N)])
print("".join(S)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,597 |
s718856768 | p04044 | u536034761 | 1600860919 | Python | Python (3.8.2) | py | Accepted | 24 | 9016 | 92 | n, l = map(int, input().split())
A = [input() for _ in range(n)]
A.sort()
print("".join(A))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,598 |
s727993226 | p04044 | u086503932 | 1600860892 | Python | Python (3.8.2) | py | Accepted | 25 | 9024 | 91 | N, L = map(int, input().split())
S = [input() for _ in range(N)]
S.sort()
print(''.join(S)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,599 |
s485212663 | p04044 | u186838327 | 1600860767 | Python | PyPy3 (7.3.0) | py | Accepted | 59 | 62412 | 96 | n, l = map(int, input().split())
S =[str(input()) for _ in range(n)]
S.sort()
print(''.join(S))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,600 |
s254633347 | p04044 | u113835532 | 1600826178 | Python | Python (3.8.2) | py | Accepted | 40 | 10292 | 258 | from typing import List
def answer(n: int, l: int, s: List[str]) -> str:
return ''.join(sorted(s))
def main():
n, l = map(int, input().split())
s = [input() for _ in range(n)]
print(answer(n, l, s))
if __name__ == '__main__':
main() | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,601 |
s614813165 | p04044 | u504662715 | 1600823140 | Python | Python (3.8.2) | py | Accepted | 30 | 9184 | 137 | n,l = map(int,input().split())
s = [input() for _ in range(n)]
an = ''
for _ in range(n):
an += min(s)
s.remove(min(s))
print(an) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,602 |
s861647742 | p04044 | u135265051 | 1600808499 | Python | Python (3.8.2) | py | Accepted | 44 | 10880 | 632 | from collections import Counter
import math
import statistics
import itertools
a,b=map(int,input().split())
# b=input()
# c=[]
# for i in a:
# c.append(int(i))
# A,B,C= map(int,input().split())
# f = list(map(int,input().split()))
#g = [list(map(lambda x: '{}'.format(x), list(input()))) for _ in range(a)]
# h = []
... | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,603 |
s662276332 | p04044 | u760760982 | 1600797725 | Python | Python (3.8.2) | py | Accepted | 29 | 9144 | 98 | n,l = map(int,input().split())
s = [input() for _ in range(n)]
ans = sorted(s)
print(''.join(ans)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,604 |
s047588922 | p04044 | u559367141 | 1600796498 | Python | Python (3.8.2) | py | Accepted | 29 | 9004 | 90 | N,L = map(int, input().split())
S = [input() for i in range(N)]
S.sort()
print("".join(S)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,605 |
s883997465 | p04044 | u749491107 | 1600783825 | Python | Python (3.8.2) | py | Accepted | 29 | 9212 | 96 | n, l = map(int, input().split())
s = [input() for _ in range(n)]
s = sorted(s)
print("".join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,606 |
s595181061 | p04044 | u045505231 | 1600755594 | Python | Python (3.8.2) | py | Accepted | 24 | 9404 | 238 | import math
from datetime import date
def main():
line = input().split()
n = int(line[0])
k = int(line[1])
a = []
for i in range(n):
s = input()
a.append(s)
ans = "";
for x in sorted(a):
ans += x
print(ans)
main()
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,607 |
s539073948 | p04044 | u645019684 | 1600747670 | Python | Python (3.8.2) | py | Accepted | 29 | 9164 | 107 | N, L = map(int, input().split())
w = []
for _ in range(N):
w.append(input())
w.sort()
print("".join(w)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,608 |
s743493667 | p04044 | u843482581 | 1600733278 | Python | Python (3.8.2) | py | Accepted | 28 | 8872 | 104 | N, L = map(int, input().split())
s = []
for i in range(N):
s.append(input())
print(''.join(sorted(s))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,609 |
s214951424 | p04044 | u097700948 | 1600726052 | Python | Python (3.8.2) | py | Accepted | 29 | 9072 | 117 | N, L = map(int, input().split())
S = []
for n in range(N):
s = input()
S.append(s)
S.sort()
print(''.join(S)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,610 |
s613453803 | p04044 | u843032026 | 1600707483 | Python | Python (3.8.2) | py | Accepted | 30 | 9152 | 99 | N,L=map(int,input().split())
S=[]
for i in range(N):
S.append(input())
S.sort()
print("".join(S)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,611 |
s824532032 | p04044 | u611835487 | 1600707156 | Python | Python (3.8.2) | py | Accepted | 31 | 9100 | 134 | N, L = map(int, input().split())
text_list = [input() for _ in range(N)]
sorted_list = sorted(text_list)
print(''.join(sorted_list)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,612 |
s121378141 | p04044 | u962718741 | 1600701077 | Python | Python (3.8.2) | py | Accepted | 28 | 9076 | 179 | #!/usr/bin/env python3
def main():
n, l = map(int, input().split())
s = sorted([input() for i in range(n)])
print("".join(s))
if __name__ == "__main__":
main()
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,613 |
s157446369 | p04044 | u446027224 | 1600683733 | Python | Python (3.8.2) | py | Accepted | 30 | 9144 | 105 | N, L = map(int,input().split())
l = list()
for i in range(N):
l.append(input())
print(*sorted(l),sep='') | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,614 |
s283273375 | p04044 | u572032237 | 1600666037 | Python | Python (3.8.2) | py | Accepted | 32 | 8892 | 107 | n, l = map(int, input().split())
s = []
for i in range(n):
s.append(input())
s.sort()
print(''.join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,615 |
s548092810 | p04044 | u015084832 | 1600657324 | Python | Python (3.8.2) | py | Accepted | 28 | 8960 | 219 | def main():
N, L = map(int, input().split())
Sn = [input() for i in range(N)]
Sn2 = sorted(Sn)
ans = ""
for val in Sn2 :
ans = ans + val
print(ans)
if __name__ == '__main__':
main()
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,616 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.