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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s980162537 | p04044 | u680503348 | 1590197838 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 609 | # For taking integer inputs.
def inp():
return(int(input()))
# For taking List inputs.
def inlist():
return(list(map(int, input().split())))
# For taking string inputs. Actually it returns a List of Characters, instead of a string, which is easier to use in Python, because in Python, Strings are Immutable.
... | 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,213,217 |
s934511330 | p04044 | u602972961 | 1590171052 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 116 | def f01():
n, l=map(int, input().split())
s=sorted([input() for i in range(n)])
print(''.join(s))
f01() | 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,213,218 |
s306398300 | p04044 | u687574784 | 1590160749 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 95 | n,l = list(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,213,219 |
s939064727 | p04044 | u879693268 | 1590158121 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 105 | a,b=map(int,input().split())
c=list(input() for i in range(a))
c.sort()
for i in c:
print(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,213,220 |
s479454078 | p04044 | u228232845 | 1590145702 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 618 | import sys
def LI(): return list(map(int, sys.stdin.buffer.readline().split()))
def I(): return int(sys.stdin.buffer.readline())
def LS(): return sys.stdin.buffer.readline().rstrip().decode('utf-8').split()
def S(): return sys.stdin.buffer.readline().rstrip().decode('utf-8')
def IR(n): return [I() for i 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,213,221 |
s755414924 | p04044 | u596668473 | 1590128692 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 134 | # 入力
N,L=map(int,input().split())
l=[]
for i in range(N):
l.append(input())
# ソート
l.sort()
# 出力
print(''.join(l))
| 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,213,222 |
s322868698 | p04044 | u996564551 | 1590123093 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 137 | N, L = input().split(' ')
N = int(N)
L = int(L)
a = []
for i in range(N):
a.append(input().rstrip())
a.sort()
b = ''.join(a)
print(b) | 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,213,223 |
s133403778 | p04044 | u195396655 | 1590106364 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 84 | 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,213,224 |
s302865838 | p04044 | u064383240 | 1590104843 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 99 | N, L = map(int, input().split())
S = [input() for _ in range(N)]
S.sort()
A = "".join(S)
print(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,213,225 |
s508202131 | p04044 | u178432859 | 1590040928 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 116 | n,l = map(int, input().split())
lis = list()
for i in range(n):
lis.append(input())
print("".join(sorted(lis)))
| 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,213,226 |
s910403412 | p04044 | u294721290 | 1590031587 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 128 | N,L = list(map(int,input().split()))
S = [input() for _ in range(N)]
T = sorted(S)
L =''
for i in range(N):
L+=T[i]
print(L) | 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,213,227 |
s913610889 | p04044 | u663767599 | 1590029467 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 92 | 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,213,228 |
s980791722 | p04044 | u198930868 | 1590025001 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 105 | n,l = map(int,input().split())
s = [input() for f in range(n)]
string = sorted(s)
print("".join(string)) | 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,213,229 |
s900718146 | p04044 | u941047297 | 1590024177 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 102 | n, l = list(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,213,230 |
s275383737 | p04044 | u167647458 | 1590018272 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 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,213,231 |
s936353325 | p04044 | u737840172 | 1590000365 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 220 | n, l = list(map(int, input().split()))
list_of_words = []
for _ in range(n):
s = input()
list_of_words.append(s)
list_of_words.sort()
answer = ""
for word in list_of_words:
answer += word
print(answer)
| 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,213,232 |
s004907376 | p04044 | u564004296 | 1589992264 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 457 | import collections
#文字列を一文字ずつ取得したいとき
def inputStrOnebyOne():
s = list(input())
return s
#整数を一つずつリストに入れる
def inputOnebyOne_Int():
a = list(int(x) for x in input().split())
return a
def main():
num, length = map(int, input().split())
s = []
for i in range(int(num)):
s.append(input()... | 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,213,233 |
s528921055 | p04044 | u698919163 | 1589992019 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 136 | N,L = map(int,input().split())
S = [input() for i in range(N)]
S.sort()
ans = []
for i in range(N):
ans += S[i]
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,213,234 |
s857995861 | p04044 | u203669169 | 1589990087 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 110 | N,L = [int(_) for _ in input().split()]
S = [input().split()[0] 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,213,235 |
s514263618 | p04044 | u810288681 | 1589984975 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 89 | n,l = map(int, input().split())
s = sorted([input() for i 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,213,236 |
s317693267 | p04044 | u822179469 | 1589940312 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 90 | n,l = map(int,(input().split()))
a =[input() for i 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,213,237 |
s831164503 | p04044 | u871980676 | 1589927554 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 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,213,238 |
s330586256 | p04044 | u238940874 | 1589925699 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 85 | 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,213,239 |
s217616094 | p04044 | u728611988 | 1589913052 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 101 | N, L = map(int, input().split())
x = list(input() for i in range(N))
s = "".join(sorted(x))
print(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,213,240 |
s633509842 | p04044 | u110859855 | 1589912983 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 114 | n,l = map(int,input().split())
dic = []
for i in range(n):
dic.append(input())
dic.sort()
print(''.join(dic)) | 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,213,241 |
s303894537 | p04044 | u298520807 | 1589894504 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 91 | N, L = map(int, input().split())
S = ''.join(sorted((input() for _ in range(N))))
print(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,213,242 |
s152918840 | p04044 | u857673087 | 1589850565 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 105 | N,L = map(int,input().split())
S = [input() for _ in range(N)]
s = sorted(S)
ans = "".join(s)
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,213,243 |
s153763033 | p04044 | u888100977 | 1589803570 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 139 | n, l = map(int, input().split())
s = []
for _ in range(n):
s.append(input())
s.sort()
ans = ''
for word in s:
ans += 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,213,244 |
s599742748 | p04044 | u193657135 | 1589757442 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 106 | 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,213,245 |
s784191795 | p04044 | u068142202 | 1589748580 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 104 | n, l = map(int, input().split())
words = [input() for _ in range(n)]
words.sort()
print("".join(words))
| 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,213,246 |
s166860546 | p04044 | u099300051 | 1589748035 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 146 | n,l = map(int,input().split())
list=[]
for _ in range(n):
list.append(str(input()))
str=""
for i in range(n):
str+=sorted(list)[i]
print(str) | 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,213,247 |
s526126111 | p04044 | u038021590 | 1589743303 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 97 | N, L = map(int, input().split())
S = [input() for _ in range(N)]
S.sort()
S = ''.join(S)
print(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,213,248 |
s069596868 | p04044 | u381282312 | 1589729698 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 126 | n, l = map(int, input().split())
s = []
for _ in range(n):
s.append(input())
s.sort()
a = ''
for i in s:
a = a+i
print(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,213,249 |
s920280150 | p04044 | u255595446 | 1589713666 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 182 | import sys
sys.setrecursionlimit(10**6)
input = lambda: sys.stdin.readline().rstrip()
N,L = map(int,input().split())
S = [str(input()) for _ in range(N)]
S.sort()
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,213,250 |
s882000270 | p04044 | u673926998 | 1589692327 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 119 | n,l=map(int,input().split())
str=[]
for i in range(n):
str.append(input())
str.sort()
strn=''.join(str)
print(strn) | 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,213,251 |
s654712354 | p04044 | u178963077 | 1589686112 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 115 | n, l = list(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,213,252 |
s856486929 | p04044 | u923662841 | 1589666985 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 124 | N, L = map(int, input().split())
lists = []
for i in range(N):
lists.append(input())
lists.sort()
print(''.join(lists)) | 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,213,253 |
s673239686 | p04044 | u993268357 | 1589662031 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 122 | n, k = map(int, input().split())
list = [input() for _ in range(n)]
sorted_list = sorted(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,213,254 |
s300765064 | p04044 | u422272120 | 1589657213 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 121 | n,l = map(int,input().split())
s = []
for _ in range(n):
s.append(input())
s = sorted(s)
print(''.join(map(str, 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,213,255 |
s429673836 | p04044 | u896847891 | 1589647809 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 112 | n, l = map(int, input().split())
s = [input() for i in range(n)]
s.sort()
for x in s:
print(x, end="")
print() | 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,213,256 |
s967028093 | p04044 | u391819434 | 1589645633 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 85 | 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,213,257 |
s848975412 | p04044 | u702208001 | 1589640213 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 88 | 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,213,258 |
s195760593 | p04044 | u480300350 | 1589610084 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 2,966 | #!/usr/bin/env python3
import sys
# import math
# from string import ascii_lowercase, ascii_upper_case, ascii_letters, digits, hexdigits
# import re # re.compile(pattern) => ptn obj; p.search(s), p.match(s), p.finditer(s) => match obj; p.sub(after, s)
# from operator import itemgette... | 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,213,259 |
s529950757 | p04044 | u970809473 | 1589601006 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 105 | n,l = map(int, input().split())
a = []
for i in range(n):
a.append(input())
a.sort()
print(*a, 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,213,260 |
s978819305 | p04044 | u818308350 | 1589594441 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 104 | #input
s=[]
n,b=map(int,input().split())
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,213,261 |
s101270271 | p04044 | u156383602 | 1589592301 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 106 | n,m=map(int,input().split())
ans=[]
for i in range(n):
ans.append(input())
print("".join(sorted(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,213,262 |
s316791376 | p04044 | u179019249 | 1589591520 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 161 | N, L = map(int, input().split())
S = []
for i in range(N):
S.append(input())
S_sort = sorted(S)
str = ''
for i in range(N):
str += S_sort[i]
print(str)
| 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,213,263 |
s527821920 | p04044 | u178079174 | 1589589376 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 94 | N,L = list(map(int,input().split()))
S = sorted([input() 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,213,264 |
s244343986 | p04044 | u536034761 | 1589554417 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 90 | 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,213,265 |
s958354527 | p04044 | u215341636 | 1589553230 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 93 | 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,213,266 |
s732480803 | p04044 | u284534319 | 1589529028 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 130 | #!/usr/bin/env python3
N, L = map(int, input().split())
S = []
for n 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,213,267 |
s120492118 | p04044 | u860002137 | 1589512204 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 111 | 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,213,268 |
s755581045 | p04044 | u518958552 | 1589508380 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 91 | n, l = map(int,input().split())
a = [input() for i 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,213,269 |
s481465090 | p04044 | u662430503 | 1589505346 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 158 | def main():
num = list(map(int,input().split()))
value = [input() for i in range(num[0])]
value_sorted=sorted(value)
print(''.join(value_sorted))
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,213,270 |
s433389724 | p04044 | u271752889 | 1589498614 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 93 | n,k=map(int,input().split())
l=[input() for i in range(n)]
l.sort()
ans=''.join(l)
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,213,271 |
s336873581 | p04044 | u617829104 | 1589480667 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 98 | N, L = map(int, input().split())
s = [input() for i in range(N)]
s2 = sorted(s)
print("".join(s2)) | 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,213,272 |
s602185188 | p04044 | u688203790 | 1589480075 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 171 | N,L = map(int,input().split())
S_hai = []
ans = ""
for _ in range(N):
S_hai.append(input())
sort_S = sorted(S_hai)
for i in sort_S:
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,213,273 |
s515580693 | p04044 | u617829104 | 1589479130 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 136 | N, L = map(int, input().split())
s = [input() for i in range(N)]
s2 = sorted(s)
ans = ""
for i in range(N):
ans += s2[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,213,274 |
s472908804 | p04044 | u998679483 | 1589475678 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 158 | def main():
n, l = map(int, input().split())
S = list(input() for _ in range(n))
print(''.join(sorted(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,213,275 |
s328994538 | p04044 | u370852395 | 1589471333 | Python | Python (3.8.2) | py | Accepted | 19 | 9128 | 127 | N,L=map(int,input().split())
str_list=sorted([input() for i in range(N) ])
s=''
for i in range(N):
s+=str_list[i]
print(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,213,276 |
s854968367 | p04044 | u790012205 | 1589470327 | Python | Python (3.8.2) | py | Accepted | 23 | 9044 | 138 | N, L = map(int, input().split())
S = []
for i in range(N):
S.append(input())
S.sort()
A = ''
for i in range(N):
A += S[i]
print(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,213,277 |
s523473675 | p04044 | u679089074 | 1589436516 | Python | Python (3.8.2) | py | Accepted | 22 | 9076 | 169 | N,L = map(int,input().split())
wordlist = []
for i in range(N):
x = input()
wordlist.append(x)
answer = "".join(sorted(wordlist))
print(answer)
| 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,213,278 |
s236652322 | p04044 | u679089074 | 1589434205 | Python | Python (3.8.2) | py | Accepted | 25 | 9172 | 169 | N,L = map(int,input().split())
wordlist = []
for i in range(N):
x = input()
wordlist.append(x)
answer = "".join(sorted(wordlist))
print(answer)
| 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,213,279 |
s463246636 | p04044 | u363836311 | 1589433766 | Python | Python (3.8.2) | py | Accepted | 22 | 9108 | 134 | N,L=map(int, input().split())
S=['']*N
for i in range(N):
S[i]=str(input())
S.sort()
t=''
for i in range(N):
t+=S[i]
print(t)
| 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,213,280 |
s006971561 | p04044 | u513081876 | 1589426326 | Python | PyPy3 (7.3.0) | py | Accepted | 64 | 62336 | 91 | N, L = map(int, input().split())
S = sorted([input() for i 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,213,281 |
s808633960 | p04044 | u844895214 | 1589419469 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 181 | tmp = list(map(int, input().split()))
N = tmp.pop(0)
L = tmp.pop(0)
S = []
for i in range(N):
S.append(str(input()))
S.sort()
s = ''
for i in range(N):
s += S[i]
print(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,213,282 |
s284339386 | p04044 | u746428948 | 1589417701 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 134 | n,l = map(int,input().split())
s = []
for i in range(n):
s.append(input())
s = sorted(s)
for i in range(n):
print(s[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,213,283 |
s121462135 | p04044 | u134019875 | 1589415050 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 89 | N, L = map(int, input().split())
S = sorted(input() 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,213,284 |
s639053867 | p04044 | u379142263 | 1589349392 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 306 | import sys
import itertools
sys.setrecursionlimit(1000000000)
from heapq import heapify,heappop,heappush,heappushpop
import math
import collections
MOD = 10**9+7
MAX = 10**18
MIN = -10**18
n,l = map(int,input().split())
S = [input() for i in range(n)]
S.sort()
ans = ""
for i in S:
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,213,285 |
s040357449 | p04044 | u931889893 | 1589347807 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 118 | N, L = map(int, input().split())
lists = []
for n in range(N):
lists.append(input())
print(''.join(sorted(lists))) | 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,213,286 |
s342929726 | p04044 | u018984506 | 1589337678 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 154 | from sys import exit
n,l = map(int, input().split())
s = [input() for i in range(n)]
ss = sorted(s)
ans=""
for i in range(n):
ans +=ss[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,213,287 |
s607483979 | p04044 | u252828980 | 1589335582 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 89 | n,l = map(int,input().split())
L = [input() for _ in range(n)]
L.sort()
print("".join(L)) | 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,213,288 |
s967454201 | p04044 | u806403461 | 1589331498 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 128 | n, l = map(int, input().split())
s = list()
for a in range(0, n):
s.append(input())
s = list(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,213,289 |
s055536590 | p04044 | u761062383 | 1589321647 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 128 | n, l = [int(i) for i in input().split()]
ss = [input() for _ in range(n)]
ss.sort()
for s in ss:
print(s, end="")
print("")
| 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,213,290 |
s310626534 | p04044 | u835534360 | 1589305879 | Python | Python (3.4.3) | py | Accepted | 29 | 3684 | 149 | from functools import reduce
n, l = (int(x) for x in input().split())
ss = [input() for i in range(n)]
ss.sort()
print(reduce(lambda x, y: x+y, 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,213,291 |
s099337930 | p04044 | u876169782 | 1589305332 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 132 | N = input().split(" ")
a = int(N[0])
b = int(N[1])
l = []
for i in range(a):
l.append(input())
l.sort()
print("".join(l)) | 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,213,292 |
s468124292 | p04044 | u349444371 | 1589299141 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 143 | N,L=map(int,input().split())
l=[]
for i in range(N):
S=input()
l.append(S)
#print(l)
l2=sorted(l)
#print(l2)
ans="".join(l2)
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,213,293 |
s572488614 | p04044 | u278855471 | 1589294212 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 149 | N, L = map(int, input().split())
string = ''
str_list = [input() for _ in range(N)]
str_list.sort()
for s in str_list:
string += s
print(string)
| 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,213,294 |
s753564162 | p04044 | u446601167 | 1589244509 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 163 | N, L = map(int,input().split())
S = []
for _ in range(N):
S.append(input())
sorted_S = sorted(S)
string = ""
for str in sorted_S:
string += str
print(string) | 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,213,295 |
s186889933 | p04044 | u227085629 | 1589168565 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 145 | n,l = map(int,input().split())
word_list = [input() for nesya in range(n)]
s = sorted(word_list)
ans = ''
for hoge in s:
ans += hoge
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,213,296 |
s821892209 | p04044 | u652445326 | 1589155667 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 126 | N , L = map(int,input().split())
lis = list()
for i in range(N):
lis.append(str(input()))
lis.sort()
print("".join(lis))
| 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,213,297 |
s602356390 | p04044 | u556657484 | 1589153242 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 109 | 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,213,298 |
s808890705 | p04044 | u595600198 | 1589149384 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 152 | N,L = map(int, input().split())
scripts =[]
for i in range(N):
temp = input()
scripts.append(temp)
scripts.sort()
ans = ''.join(scripts)
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,213,299 |
s372326541 | p04044 | u178474644 | 1589147143 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 331 | x = list(map(int,input().split()))
N = x[0]
L = x[1]
ls_N = []
for i in range(N):
n = input()
ls_N.append(n)
ls_N = sorted(ls_N)
# "".join(配列)で,””の中のものが入る.ただ続けたい場合は””の中に何も入れない
# sortedした文字列は自動で辞書順
s = "".join(ls_N)
print(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,213,300 |
s765751204 | p04044 | u306950978 | 1589144212 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 113 | n , l = map(int,input().split())
s = [input() for i in range(n)]
s.sort()
for i in s:
print(i,end="")
print() | 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,213,301 |
s190642071 | p04044 | u517630860 | 1589143114 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 150 | # -*- coding: utf-8 -*-
n, l = map(int, input().split())
words = []
for i in range(n):
words.append(input())
words.sort()
print(''.join(words)) | 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,213,302 |
s009965550 | p04044 | u021906447 | 1589127831 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 129 | N,L = map(int,input().split())
strs = []
for i in range(N):
n = input()
strs.append(n)
strs.sort()
print("".join(strs)) | 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,213,303 |
s219921439 | p04044 | u317916383 | 1589113896 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 181 | inputNL = input().split(" ")
N = int(inputNL[0])
L = int(inputNL[1])
inputs = []
for n in range(N):
inputs.append(input())
inputs.sort()
answer = "".join(inputs)
print(answer) | 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,213,304 |
s619189665 | p04044 | u443996531 | 1589088328 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 129 | n,l = map(int,input().split())
s = [""]*n
for i in range(n):
s[i] = input()
s.sort()
ans = ""
for x in s:
ans += x
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,213,305 |
s942655638 | p04044 | u426649993 | 1589087326 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 160 | def main():
N, L = map(int, input().split())
S = [input() for _ in range(N)]
S.sort()
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,213,306 |
s352340366 | p04044 | u683406607 | 1589084476 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 126 | n, l = map(int, input().split())
s = [input() for _ in range(n)]
s.sort()
ans = ""
for each in s:
ans += each
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,213,307 |
s929919758 | p04044 | u446451725 | 1589081278 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 195 | NL = input().split()
N = int(NL[0])
L = int(NL[1])
st = []
for i in range(N):
a = input()
st.append(a)
s_st = sorted(st)
dic = ""
for j in range(len(s_st)):
dic += s_st[j]
print(dic) | 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,213,308 |
s682188702 | p04044 | u397953026 | 1589080677 | Python | Python (3.4.3) | py | Accepted | 18 | 3188 | 89 | 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,213,309 |
s424694744 | p04044 | u629350026 | 1589070688 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 184 | n,l=map(int,input().split())
s=[0]*n
for i in range(0,n):
s[i]=str(input())
s.sort()
result="A"
for i in range(0,n):
result=result+str(s[i])
result=result.lstrip("A")
print(result) | 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,213,310 |
s263262300 | p04044 | u067227603 | 1589057896 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 92 | 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,213,311 |
s107468836 | p04044 | u973108807 | 1589053867 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 137 | n,l = map(int, input().split())
arr = []
for _ in range(n):
arr.append(input())
arr.sort()
ans = ""
for s in arr:
ans += s
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,213,312 |
s935321325 | p04044 | u692498898 | 1588993698 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 160 | n,l=map(int,input().split())
list=[]
for i in range(n):
s=input()
list.append(s)
list.sort()
ans=list[0]
for i in range(n-1):
ans=ans+list[i+1]
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,213,313 |
s734598977 | p04044 | u165268875 | 1588987759 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 97 |
N, L = map(int, input().split())
S = [input() for i in range(1,N+1)]
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,213,314 |
s477936028 | p04044 | u494748969 | 1588973151 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 163 | n, l = list(map(int, input().split()))
s = []
for i in range(n):
s.append(str(input()))
s = sorted(s)
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,213,315 |
s057698325 | p04044 | u560867850 | 1588961224 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 90 | n, l = map(int, input().split())
S = sorted(input() 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,213,316 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.