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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s038070806 | p04044 | u592743763 | 1597148662 | Python | Python (3.8.2) | py | Accepted | 26 | 8924 | 140 | INP=list(map(int, input().split()))
N,L=INP[0],INP[1]
Slist=[]
for i in range(N):
Slist.append(str(input()))
print("".join(sorted(Slist))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,817 |
s751103478 | p04044 | u166012301 | 1597141429 | Python | Python (3.8.2) | py | Accepted | 35 | 9116 | 581 | def check(s1, s2):
for i in range(len(s1)):
if s1[i] < s2[i]:
return s1
elif s1[i] > s2[i]:
return s2
return s1
def s(a, l):
for i in range(len(a)):
m_step = 'z' * l
ind = -1
for j in range(i, len(a)):
m_step = check(m_ste... | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,818 |
s790626881 | p04044 | u024422110 | 1597106232 | Python | Python (3.8.2) | py | Accepted | 32 | 9064 | 144 | n,l = map(int, input().split())
s = []
for i in range(n):
x = input()
s.append(x)
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,212,819 |
s731857161 | p04044 | u949315872 | 1597101735 | Python | Python (3.8.2) | py | Accepted | 26 | 9056 | 132 | N,L = map(int, input().split())
S = [input() for l in range(N)]
S.sort()
s1 = S[0]
for i in range(1,N):
s1 += S[i]
print(s1) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,820 |
s933480393 | p04044 | u740909619 | 1597100620 | Python | Python (3.8.2) | py | Accepted | 29 | 8920 | 216 | # B - 文字列大好きいろはちゃんイージー
def main():
n, _ = map(int, input().split())
s = [input() for i 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,212,821 |
s031785337 | p04044 | u401686269 | 1597085359 | Python | Python (3.8.2) | py | Accepted | 26 | 9120 | 92 | N,L=map(int,input().split())
s = [input() for _ in range(N)]
s = sorted(s)
print(''.join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,822 |
s721391045 | p04044 | u394244719 | 1597084329 | Python | PyPy3 (7.3.0) | py | Accepted | 69 | 62512 | 326 | import sys
inint = lambda: int(sys.stdin.readline())
inintm = lambda: map(int, sys.stdin.readline().split())
inintl = lambda: list(inintm())
instrm = lambda: map(str, sys.stdin.readline().split())
instrl = lambda: list(instrm())
n, l = inintm()
s = []
for _ in range(n):
s.append(input())
s.sort()
print("".jo... | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,823 |
s412265801 | p04044 | u760961723 | 1597082221 | Python | Python (3.8.2) | py | Accepted | 28 | 9152 | 90 | N, L = map(int,input().split())
S = [input() for _ in range(N)]
print("".join(sorted(S))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,824 |
s725130815 | p04044 | u035210736 | 1597048883 | Python | Python (3.8.2) | py | Accepted | 30 | 9148 | 91 | n, l = map(int, input().split())
s = [input() for _ in range(n)]
s.sort()
print(''.join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,825 |
s285268089 | p04044 | u016881126 | 1597040422 | Python | Python (3.8.2) | py | Accepted | 27 | 9120 | 285 | import sys
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
read = sys.stdin.buffer.read
sys.setrecursionlimit(10 ** 7)
INF = float('inf')
N, L = map(int, input().split())
S = []
for _ in range(N):
S.append(input())
S.sort()
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,212,826 |
s228911572 | p04044 | u519339498 | 1597035133 | Python | Python (3.8.2) | py | Accepted | 29 | 9120 | 120 | N,L=map(int,input().split())
s=[]
for i in range(N):
s.append(input())
s.sort()
ans=""
for j in s:
ans+=j
print(ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,827 |
s364491328 | p04044 | u739843002 | 1597032141 | Python | Python (3.8.2) | py | Accepted | 31 | 9000 | 130 | N, L = list(map(lambda a: int(a), input().split(" ")))
A = []
for i in range(N):
A.append(input())
A.sort()
print("".join(A)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,828 |
s056044476 | p04044 | u316603606 | 1597000002 | Python | Python (3.8.2) | py | Accepted | 26 | 9176 | 127 | n,x = (int(i) for i in input().split())
l = []
for i in range (n):
s = input ()
l.append (s)
list.sort(l)
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,212,829 |
s861648847 | p04044 | u226779434 | 1596995587 | Python | Python (3.8.2) | py | Accepted | 24 | 9168 | 118 | n,l =map(int,input().split())
ss = [input() for _ in range(n)]
s =sorted(ss)
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,212,830 |
s153136724 | p04044 | u074220993 | 1596991199 | Python | Python (3.8.2) | py | Accepted | 29 | 9164 | 127 | N, L = map(int, input().split())
S = []
for i in range(N):
S.append(input())
S.sort()
for X in S:
print(X, end="")
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,831 |
s397466283 | p04044 | u363825867 | 1596953297 | Python | Python (3.8.2) | py | Accepted | 28 | 9108 | 99 | N, L = map(int, input().split())
S = [input().strip() for _ in range(N)]
print("".join(sorted(S)))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,832 |
s425067496 | p04044 | u551437236 | 1596941264 | Python | Python (3.8.2) | py | Accepted | 27 | 9100 | 139 | n, l = map(int, input().split())
ll = []
for i in range(n):
ll.append(input())
ll.sort()
ans = ""
for j in ll:
ans += j
print(ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,833 |
s872113964 | p04044 | u442877951 | 1596906569 | Python | Python (3.8.2) | py | Accepted | 29 | 8940 | 94 | N,J = map(int,input().split())
S = [str(input()) for _ in range(N)]
S.sort()
print("".join(S)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,834 |
s928890457 | p04044 | u943707649 | 1596894015 | Python | Python (3.8.2) | py | Accepted | 25 | 9112 | 124 | n,l = input().split()
S = []
for i in range(int(n)):
S.append(input())
S.sort()
str = ''
for s in S:
str += s
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,212,835 |
s674036164 | p04044 | u809819902 | 1596821241 | Python | PyPy3 (7.3.0) | py | Accepted | 64 | 62848 | 121 | n,l=map(int,input().split())
li=[input() for _ in range(n)]
li.sort()
res=""
for i in range(n):
res+=li[i]
print(res) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,836 |
s726972783 | p04044 | u146066372 | 1596769393 | Python | Python (3.8.2) | py | Accepted | 31 | 9192 | 160 | N,L=map(int,input().split())
X=[]*N
B=0
Ans=""
x=[]*N
s=[]*N
for i in range(N):
X.append(input())
X.sort()
for i in range(N):
Ans+=(X[i])
print(Ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,837 |
s505892267 | p04044 | u552738814 | 1596758707 | Python | Python (3.8.2) | py | Accepted | 24 | 8828 | 147 | n,l = map(int,input().split())
word_list = []
for i in range(n):
word_list.append(input())
answer = ''.join(sorted(word_list))
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,212,838 |
s085130953 | p04044 | u552738814 | 1596758697 | Python | Python (3.8.2) | py | Accepted | 30 | 9080 | 147 | n,l = map(int,input().split())
word_list = []
for i in range(n):
word_list.append(input())
answer = ''.join(sorted(word_list))
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,212,839 |
s484397215 | p04044 | u894623942 | 1596757988 | Python | Python (3.8.2) | py | Accepted | 29 | 9016 | 126 | N,L = map(int,input().split())
list1 = []
for l in range(N):
list1.append(str(input()))
list1.sort()
print(''.join(list1)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,840 |
s426465249 | p04044 | u554590385 | 1596751373 | Python | Python (3.8.2) | py | Accepted | 28 | 9056 | 131 | N,L= map(int,input().split())
list=[]
for I in range(N):
S=str(input())
list.append(S)
list.sort()
c="".join(list)
print(c) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,841 |
s959082843 | p04044 | u637289184 | 1596750066 | Python | Python (3.8.2) | py | Accepted | 33 | 9032 | 123 | N, L = map(int, input().split())
s = [str(input()) for i in range(N)]
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,212,842 |
s664374674 | p04044 | u825429469 | 1596718138 | Python | Python (3.8.2) | py | Accepted | 29 | 9088 | 98 |
l,n = map(int, input().split())
s = [str(input()) for _ in range(l)]
s.sort()
print(''.join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,843 |
s268570655 | p04044 | u806976856 | 1596698343 | Python | Python (3.8.2) | py | Accepted | 25 | 8988 | 169 | n,l=map(int,input().split())
ans=[]
for i in range(n):
ans.append(input())
ans=sorted(ans)
a=ans[0]
for i in range(n-1):
a=a+ans[i+1]
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,212,844 |
s814240185 | p04044 | u187737912 | 1596685110 | Python | Python (3.8.2) | py | Accepted | 26 | 9168 | 167 | val = input()
splited_val = val.split()
val_list=[]
for x in range(int(splited_val[0])):
val = input()
val_list.append(val)
print("".join(sorted(val_list))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,845 |
s975297983 | p04044 | u830661255 | 1596674726 | Python | Python (3.8.2) | py | Accepted | 30 | 8876 | 84 | 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,212,846 |
s491155373 | p04044 | u455957070 | 1596630335 | Python | Python (3.8.2) | py | Accepted | 31 | 9188 | 148 | n, l = map(int, input().split())
a = []
if n == 1:
print(input())
exit()
for i in range(n):
a.append(input())
a.sort()
a = ''.join(a)
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,212,847 |
s586717398 | p04044 | u969848070 | 1596598603 | Python | Python (3.8.2) | py | Accepted | 30 | 9128 | 148 | n, l = map(int, input().split())
a = []
if n == 1:
print(input())
exit()
for i in range(n):
a.append(input())
a.sort()
a = ''.join(a)
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,212,848 |
s024025214 | p04044 | u522686706 | 1596592832 | Python | PyPy3 (7.3.0) | py | Accepted | 64 | 62252 | 123 | N, L = map(int, input().split())
lst = []
for i in range(N):
lst.append(input())
slst = sorted(lst)
print("".join(slst)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,849 |
s445193208 | p04044 | u330799501 | 1596567870 | Python | Python (3.8.2) | py | Accepted | 27 | 9032 | 387 | #k = int(input())
#s = input()
#a, b = map(int, input().split())
#s, t = map(str, input().split())
#l = list(map(int, input().split()))
#l = [list(map(int,input().split())) for i in range(n)]
n,l = map(int, input().split())
strs = []
for i in range(n):
strs.append(input())
for i in range(1,l+1):
strs.sort(ke... | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,850 |
s888920945 | p04044 | u681409497 | 1596504294 | Python | Python (3.8.2) | py | Accepted | 29 | 9092 | 133 | 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)
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,851 |
s236605653 | p04044 | u385823012 | 1596468288 | Python | Python (3.8.2) | py | Accepted | 30 | 9180 | 152 | first= input()
first = first.split()
N = int(first[0])
L =[]
for i in range(N):
s = input()
L.append(s)
L.sort()
for i in L:
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,212,852 |
s271716440 | p04044 | u980503157 | 1596468186 | Python | Python (3.8.2) | py | Accepted | 29 | 9176 | 153 | first = input()
first = first.split()
N = int(first[0])
L = []
for i in range(N):
s = input()
L.append(s)
L.sort()
for i in L:
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,212,853 |
s856302481 | p04044 | u604839890 | 1596402886 | Python | Python (3.8.2) | py | Accepted | 24 | 9104 | 84 | n, l = map(int, input().split())
print(*sorted([input() for _ in range(n)]), sep='') | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,854 |
s064637175 | p04044 | u604839890 | 1596401127 | Python | Python (3.8.2) | py | Accepted | 28 | 9108 | 90 | n, l = map(int, input().split())
s = sorted([input() for _ in range(n)])
print(*s, sep='') | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,855 |
s216336633 | p04044 | u604839890 | 1596400786 | Python | Python (3.8.2) | py | Accepted | 24 | 9040 | 92 | n, l = input().split()
n = int(n)
s = [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,212,856 |
s341360029 | p04044 | u500823377 | 1596392157 | Python | Python (3.8.2) | py | Accepted | 31 | 9104 | 214 | N, L = map(int, input().split())
input_line1 = [input() for i in range(N)]
input_line2 = []
for i in range(N):
input_line2.append(min(input_line1))
input_line1.remove(min(input_line1))
print("".join(input_line2)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,857 |
s982915285 | p04044 | u467177102 | 1596376308 | Python | Python (3.8.2) | py | Accepted | 25 | 9000 | 120 | N,L = map(int, input().split())
string_list = [input() for i in range(N)]
string_list.sort()
print(''.join(string_list)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,858 |
s253289574 | p04044 | u200245833 | 1596359365 | Python | Python (3.8.2) | py | Accepted | 26 | 9044 | 129 | N,L = map(int, input().split())
string_list = [input() for i in range(N)]
string_list.sort()
print(''.join(string_list),sep='\n') | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,859 |
s978796982 | p04044 | u844813573 | 1596340774 | Python | Python (3.8.2) | py | Accepted | 27 | 9160 | 90 | n, _l = map(int,input().split())
s = [input() for _ in range(n)]
print("".join(sorted(s))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,860 |
s132112573 | p04044 | u175217658 | 1596331668 | Python | Python (3.8.2) | py | Accepted | 28 | 9076 | 147 | N, L = map(int, input().split())
S = []
for i in range(N):
S.append(input())
list.sort(S)
ans = ''.join([str(i) for i in 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,212,861 |
s183320590 | p04044 | u999772319 | 1596307730 | Python | Python (3.8.2) | py | Accepted | 30 | 9100 | 133 | N,L=map(int, input().split(" "))
s=[]
for i in range(N):
s.append(input())
s.sort()
l = ''.join([str(n) for n in s])
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,212,862 |
s273172552 | p04044 | u891847179 | 1596304274 | Python | Python (3.8.2) | py | Accepted | 29 | 9024 | 215 | # N, L = 3, 3
# SRR = [
# "dxx",
# "axx",
# "cxx"
# ]
N, L = map(int,input().split())
SRR = []
for i in range(N):
SRR.append(input())
srr2 = sorted(SRR)
result = "".join(srr2)
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,212,863 |
s749171894 | p04044 | u788068140 | 1596295253 | Python | Python (3.8.2) | py | Accepted | 31 | 9076 | 215 | # N, L = 3, 3
# SRR = [
# "dxx",
# "axx",
# "cxx"
# ]
N, L = map(int,input().split())
SRR = []
for i in range(N):
SRR.append(input())
srr2 = sorted(SRR)
result = "".join(srr2)
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,212,864 |
s144381370 | p04044 | u745514010 | 1596262055 | Python | Python (3.8.2) | py | Accepted | 23 | 9100 | 127 | n, l = map(int, input().split())
slst = [input() for _ in range(n)]
slst.sort()
ans = ""
for s in slst:
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,212,865 |
s266696725 | p04044 | u633923594 | 1596250510 | Python | Python (3.8.2) | py | Accepted | 25 | 9152 | 181 |
def main():
N, L = map(int,input().split())
S = [input() for _ in range(N)]
S.sort()
for i in S:
print(i, end = "")
if __name__ == '__main__':
main()
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,866 |
s381204393 | p04044 | u044964932 | 1596242240 | Python | Python (3.8.2) | py | Accepted | 29 | 9116 | 317 | def main():
n, l = map(int, input().split())
ss = [list(input()) for _ in range(n)]
for i in range(l-1, -1, -1):
ss = sorted(ss, key=lambda x: x[i])
ans = ''
for i in range(n):
for j in range(l):
ans += ss[i][j]
print(ans)
if __name__ == "__main__":
main()
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,867 |
s322071237 | p04044 | u546198000 | 1596234849 | Python | Python (3.8.2) | py | Accepted | 29 | 9140 | 115 | N,L = map(int,input().split())
array = [input() for i in range(N)]
array.sort()
for i in array:
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,212,868 |
s143663853 | p04044 | u876742094 | 1596209184 | Python | Python (3.8.2) | py | Accepted | 28 | 9100 | 90 | N,L=map(int,input().split())
S=[input() for i in range(N)]
S.sort()
print("".join(S))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,869 |
s342887463 | p04044 | u188827677 | 1596199085 | Python | Python (3.8.2) | py | Accepted | 25 | 9176 | 83 | n,l = map(int, input().split())
print("".join(sorted([input() for _ in range(n)]))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,870 |
s024428292 | p04044 | u103208639 | 1596176906 | Python | Python (3.8.2) | py | Accepted | 26 | 8956 | 85 | n,l=map(int, input().split())
s=[input() for i 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,212,871 |
s384884589 | p04044 | u841919141 | 1596136690 | Python | Python (3.8.2) | py | Accepted | 29 | 9080 | 144 | N = list(map(int, input().split()))
dic = []
for ins in range(N[0]):
dic.append(input())
s = ""
for ins in sorted(dic):
s += ins
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,212,872 |
s101288023 | p04044 | u075303794 | 1596083277 | Python | Python (3.8.2) | py | Accepted | 28 | 9152 | 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,212,873 |
s231279564 | p04044 | u131464432 | 1596038560 | Python | Python (3.8.2) | py | Accepted | 23 | 9112 | 106 | N,L = map(int,input().split())
S = [input() for _ in range(N)]
S.sort()
for i in S:
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,212,874 |
s057713704 | p04044 | u396211450 | 1596010591 | Python | Python (3.8.2) | py | Accepted | 27 | 9056 | 85 | n,l=map(int,input().split())
k=[input() for i in range(n)]
k.sort()
print("".join(k)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,875 |
s859669740 | p04044 | u259190728 | 1596010405 | Python | Python (3.8.2) | py | Accepted | 29 | 9120 | 1,430 | from sys import stdin,stdout
import bisect
import math
def st():
return list(stdin.readline().strip())
def inp():
return int(stdin.readline())
def li():
return list(map(int,stdin.readline().split()))
def mp():
return map(int,stdin.readline().split())
def pr(n):
stdout.write(str(n)+"\n")
def... | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,876 |
s045819031 | p04044 | u648881683 | 1595983006 | Python | Python (3.8.2) | py | Accepted | 38 | 10056 | 585 | import bisect, collections, copy, heapq, itertools, math, string, sys
input = lambda: sys.stdin.readline().rstrip()
sys.setrecursionlimit(10**7)
INF = float('inf')
def I(): return int(input())
def F(): return float(input())
def SS(): return input()
def LI(): return [int(x) for x in input().split()]
def LI_(): return [... | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,877 |
s438244007 | p04044 | u957799665 | 1595970813 | Python | Python (3.8.2) | py | Accepted | 30 | 9100 | 184 | str_list = []
i = 1
n_number, l_length = map(int, input().split())
while i <= n_number:
w_1 = input()
str_list.append(w_1)
i += 1
str_list.sort()
print(''.join(str_list)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,878 |
s039956875 | p04044 | u840841119 | 1595937845 | Python | Python (3.8.2) | py | Accepted | 25 | 9164 | 88 | 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,212,879 |
s131728443 | p04044 | u075304271 | 1595908748 | Python | Python (3.8.2) | py | Accepted | 38 | 10320 | 299 | import math
import collections
import fractions
import itertools
import functools
import operator
def solve():
n, l = map(int, input().split())
s = [input() for _ in range(n)]
for i in range(l):
s.sort()
print("".join(s))
return 0
if __name__ == "__main__":
solve() | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,880 |
s560319604 | p04044 | u083184913 | 1595881204 | Python | Python (3.8.2) | py | Accepted | 31 | 9152 | 109 | val1=list(map(int,input().split()))
val2=[input() for i in range(val1[0])]
val2.sort()
print("".join(val2))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,881 |
s802392673 | p04044 | u763410402 | 1595875547 | Python | Python (3.8.2) | py | Accepted | 29 | 9064 | 171 | def main():
n,l=map(int,input().split(' '))
li=[input() for i in range(n)]
for i in range(n):
print(min(li),end='')
li.remove(min(li))
main()
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,882 |
s847269695 | p04044 | u980503157 | 1595870657 | Python | Python (3.8.2) | py | Accepted | 29 | 9120 | 171 | FirstLine = input()
FirstLine = FirstLine.split()
L1 = []
for i in range(int(FirstLine[0])):
s = input()
L1.append(s)
L1.sort()
a = ""
for i in L1:
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,212,883 |
s476474030 | p04044 | u980503157 | 1595828854 | Python | Python (3.8.2) | py | Accepted | 27 | 9060 | 172 | Firstline = input()
Firstline = Firstline.split()
List = []
for i in range(int(Firstline[0])):
List.append(input())
List.sort()
s = ""
for i in List:
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,212,884 |
s233307335 | p04044 | u600261652 | 1595796740 | Python | Python (3.8.2) | py | Accepted | 27 | 9080 | 224 | def resolve():
N, L = map(int, input().split())
S = []
for _ in range(N):
s = input()
S.append(s)
S = sorted(S)
ans = ""
for i in range(N):
ans += S[i]
print(ans)
resolve() | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,885 |
s027928373 | p04044 | u894312115 | 1595789447 | Python | Python (3.8.2) | py | Accepted | 30 | 8880 | 93 | n,k=map(int,input().split())
ar=[input() for _ in range(n)]
ar=sorted(ar)
print(''.join(ar))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,886 |
s980415026 | p04044 | u692690314 | 1595787017 | Python | Python (3.8.2) | py | Accepted | 26 | 9180 | 90 | N, L = map(int, input().split())
S = [input() for _ in range(N)]
print(''.join(sorted(S))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,887 |
s139344968 | p04044 | u797165415 | 1595774098 | Python | Python (3.8.2) | py | Accepted | 31 | 8936 | 151 | N, L = map(int, input().split())
A = []
for i in range(N):
S = input()
A.append(S)
A.sort()
for i in range(N-1):
print(A[i], end="")
print(A[N-1])
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,888 |
s713192331 | p04044 | u297240373 | 1595763799 | Python | Python (3.8.2) | py | Accepted | 23 | 8976 | 71 | print("".join(sorted(input() for _ in range(int(input().split()[0]))))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,889 |
s169642633 | p04044 | u297240373 | 1595763403 | Python | Python (3.8.2) | py | Accepted | 38 | 9104 | 383 | N, L = [int(x) for x in input().split()]
S = [input() for _ in range(N)]
def f(s, p=0):
for i, c in enumerate("abcdefghijklmnopqrstuvwxyz"):
if s[p] == c:
if p == L - 1:
return (i, )
else:
return (i, ) + f(s, p + 1)
... | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,890 |
s643594627 | p04044 | u875113233 | 1595735110 | Python | Python (3.8.2) | py | Accepted | 29 | 9156 | 137 | def main():
N,L=map(int,input().split())
a=[input() for _ in range(N)]
print(''.join(sorted(a)))
if __name__=="__main__":
main() | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,891 |
s636320044 | p04044 | u271469978 | 1595722102 | Python | Python (3.8.2) | py | Accepted | 24 | 9128 | 98 | N, L = map(int, input().split())
SSS = [input() for _ in range(N)]
SSS.sort()
print(''.join(SSS))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,892 |
s647737084 | p04044 | u742729271 | 1595699122 | Python | Python (3.8.2) | py | Accepted | 25 | 9108 | 114 | N, L = map(int, input().split())
s = []
for i in range(N):
s.append(input())
s = sorted(s)
print("".join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,893 |
s209515646 | p04044 | u088553842 | 1595637843 | Python | Python (3.8.2) | py | Accepted | 28 | 9104 | 113 | n, l = map(int, input().split())
lst = []
for i in range(n):
lst.append(input())
lst.sort()
print(''.join(lst)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,894 |
s839585610 | p04044 | u758815106 | 1595627047 | Python | Python (3.8.2) | py | Accepted | 23 | 9068 | 149 | N, L = map(int, input().split())
S = []
for _ in range(N):
s = input()
S.append(s)
S.sort()
for obj in S:
print(obj, 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,212,895 |
s858605730 | p04044 | u000644874 | 1595622231 | Python | Python (3.8.2) | py | Accepted | 30 | 9104 | 123 | N, L = map(int, input().split())
S = [input() for s in range(N)]
S.sort()
output = ""
for i in S:
output+=i
print(output) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,896 |
s967267860 | p04044 | u000644874 | 1595621745 | Python | Python (3.8.2) | py | Accepted | 31 | 9068 | 88 | n, l = map(int, input().split())
s = sorted(input() for _ in range(n))
print(*s, sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,897 |
s544076090 | p04044 | u692690314 | 1595618700 | Python | Python (3.8.2) | py | Accepted | 29 | 8984 | 90 | N, L = map(int, input().split())
S = [input() for _ in range(N)]
print(''.join(sorted(S))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,898 |
s332885684 | p04044 | u040298438 | 1595618464 | Python | Python (3.8.2) | py | Accepted | 29 | 9100 | 88 | n, l = map(int, input().split())
s = sorted(input() for _ in range(n))
print(*s, sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,899 |
s785791883 | p04044 | u760831084 | 1595537985 | Python | Python (3.8.2) | py | Accepted | 25 | 9188 | 90 | n, l = map(int, input().split())
s = sorted([input() for _ in range(n)])
print(*s, sep='') | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,900 |
s012748781 | p04044 | u760831084 | 1595537945 | Python | Python (3.8.2) | py | Accepted | 26 | 9040 | 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,212,901 |
s249334840 | p04044 | u760831084 | 1595537765 | Python | Python (3.8.2) | py | Accepted | 25 | 9164 | 94 | n, l = map(int, input().split())
S = list(input() for _ in range(n))
print(''.join(sorted(S))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,902 |
s395110061 | p04044 | u926046014 | 1595535773 | Python | PyPy3 (7.3.0) | py | Accepted | 64 | 62244 | 109 | n,l=map(int,input().split())
lst=[]
for _ in range(n):
lst.append(input())
lst.sort()
print("".join(lst)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,903 |
s334288612 | p04044 | u259975636 | 1595468328 | Python | Python (3.8.2) | py | Accepted | 25 | 8868 | 134 | a,b = [int(i) for i in input().split()]
pala = []
for i in range(a) : pala.append(input())
pala.sort()
print("".join(map(str,pala)));
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,904 |
s276478751 | p04044 | u113255362 | 1595438033 | Python | Python (3.8.2) | py | Accepted | 30 | 9060 | 152 | N,L=map(int,input().split())
List = []
for i in range (N):
List.append(str(input()))
List.sort()
res = ""
for i in range(N):
res+=List[i]
print(res) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,905 |
s937148846 | p04044 | u065099501 | 1595385916 | Python | Python (3.8.2) | py | Accepted | 25 | 9096 | 89 | n,_ = map(int,input().split())
s = [input() for _ in range(n)]
s.sort()
print(''.join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,906 |
s961008895 | p04044 | u767797498 | 1595383005 | Python | Python (3.8.2) | py | Accepted | 24 | 9000 | 79 | import sys
input()
l=list(sys.stdin.read().split())
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,212,907 |
s149785082 | p04044 | u414920281 | 1595342222 | Python | Python (3.8.2) | py | Accepted | 27 | 9108 | 125 |
n,l=map(int,input().split())
str=[input() for i in range(n)]
str.sort()
ans=""
for i in range(n):
ans+=str[i]
print(ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,908 |
s547187678 | p04044 | u157232135 | 1595336426 | Python | Python (3.8.2) | py | Accepted | 28 | 9112 | 81 | print("".join(sorted(input() for _ in range(list(map(int,input().split()))[0])))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,909 |
s350301106 | p04044 | u210295876 | 1595277262 | Python | Python (3.8.2) | py | Accepted | 25 | 9060 | 112 | N,L = map(int,input().split())
A = []
for i in range(N):
s = input()
A.append(s)
A.sort()
print("".join(A)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,910 |
s899859092 | p04044 | u438189153 | 1595275034 | Python | Python (3.8.2) | py | Accepted | 27 | 9076 | 106 | N,L=map(int,input().split())
S=[]
for i in range(N):
S.append(str(input()))
print("".join(sorted(S)))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,911 |
s089322091 | p04044 | u119148115 | 1595222575 | Python | PyPy3 (7.3.0) | py | Accepted | 63 | 62076 | 208 | import sys
def LI(): return list(map(int,sys.stdin.readline().rstrip().split())) #空白あり
def S(): return sys.stdin.readline().rstrip()
N,L = LI()
S = [S() for i in range(N)]
S.sort()
print(''.join(S)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,912 |
s276439365 | p04044 | u018808362 | 1595222235 | Python | Python (3.8.2) | py | Accepted | 26 | 9092 | 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,212,913 |
s861192242 | p04044 | u841568901 | 1595185095 | Python | Python (3.8.2) | py | Accepted | 27 | 9064 | 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,212,914 |
s965479034 | p04044 | u387449470 | 1595171511 | Python | Python (3.8.2) | py | Accepted | 30 | 9100 | 221 | N, L = list(map(int, input().split()))
arr_input=[]
for i in range(N):
input_ = input()
if(len(input_)!=L):
print("Input length is wrong")
exit()
arr_input.append(input_)
arr_input.sort()
print("".join(arr_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,212,915 |
s410561013 | p04044 | u694665829 | 1595107943 | Python | Python (3.8.2) | py | Accepted | 28 | 8984 | 115 | n,l=map(int,input().split())
l=[]
for i in range(n):
l.append(input())
l.sort()
for a in l:
print(a,end="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,212,916 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.