submission_id string | problem_id string | status string | code string | input string | output string | problem_description string |
|---|---|---|---|---|---|---|
s542197843 | p04044 | Accepted | n,l = map(int,input().split())
a=list(input() for i in range(n))
a.sort()
s=''
for i in range(n):
s+=a[i]
print(s) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s496060190 | p04044 | Accepted | N,L=map(int,input().split())
S=[0]*N
for i in range(N):
S[i]=input()
S.sort()
ans=''
for i in range(N):
ans+=S[i]
print(ans) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s139549475 | p04044 | Accepted | N, L = map(int, input().split())
S = ['_'] * N
for i in range(N):
S[i] = input()
print(''.join(sorted(S)))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s358693801 | p04044 | Accepted | N,L = map(int,input().split())
s = [input() for i in range(N)]
s.sort()
ans = "".join(s)
print(ans) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s413608709 | p04044 | Accepted |
n=int(input().split()[0])
l=[]
for i in range(n):
l.append(input())
l.sort()
r=""
for i in l:
r+=i
print(r)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s192581219 | p04044 | Accepted | amount, length = map(int, input().rstrip().split())
str_list =sorted([input().rstrip() for a in range(amount)])
the_str = ''
for a in range(amount):
the_str += str_list[a]
print(the_str) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s641586338 | p04044 | Accepted | n,l=map(int,input().split())
p=[input()for i in range(n)]
p.sort()
a=p[0]
for i in range(1,n):
a+=p[i]
print(a) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s838737038 | p04044 | Accepted | #最初に入力される情報を整理する
str_input_list = input().rstrip().split(' ')
int_input_list = []
for a in str_input_list:
int_input_list.append(int(a))
amount = int_input_list[0]
length = int_input_list[1]
#文字列を受け取りリストに格納
mojiretu_list = []
for a in range(amount):
mojiretu_list.append(input())
#文字列を小さい順に並べ、結合
sorted_list... | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s053788936 | p04044 | Accepted | amount, length = map(int, input().split())
S = sorted([input() for a in range(amount)])
print(''.join(S)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s802100367 | p04044 | Accepted | N, L = map(int, input().split())
S = [input() for i in range(N)]
S.sort()
for s in S:
print(s,end='')
print() | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s983697740 | p04044 | Accepted | n,l = input().split()
s = [input() for i in range(int(n))]
s.sort()
print("".join(s)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s401103617 | p04044 | Accepted | N , L = map(int,input().split())
alpha='abcdefghijklmnopqrstuvwxyz'
def which(a,b):
l=len(a)
for i in range(l):
x=alpha.index(a[i])
y=alpha.index(b[i])
if x<y:return True
if x>y:return False
S = []
S.append(str(input()))
for i in range(1,N):
Si=str(input())
for j... | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s977432834 | p04044 | Accepted | a, b = map(int, input().split())
L=[input() for _ in range(a)]
L=sorted(L)
tmp=""
for x in L:
tmp += x
print(tmp) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s221978567 | p04044 | Accepted | n,l=map(int,input().split())
s=[input() for i in range(n)]
print("".join(sorted(s))) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s288785632 | p04044 | Accepted | n, l = map(int, input().split())
sn = []
for _ in range(1, n+1):
sn.append(input())
sn = sorted(sn)
sn = ''.join(sn)
print(sn) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s636709009 | p04044 | Accepted | def execute(n, l, sn):
return ''.join(sorted(sn))
pass
if __name__ == '__main__':
n, l = map(int, input().split())
sn = []
for _ in range(n):
sn.append(input())
print(execute(n, l, sn))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s407012520 | p04044 | Accepted | a,b = map(int,input().split())
k = []
s = ""
for i in range(a):
k.append(input())
k.sort()
for i in k:
s+=i
print(s) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s129128173 | p04044 | Accepted | n, l = map(int, input().split())
s = [input() for _ in range(n)]
s.sort()
print(''.join(s))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s607643157 | p04044 | Accepted | n, l = map(int, input().split())
s = []
for i in range(n):
s.append(input())
s.sort()
for i in range(n):
print(''.join(s[i]), end="") | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s081660366 | p04044 | Accepted | a,b=map(int,input().split())
c=[]
for i in range(a):
c.append(input())
c.sort()
print("".join(c)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s157409931 | p04044 | Accepted | n,l=map(int,input().split())
s=[]
for i in range(n):
s.append(input())
s.sort()
print("".join(s)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s966863512 | p04044 | Accepted | n,l=map(int,input().split())
c=[]
for i in range(n):
c.append(input())
c.sort()
print("".join(c))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s000191862 | p04044 | Accepted | N, L = map(int, input().split())
#標準入力からリストの作成
list = []
for _ in range(N):
i = str(input())
list.append(i)
#リストのソート
list_a = sorted(list)
#リストの結合
mojiretu = ''.join(list_a)
print(mojiretu) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s724258280 | p04044 | Accepted | N,L = map(int,input().split())
S = []
for i in range(N):
S.append(str(input()))
des_S = sorted(S)
print("".join(des_S)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s507947657 | p04044 | Accepted | a,b=input().split()
a=int(a)
c=[]
for i in range(a):
d=input()
c.append(d)
c.sort()
s=''
for i in c:
s+=i
print(s) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s766728068 | p04044 | Accepted | import sys
n,l = map(int,input().split())
s =[]
for i in range(n):
s.append((input()))
s.sort()
for i in range(n):
sys.stdout.write(s[i])
print("")
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s412836516 | p04044 | Accepted | N, L = map(int, input().split())
print("".join(sorted([input() for _ in range(N)])))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s038522829 | p04044 | Accepted | N,L = map(int,input().split())
S = []
for i in range(N):
s = input()
S.append(s)
S.sort()
print("".join(S)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s655670499 | p04044 | Accepted | import sys
input = sys.stdin.readline
def ii():
return int(input())
def il():
return list(map(int, input().split()))
N, L = il()
print("".join(sorted([input()[:-1] for _ in range(N)])))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s612518385 | p04044 | Accepted | n, l = map(int, input().split())
A = [input() for _ in range(n)]
A.sort()
print("".join(A)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s179169336 | p04044 | Accepted | n, l = [int(x) for x in input().split()]
print(''.join(sorted([input() for _ in [0] * n])))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s375720337 | p04044 | Accepted | n, l = map(int, input().split())
A = []
for i in range(n):
A.append(input())
A.sort()
ans = ''
for i in A:
ans += i
print(ans) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s138635051 | p04044 | Accepted | n,l = map(int,input().split())
lst = [input() for _ in range(n)]
lst.sort()
print("".join(lst)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s813315144 | p04044 | Accepted | int_n, int_l = map(int, input().split())
li_s = list()
for i in range(int_n):
li_s.append(input())
print("".join(sorted(li_s)))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s702167408 | p04044 | Accepted | N,_ = list(map(int,input().split()))
A = [input() for i in range(N)]
A.sort()
B = "".join(A)
print(B) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s235456780 | p04044 | Accepted | import sys
lines = sys.stdin.readlines()
strings = []
for n, line in enumerate(lines):
if n == 0:
N, L = [int(_) for _ in line.strip().split(' ')]
continue
strings.append(line.strip())
def append(source, target):
source = sorted(source)
target.append(source[0])
source.remove(source[0])
if not len... | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s870409583 | p04044 | Accepted | N, L = map(int, input().split())
S = [input() for _ in range(N)]
S.sort()
for s in S:
print(s, end = "")
print("") | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s679620370 | p04044 | Accepted | # _*_ coding:utf-8 _*_
# Atcoder_Beginners_Contest042-B
# TODO https://atcoder.jp/contests/abc042/tasks/abc042_b
import time
from contextlib import contextmanager
# from time import sleep
@contextmanager
def timer(title):
t0 = time.time()
yield
print("{} - done in {:.0f}s".format(title,time.time()-t0) )
def make... | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s254095108 | p04044 | Accepted | #B - 文字列大好きいろはちゃんイージー
s = input().split()
n = int(s[0])
list = []
for i in range(n):
list.append(input())
#print(list)
list.sort()
for i in range(len(list)):
print(list[i], end='')
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s594919136 | p04044 | Accepted | n,l=map(int,input().split());s=[input()for _ in[0]*n];print("".join(sorted(s))) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s218333237 | p04044 | Accepted | N, L = [int(i) for i in input().split()]
S = [input().strip() for i in range(N)]
print(''.join(sorted(S))) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s062345097 | p04044 | Accepted | n,l=map(int,input().split())
s=[input() for i in range(n)]
print("".join(sorted(s)))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s483749954 | p04044 | Accepted | n,l = map(int,input().split())
A = [input() for _ in range(n)]
A.sort()
ans = ''
for i in range(n):
ans += A[i]
print(ans) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s403801572 | p04044 | Accepted | n,l = map(int,input().split())
A = [input() for _ in range(n)]
A.sort()
ans = ''
for i in range(n):
ans += A[i]
print(ans) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s275243537 | p04044 | Accepted | N, L = map(int, input().split())
S = []
for i in range(N):
S.append(input())
S.sort()
S = ''.join(S)
print(S) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s693509393 | p04044 | Accepted | temp = input().rstrip().split(" ")
N = int(temp[0])
L = int(temp[1])
list1 = []
for i in range(N):
list1.append(input().rstrip())
list1.sort()
ans = ""
for i in range(N):
ans += list1[i]
print(ans) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s363280293 | p04044 | Accepted | N,L=map(int,raw_input().split())
S=[]
for i in range(N):
S.append(raw_input())
#print S
S_num=[]
for i in range(N):
s_num=""
for alpha in S[i]:
s_num+="{:0=2}".format(ord(alpha)-ord("a")+1)
S_num.append([int(s_num),i])
S_num.sort()
S_sort=[str(s_num[0]) if len(str(s_num[0]))%2==0 else "0"+str(s... | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s242326087 | p04044 | Accepted | N, L = map(int, input().split())
S = []
for i in range(N):
S.append(input())
S = sorted(S)
print(''.join(S))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s166657687 | p04044 | Accepted | N, L = map(int, input().split())
S = [input() for i in range(N)]
c = 0
while c < N:
for i in range(0, N-1-c):
if S[i] > S[i+1]:
S[i], S[i+1] = S[i+1], S[i]
c += 1
print(''.join(S))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s128724372 | p04044 | Accepted | N,L=map(int, input().split())
Sss=[input() for _ in range(N)]
Sss.sort()
print(''.join(Sss))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s011466784 | p04044 | Accepted | n, l = map(int,input().split())
s=[]
for i in range(n):
s.append(input())
s.sort()
ans = s[0]
for i in range(1,n):
ans += s[i]
print(ans) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s483194133 | p04044 | Accepted | N,L=map(int,input().split())
s=[input() for i in range(N)]
s=sorted(s)
print("".join(s))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s913765132 | p04044 | Accepted | N,L=map(int,input().split())
s=[input() for i in range(N)]
s=sorted(s)
s="".join(s)
print(s) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s605098693 | p04044 | Accepted | n,l = map(int, input().split())
string = [input() for i in range(n)]
string.sort()
print("".join(string)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s866115411 | p04044 | Accepted | n,l=map(int,input().split())
s=[]
for i in range(n):
s.append(input())
s.sort()
a=''
for i in s:
a+=i
print(a) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s868800374 | p04044 | Accepted | N, L = map(int,input().split())
S = sorted([input() for _ in range(N)])
print(''.join(S)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s980084559 | p04044 | Accepted | N, L = map(int, input().split())
S = [input() for i in range(N)]
S.sort()
result = ''
for i in range(N):
result += S[i]
print(result)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s933487447 | p04044 | Accepted | #
n,l=map(int,input().split())
s=[0 for i in range(n)]
for i in range(n):
s[i]=input()
s.sort()
ans=""
for i in range(n):
ans+=s[i]
print(ans) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s916760979 | p04044 | Accepted | if __name__ == '__main__':
a, b = (int(i) for i in input().split())
str_list = [input() for i in range(a)]
print("".join(sorted(str_list)))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s709887531 | p04044 | Accepted | n, l = map(int, input().split())
literals = [input() for _ in range(n)]
print("".join(sorted(literals))) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s397715349 | p04044 | Accepted | def main():
n, _ = map(int, input().split())
ss = [input() for _ in range(n)]
ss.sort()
print(''.join(ss))
if __name__ == '__main__':
main()
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s870645830 | p04044 | Accepted | n,l=map(int,input().split())
list=[input() for i in range(n)]
ans=""
list.sort()
for i in range(len(list)):
ans = ans + list[i]
print(ans) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s172530552 | p04044 | Accepted | N, L = map(int, input().split(' '))
str_list = [input() for i in range(N)]
str_list.sort()
bonded_str = ''
for j in str_list:
bonded_str += j
print(bonded_str) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s405668769 | p04044 | Accepted | import sys
t_list = []
for i in sys.stdin.readlines():
t_list.append(i.rstrip())
t_list.pop(0)
def solution(t_list):
t_list.sort()
ans_str = ""
for i in t_list:
ans_str += i
return ans_str
def main():
print(solution(t_list))
if __name__ == '__main__':
main() | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s591332067 | p04044 | Accepted | def listToString(_list, split=""):
maped_list = map(str, _list) # mapで要素すべてを文字列に
mojiretu = split.join(maped_list)
return mojiretu
n, l = [int(i) for i in input().split()]
s = ["" for _ in range(n)]
for i in range(len(s)):
s[i] = input()
s.sort()
print(listToString(s)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s037751837 | p04044 | Accepted | n, l = map(int, input().split())
s = sorted([input() for _ in range(n)], key=lambda x: ([x[i] for i in range(l)]))
print("".join(s))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s231493780 | p04044 | Accepted | N,L = map(int, input().split())
s = [input() for _ in range(N)]
s.sort()
print("".join(s)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s243392260 | p04044 | Accepted | N,L=map(int,input().split())
S=[input() for i in range(N)]
S.sort()
ANS=""
for s in S:
ANS+=s
print(ANS) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s334667420 | p04044 | Accepted | N,L = map(int,input().split())
s_list = [input() for i in range(N)]
s_list.sort()
ans = ''
for i in range(N):
ans = ans+s_list[i]
print(ans) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s254648184 | p04044 | Accepted | N, L = map(int, input().split(" "))
st_list = []
for i in range(N):
st_list.append(input())
st_list.sort()
print("".join(st_list)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s794388783 | p04044 | Accepted | n, l = map(int, input().split())
s = []
for i in range(n):
s.append(input())
s = sorted(s)
print("".join(s))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s851924362 | p04044 | Accepted | N,L=map(int,input().strip().split(" "))
a=[]
for i in range(N):
a.append(input())
a.sort()
b=str(a)
b=b.replace(",","")
b=b.replace("[","")
b=b.replace("]","")
b=b.replace("'","")
b=b.replace(" ","")
print(b)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s030314489 | p04044 | Accepted | n,l = map(int,input().split())
s = []
for i in range(n):
temp = input()
s.append(temp)
s.sort()
for i in range(n):
if i != n-1:
print(s[i],end="")
else:
print(s[i]) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s131129707 | p04044 | Accepted | # input
n, l = map(int, input().split())
S = sorted([input() for _ in range(n)])
ans = ''
for i in range(n):
ans += S[i]
print(ans)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s615504422 | p04044 | Accepted | line = input().split(" ")
N = int(line[0])
L = int(line[1])
str = [0 for i in range(N)]
for i in range(N):
str[i] = input()
str = sorted(str)
for i in range(N):
print(''.join(str[i]), end = '')
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s595581117 | p04044 | Accepted | import sys
def solve(n, l, ls_s):
sl = sorted(ls_s)
s = ''
for i in sl:
s += i
print(s)
def readQuestion():
ws = sys.stdin.readline().strip().split()
n = int(ws[0])
l = int(ws[1])
ls_s = [sys.stdin.readline().strip().split()[0] for j in range(n)]
return (n, l, ls_s,)
def ... | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s829347532 | p04044 | Accepted | N,L = map(int, input().split())
print(''.join(sorted([input() for n in range(N)])))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s458584832 | p04044 | Accepted | N, L = map(int, input().split(" "))
S = [input() for i in range(N)]
S = sorted(S)
s = ''.join(S)
print(s) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s831108580 | p04044 | Accepted | n,l = input().split()
n=int(n)
e = [[i for i in input().split()] for i in range(n)]
e.sort()
#print(e)
for i in range(n):
print(e[i][0], end="")
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s757256508 | p04044 | Accepted | #!/usr/bin/env python3
import sys
def solve(n, l, ls_s):
print(''.join(sorted(ls_s)))
def readQuestion():
ws = sys.stdin.readline().strip().split()
n = int(ws[0])
l = int(ws[1])
ls_s = [sys.stdin.readline().strip().split()[0] for j in range(n)]
return (n, l, ls_s,)
def main():
solve(*re... | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s678331820 | p04044 | Accepted | N, L = [int(_) for _ in input().split()]
print(''.join(sorted([input() for _ in range(N)])))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s194802151 | p04044 | Accepted | a,b = list(map(int,input().split()))
c = [input() for _ in range(a)]
c = sorted(c)
print("".join(c)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s779041144 | p04044 | Accepted | n,l = map(int,input().split())
strings=[input() for i in range(n)]
strings.sort()
print("".join(strings)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s830705595 | p04044 | Accepted | n, l = list(map(int, input().split()))
s = [input() for _ in range(n)]
s.sort()
print("".join(s)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s697765134 | p04044 | Accepted | N, L = map(int, input().split())
l = [input() for i in range(N)]
print("".join(sorted(l))) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s665566195 | p04044 | Accepted | N, L = map(int, input().split())
S = []
for i in range(N):
S.append(input())
S.sort()
print(''.join(S)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s703842289 | p04044 | Accepted | N,L = map(int, input().split())
S = list(input() for _ in range(N))
ans = ""
while S:
min_s = S[0]
for si in S[1:]:
min_s = min(si, min_s)
ans += min_s
S.remove(min_s)
print(ans) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s234871604 | p04044 | Accepted | import sys
import math
import collections
import itertools
import array
import inspect
# Set max recursion limit
sys.setrecursionlimit(1000000)
# Debug output
def chkprint(*args):
names = {
id(v): k
for k, v in inspect.currentframe().f_back.f_locals.items()
}
print(', '.join(
name... | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s066442301 | p04044 | Accepted | l = [int(i) for i in input().split() ]
N = l[0]
L = l[1]
words = []
_ap = words.append
for i in range(N) :
_ap(input())
out_str = ""
_rm = words.remove
while True :
min_word = min(words)
out_str += min(words)
_rm(min_word)
if (len(words) == 0) :
break;
print(out_str)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s314361763 | p04044 | Accepted | a,b = map(int,input().split())
list = []
for i in range(a):
list.append(input())
list.sort()
x = ''.join(list)
print(x) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s642145690 | p04044 | Accepted | N,L=map(int,input().split())
S = [input() for i in range(N)]
S.sort()
for s in S:
print(s,end='') | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s581444748 | p04044 | Accepted | n,l=map(int, input().split())
s=[list(input()) for i in range(n)]
s.sort()
for i in s:
for j in i:
print(j,end="")
print() | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s040052158 | p04044 | Accepted | N, L = map(int, input().split())
ans = ""
s = []
for i in range(N):
s.append(input())
s.sort()
for i in range(N):
ans += s[i]
print(ans)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s449755909 | p04044 | Accepted | N,L=map(int,input().split())
Words=[input() for i in range(N)]
Words.sort(key=lambda x: x)
W=""
for w in Words:
W+=w
print(W)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s079292976 | p04044 | Accepted | N,L = list(map(int,input().split()))
a = [input() for i in range(N)]
b = []
for i in range(N):
b.append(a[i])
c = sorted(b)
print("".join(c)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s874932289 | p04044 | Accepted | N,L=map(int,input().strip().split())
S=[input() for i in range(N)]
S.sort()
m=''
for i in S:
m+=i
print(m) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s132680017 | p04044 | Accepted | n, l = map(int, input().split())
s = [input() for i in range(n)]
s.sort()
for i in s:
print(i, end='') | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s642466582 | p04044 | Accepted | n, l = map(int, input().split())
s = [input() for i in range(n)]
s.sort()
for i in s:
print(i, end='')
print() | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s466027394 | p04044 | Accepted | n, l = map(int, input().split())
l = []
i = 0
l = [input() for i in range(n)]
result = sorted(l)
s = ''.join(result)
# for i in range(n):
print(s)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
s600581802 | p04044 | Accepted | n,l=map(int,input().split())
l=[input() for i in range(n)]
l.sort()
#print(l)
a=l[0]
for i in range(1,n):
a+=l[i]
print(a) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.