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
s950002058
p04044
u962985517
1595094057
Python
Python (3.8.2)
py
Accepted
28
9120
101
n,l =map(int,input().split()) s=[] for i in range(n): s.append(input()) print(''.join(sorted(s)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,917
s484000613
p04044
u433380437
1595090102
Python
PyPy3 (7.3.0)
py
Accepted
65
62156
126
n, y = map(int, input().split()) A = list(map(str, [input() for i in range(n)])) list.sort(A, reverse=False) 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,918
s942598202
p04044
u501451051
1595087846
Python
Python (3.8.2)
py
Accepted
30
9172
106
n, l = map(int, input().split()) lis = [input() for _ in range(n)] lis = sorted(lis) print(''.join(lis))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,919
s563284979
p04044
u101232733
1595043968
Python
Python (3.8.2)
py
Accepted
31
9116
135
n,l=map(int, input().split(' ')) ss= [] for i in range(n): ss.append(input()) ss.sort() ans= '' for i in ss: 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,920
s622862613
p04044
u833492079
1594959338
Python
Python (3.8.2)
py
Accepted
24
9112
93
N,L = map(int, input().split()) A = [input() for _ in range(N)] A.sort() print("".join(A))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,921
s116297033
p04044
u230621983
1594934260
Python
Python (3.8.2)
py
Accepted
26
9068
92
n, l = map(int, input().split()) s = [ input() for _ in range(n)] s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,922
s755819057
p04044
u430928274
1594930118
Python
Python (3.8.2)
py
Accepted
30
9068
131
n, l = map(int, input().split()) list = [] for i in range(n) : s = input() list.append(s) list.sort() print("".join(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,923
s850028457
p04044
u579508806
1594929074
Python
Python (3.8.2)
py
Accepted
25
9184
87
a,b=list(map(int, input().split())) print(''.join(sorted([input() for i in range(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,924
s209841328
p04044
u968166680
1594890963
Python
PyPy3 (7.3.0)
py
Accepted
68
61880
360
import sys read = sys.stdin.read readline = sys.stdin.readline readlines = sys.stdin.readlines sys.setrecursionlimit(10 ** 9) INF = 1 << 60 MOD = 1000000007 def main(): N, L = map(int, readline().split()) S = [readline().strip() for _ in range(N)] S.sort() ans = ''.join(S) print(ans) 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,925
s689119830
p04044
u543373102
1594863941
Python
Python (3.8.2)
py
Accepted
25
9068
140
N, L = map(int, input().split()) Sn = [input() for _ in range(N)] Sn_sort = sorted(Sn) ans = "" for i in Sn_sort: 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,926
s538333354
p04044
u452337391
1594854289
Python
Python (3.8.2)
py
Accepted
24
9100
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,927
s701358633
p04044
u354527070
1594790082
Python
Python (3.8.2)
py
Accepted
27
9096
118
n, l = map(int, input().split(" ")) s = [] for i in range(0, n): s.append(str(input())) s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,928
s155731284
p04044
u456337115
1594789702
Python
PyPy3 (7.3.0)
py
Accepted
71
62736
146
n,l=map(int,input().split()) temp =[] for i in range(n): temp.append(input()) list.sort(temp) str ="" for s in temp: str = 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,929
s399562488
p04044
u666964944
1594769610
Python
Python (3.8.2)
py
Accepted
26
9104
89
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,930
s810864121
p04044
u991604406
1594767966
Python
Python (3.8.2)
py
Accepted
32
8992
113
n, l = map(int, input().split()) s = [] for _ 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,931
s382503800
p04044
u970198631
1594693611
Python
Python (3.8.2)
py
Accepted
27
9156
159
MM = input().split() N = int(MM[0]) L = int(MM[1]) list1 = [] for i in range(N): a = input() list1.append(a) list1.sort() for i in list1: 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,932
s445994841
p04044
u323045245
1594689180
Python
Python (3.8.2)
py
Accepted
26
8984
99
n,l=map(int, input().split()) moji = [input() for _ in range(n)] moji.sort() print(*moji,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,933
s965843975
p04044
u736479342
1594669069
Python
Python (3.8.2)
py
Accepted
29
9000
87
n, l = map(int, input().split()) s=sorted([input() for i in range(n)]) print(*s,sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,934
s714706770
p04044
u736479342
1594656826
Python
Python (3.8.2)
py
Accepted
28
9144
119
n, l = map(int, input().split()) s = [] for i in range(n): a = input() s.append(a) 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,935
s298580672
p04044
u441175813
1594643532
Python
PyPy3 (7.3.0)
py
Accepted
65
62372
93
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,936
s700661476
p04044
u131946248
1594615520
Python
Python (3.8.2)
py
Accepted
30
8860
113
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,937
s508448342
p04044
u163421511
1594600478
Python
Python (3.8.2)
py
Accepted
28
8960
102
n, l = map(int, input().split()) s = list(input() for _ in range(n)) a = "".join(sorted(s)) print(a)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,938
s142201349
p04044
u112065131
1594594121
Python
Python (3.8.2)
py
Accepted
28
9168
120
n, l = map(int, input().split()) S = [] for i in range(n): S.append(input()) S.sort() print("".join(map(str, S)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,939
s101649654
p04044
u539123425
1594533024
Python
Python (3.8.2)
py
Accepted
27
9132
113
n,l = map(int,input().split()) S = [] for i in range(n): S.append(input()) print("".join(map(str,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,940
s775196336
p04044
u598684283
1594525367
Python
Python (3.8.2)
py
Accepted
26
9100
151
n,l = map(int,input().split()) line = [] for i in range(n): line.append(input()) line.sort() for i in range(n): print(line[i],end="") print("")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,941
s513044869
p04044
u495667483
1594522571
Python
Python (3.8.2)
py
Accepted
30
9032
425
import sys sys.setrecursionlimit(500000) MOD = 10**9+7 def input(): return sys.stdin.readline()[:-1] def mi(): return map(int, input().split()) def ii(): return int(input()) def i2(n): tmp = [list(mi()) for i in range(n)] return [list(i) for i in zip(*tmp)] def main(): N, L = mi() 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,942
s951194056
p04044
u287132915
1594513942
Python
PyPy3 (7.3.0)
py
Accepted
64
62920
164
n, l = map(int, input().split()) lst = [] for i in range(n): s = input() lst.append(s) lst.sort() ans = '' for i in range(n): ans += lst[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,943
s716820123
p04044
u094191970
1594510887
Python
Python (3.8.2)
py
Accepted
29
9128
187
from sys import stdin nii=lambda:map(int,stdin.readline().split()) lnii=lambda:list(map(int,stdin.readline().split())) n,l=nii() 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,944
s285872667
p04044
u456416458
1594505979
Python
Python (3.8.2)
py
Accepted
29
9104
189
s = input().split() number = int(s[0]) length = int(s[1]) words = [] for num in range(number): x = input() words.append(x) words.sort() for num in words: print(num, 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,945
s113149111
p04044
u839509562
1594500061
Python
Python (3.8.2)
py
Accepted
33
9076
266
import sys input = sys.stdin.readline def log(*args): print(*args, file=sys.stderr) def main(): N, _L = map(int, input().rstrip().split()) s = [input().rstrip() for _ in range(N)] print(''.join(sorted(s))) if __name__ == '__main__': main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,946
s971494634
p04044
u839509562
1594499931
Python
Python (3.8.2)
py
Accepted
25
8888
330
import sys input = sys.stdin.readline def log(*args): print(*args, file=sys.stderr) def main(): N, L = map(int, input().rstrip().split()) s = [] for _ in range(N): s.append(input().rstrip()) ans = '' for st in sorted(s): ans += st print(ans) if __name__ == '__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,947
s399674095
p04044
u316603606
1594498841
Python
Python (3.8.2)
py
Accepted
25
9172
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,948
s330492011
p04044
u763280125
1594480786
Python
Python (3.8.2)
py
Accepted
29
9092
98
N, L = list(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,949
s746274479
p04044
u156815136
1594469242
Python
Python (3.8.2)
py
Accepted
41
10316
837
#from statistics import median #import collections #aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0] from fractions import gcd from itertools import combinations,permutations,accumulate # (string,3) 3回 #from collections import deque from collections import deque,defaultdict,Counter impo...
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,950
s780256864
p04044
u223663729
1594467673
Python
Python (3.8.2)
py
Accepted
25
8920
61
N, L, *S = open(0).read().split() 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,951
s518842899
p04044
u644907318
1594467379
Python
PyPy3 (7.3.0)
py
Accepted
61
62368
90
N,L = map(int,input().split()) print("".join(sorted([input().strip() 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,952
s493163883
p04044
u345966487
1594467220
Python
Python (3.8.2)
py
Accepted
26
9168
367
import sys sys.setrecursionlimit(10 ** 8) ini = lambda: int(sys.stdin.readline()) inm = lambda: map(int, sys.stdin.readline().split()) inl = lambda: list(inm()) ins = lambda: sys.stdin.readline().rstrip() debug = lambda *a, **kw: print("\033[33m", *a, "\033[0m", **dict(file=sys.stderr, **kw)) N, L = inm() S = [ins() ...
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,953
s832220231
p04044
u678167152
1594467207
Python
Python (3.8.2)
py
Accepted
28
9144
139
def solve(): N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() ans = ''.join(S) return ans print(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,954
s651297383
p04044
u241159583
1594467207
Python
Python (3.8.2)
py
Accepted
27
9032
89
n,l = map(int, input().split()) s = sorted([input() for _ in range(n)]) print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,955
s386105893
p04044
u586639900
1594451582
Python
Python (3.8.2)
py
Accepted
26
8916
105
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() res = "".join(S) 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,956
s139163600
p04044
u767797498
1594366932
Python
Python (3.8.2)
py
Accepted
28
9128
1,008
# -*- coding: utf-8 -*- import io import sys import math def format_multi_line_answer(lst): ans = "" ans += f"{len(lst)}\n" # Line count for y in lst: ans += f"{y}\n" return ans def solve(): # implement process pass def main(): # input n,l = map(int, input().split()) a_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,957
s502478483
p04044
u359573942
1594349252
Python
Python (3.8.2)
py
Accepted
26
9156
110
n,_=map(int,input().split()) l=''.join(sorted([''.join(sorted(input().split())) for _ in range(n)])) 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,958
s163210481
p04044
u556589653
1594344042
Python
Python (3.8.2)
py
Accepted
26
9164
109
N,L = map(int,input().split()) ls = [] for i in range(N): ls.append(input()) ls.sort() print("".join(ls))
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,959
s909740459
p04044
u629276590
1594343935
Python
Python (3.8.2)
py
Accepted
28
9148
129
n,l=map(int,input().split()) s=[] for i in range(n): s.append(str(input())) a="".join(sorted(s)) print(a)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,960
s034717919
p04044
u587589241
1594330928
Python
Python (3.8.2)
py
Accepted
27
9112
100
n,l=map(int,input().split()) a=[] for i in range(n): a.append(input()) a.sort() print(*a,sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,961
s019576449
p04044
u716117006
1594317639
Python
Python (3.8.2)
py
Accepted
29
9064
144
def resolve(): N, L = list(map(int, input().split())) S_list = [input() for i in range(N)] print("".join(sorted(S_list))) 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,962
s446262433
p04044
u094999522
1594304113
Python
Python (3.8.2)
py
Accepted
30
8940
84
#!/usr/bin/env python3 _, _, *s = open(0).read().split() 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,963
s125615508
p04044
u975955812
1594266588
Python
Python (3.8.2)
py
Accepted
26
9104
150
H, W = map(int, input().split()) S = [] for _ in range(H): S.append(input()) S.sort() #print(S) S_out='' for ii in S: S_out += ii print(S_out)
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,964
s946580482
p04044
u047931063
1594259488
Python
Python (3.8.2)
py
Accepted
29
9100
346
# n, m, l = map(int, input().split()) # list_n = list(map(int, input().split())) # n = input() # list = [input() for i in range(N) # list = [[i for i in range(N)] for _ in range(M)] import sys input = sys.stdin.readline N, L = map(int, input().split()) S = [] for i in range(N): S.append(input().rstrip('\n')) 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,965
s178549000
p04044
u684743124
1594242892
Python
Python (3.8.2)
py
Accepted
27
9068
120
n,l=map(int,input().split()) S=list(input() for _ in range(n)) S.sort() ans="" for i in range(n): ans+=S[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,966
s965349996
p04044
u088863512
1594242831
Python
Python (3.8.2)
py
Accepted
30
9372
582
# -*- coding: utf-8 -*- import sys from collections import deque, defaultdict from math import sqrt, factorial # def input(): return sys.stdin.readline()[:-1] # warning not \n # def input(): return sys.stdin.buffer.readline().strip() # warning bytes # def input(): return sys.stdin.buffer.readline().decode('utf-8') de...
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,967
s972869572
p04044
u032222383
1594179258
Python
PyPy3 (7.3.0)
py
Accepted
66
62304
92
n,l=map(int,input().split()) li=[input() for _ in range(n)] li=sorted(li) print(''.join(li))
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,968
s006906122
p04044
u898967808
1594178641
Python
Python (3.8.2)
py
Accepted
29
8928
102
n,l = map(int,input().split()) s = [] for i in range(n): s.append(input()) print(''.join(sorted(s)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,969
s501169244
p04044
u252160635
1594174504
Python
Python (3.8.2)
py
Accepted
28
9020
132
# 入力 N,L = list(map(int, input().split())) S = [] for _ in range(N): S += [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,970
s520238781
p04044
u289288647
1594164573
Python
Python (3.8.2)
py
Accepted
27
9004
113
N, L = map(int, input().split()) ans = [] for i in range(N): ans.append(input()) print(''.join(sorted(ans)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,971
s988898915
p04044
u748241164
1594162637
Python
Python (3.8.2)
py
Accepted
27
9076
149
N, L = map(int, input().split()) S = [0] * N for i in range(N): S[i] = str(input()) S = sorted(S) for i in range(N): print(S[i], end = "")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,972
s029208414
p04044
u664557199
1594136547
Python
Python (3.8.2)
py
Accepted
26
9088
182
n,l = map(int,input().split()) s_list = [] for i in range(n): s = input() s_list.append(s) s_list_sorted = sorted(s_list) for s_i in s_list_sorted: print(s_i,end = "")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,973
s956622325
p04044
u786020649
1594099333
Python
Python (3.8.2)
py
Accepted
41
9880
694
import string alph_list=list(string.ascii_lowercase) mydict=dict(zip(alph_list,list(range(26)))) N, L=map(int,input().split()) def compare_str(s,t): for i in range(L): if mydict[s[i]]<mydict[t[i]]: return '<' elif mydict[s[i]]>mydict[t[i]]: return '>' return '=' def ne...
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,974
s115154609
p04044
u188138642
1594087562
Python
Python (3.8.2)
py
Accepted
26
9112
101
n, l = map(int, input().split()) s = [input() for _ in range(n)] 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,975
s575615874
p04044
u551857719
1594065955
Python
Python (3.8.2)
py
Accepted
29
8960
386
#!/usr/bin/python # -*- coding: UTF-8 -*- import sys def get_ints(): return map(int, sys.stdin.readline().strip().split()) def input(): return sys.stdin.readline().strip() def _main(): n, length = get_ints() s_list = [""] * n for i in range(n): s_list[i] = input() s = sorted(s_lis...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,976
s915701104
p04044
u007381711
1594064421
Python
Python (3.8.2)
py
Accepted
28
9008
216
# -*- coding: utf-8 -*- import sys input = sys.stdin.readline n, l = map(int, input().split()) s = [] for i in range(n): s.append(input().replace('\n', '')) s = sorted(s) 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,977
s762964128
p04044
u282277161
1593966978
Python
Python (3.8.2)
py
Accepted
25
8920
118
#!/usr/bin/env python3 n, l = map(int, input().split()) s = sorted(list(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,978
s464673623
p04044
u931655383
1593912279
Python
Python (3.8.2)
py
Accepted
26
9024
130
l,n =input().split() a=[] for i in range(int(l)): a+=list(input().split()) a.sort() for i in range(int(l)): print(a[i],end="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,979
s721371219
p04044
u537976628
1593911705
Python
Python (3.8.2)
py
Accepted
27
9072
88
n, l = map(int, input().split()) print(''.join(sorted(list(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,980
s302607717
p04044
u281152316
1593898362
Python
Python (3.8.2)
py
Accepted
24
9020
160
N, L = map(int,input().split()) S = [] a = "" for i in range(N): a = input() S.append(a) S = sorted(S) 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,981
s414146367
p04044
u597374218
1593888334
Python
Python (3.8.2)
py
Accepted
27
9108
84
N,L=map(int,input().split()) S=[input() for i in range(N)] print("".join(sorted(S)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,982
s210864036
p04044
u597374218
1593888276
Python
Python (3.8.2)
py
Accepted
29
9124
83
N,L=map(int,input().split()) S=[input() for i in range(N)] print(*sorted(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,983
s052295587
p04044
u849029577
1593883880
Python
PyPy3 (7.3.0)
py
Accepted
67
62380
90
n, l = map(int, input().split()) a = sorted([input() for i in range(n)]) 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,984
s998748209
p04044
u849029577
1593883561
Python
PyPy3 (7.3.0)
py
Accepted
63
62156
115
n, l = map(int, input().split()) ans = [] for i in range(n): ans.append(input()) ans.sort() print("".join(ans))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,985
s504990348
p04044
u978167553
1593881409
Python
Python (3.8.2)
py
Accepted
25
9068
110
(n, l) = tuple(map(int, input().split())) s = [input() for _ in range(n)] ans = "".join(sorted(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,986
s294112394
p04044
u557750361
1593826132
Python
PyPy3 (7.3.0)
py
Accepted
62
62736
107
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,987
s062123638
p04044
u779805689
1593818836
Python
PyPy3 (7.3.0)
py
Accepted
69
62300
113
N,L=map(int,input().split()) S=[] for _ in range(N): S.append(input()) S.sort() print("".join(map(str,S)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,988
s781809939
p04044
u062999487
1593808849
Python
PyPy3 (7.3.0)
py
Accepted
62
62252
170
N,L = map(int,input().split()) list=[] #空のリスト作成 for i in range(N): list.append(input()) #リスト追加 print("".join(sorted(list))) #昇順で結合
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,989
s575436242
p04044
u063614215
1593789781
Python
Python (3.8.2)
py
Accepted
27
9100
215
data = [int(i) for i in input().split(' ')] N = data[0] L = data[1] s_list = [] for n in range(N): s = input() s_list.append(s) s_list = sorted(s_list) ans ='' for s in s_list: 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,990
s213004128
p04044
u408375121
1593783831
Python
Python (3.8.2)
py
Accepted
28
9092
146
n, l = map(int, input().split()) lst = [] for _ in range(n): s = input() lst.append(s) lst.sort() t = '' for word in lst: t += word print(t)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,991
s293233663
p04044
u627691992
1593742625
Python
Python (3.8.2)
py
Accepted
24
9096
91
N, L = map(int, input().split()) s = sorted([input() for i in range(N)]) print(*s, sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,992
s457733511
p04044
u627691992
1593742527
Python
Python (3.8.2)
py
Accepted
27
9160
92
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,993
s770815924
p04044
u302789073
1593712255
Python
Python (3.8.2)
py
Accepted
31
9100
148
n,l=[int(i) for i in input().split()] s_list=[] for i in range(n): s_list.append(input()) s_list.sort() ans="".join(s_list) 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,994
s135642392
p04044
u917558625
1593665201
Python
Python (3.8.2)
py
Accepted
28
9172
110
N,L=map(int,input().split()) S=[input() for _ 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,995
s660976365
p04044
u039002256
1593661232
Python
Python (3.8.2)
py
Accepted
27
9160
145
N, L = map(int, input().split()) l = [] for i in range(N): s = input() l.append(s) l.sort() for i in l: print(f"{i}", end="") print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,996
s389026320
p04044
u152614052
1593660053
Python
Python (3.8.2)
py
Accepted
27
9108
93
n,l = map(int,input().split()) li = [input() for _ in range(n)] li.sort() print(*li,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,997
s993368143
p04044
u554784585
1593631991
Python
Python (3.8.2)
py
Accepted
29
9048
148
N,L=map(int,input().split()) li=[] s="" for i in range(N): a=str(input()) li.append(a) li.sort() for j in range(N): s+=li[j] 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,998
s376086665
p04044
u521470676
1593549151
Python
Python (3.8.2)
py
Accepted
26
9064
106
n, l = map(int, input().split()) s = [] for i in range(n): s.append(input()) s.sort() print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,999
s511321341
p04044
u819135704
1593520497
Python
Python (3.8.2)
py
Accepted
30
9156
114
n, l = map(int, input().split()) s = [input() for i in range(n)] s.sort() S = "" for i in s: S += i print(S)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,000
s670622102
p04044
u913973350
1593457483
Python
Python (3.8.2)
py
Accepted
28
9156
135
s,l = map(int,input().split()) t=[] for k in range(s): t.append(input()) t.sort() p='' for j in t: p+=j print(p)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,001
s211717624
p04044
u013202780
1593395149
Python
Python (3.8.2)
py
Accepted
30
9064
55
n,l,*s=open(0).read().split();print("".join(sorted(s)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,002
s852153163
p04044
u073646027
1593383903
Python
Python (3.8.2)
py
Accepted
28
9164
89
n,l = map(int,input().split()) x = [input() for i in range(n)] x.sort() print(*x,sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,003
s360742437
p04044
u279005807
1593383503
Python
Python (3.8.2)
py
Accepted
26
9096
115
n, L = (map(int, input().split())) ss = [] for i in range(n): ss.append(input()) ss.sort() print("".join(ss))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,004
s279864561
p04044
u605086727
1593380984
Python
Python (3.8.2)
py
Accepted
25
9172
98
N, L = map(int, input().split()) words = sorted([input() for _ in range(N)]) print(*words, sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,005
s812948162
p04044
u577504524
1593353887
Python
Python (3.8.2)
py
Accepted
27
9172
156
#B n,l = map(int,input().split()) word_list=[] for i in range(n): word = str(input()) word_list.append(word) x = sorted(word_list) print(''.join(x))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,006
s378029409
p04044
u831294922
1593332180
Python
Python (3.8.2)
py
Accepted
31
9172
138
import sys input = sys.stdin.readline n, l = map(int, input().split()) s = [input().strip() for _ in range(n)] s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,007
s184754542
p04044
u743682467
1593315185
Python
Python (3.8.2)
py
Accepted
27
9132
138
N, L = map(int, input().split()) tmp = [] for i in range(N): tmp.append(input()) tmp.sort() #print(tmp) print("".join(i for i in tmp))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,008
s433644184
p04044
u896004073
1593306699
Python
Python (3.8.2)
py
Accepted
30
9200
119
N, L = input().split() inputs = [input() for i in range(int(N))] inputs.sort() result = "".join(inputs) print(result)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,009
s168771685
p04044
u699522269
1593306169
Python
Python (3.8.2)
py
Accepted
28
9160
120
a = input().split() str_list = [] for i in range(int(a[0])): str_list.append(input()) print("".join(sorted(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,213,010
s049382388
p04044
u841568901
1593295328
Python
Python (3.8.2)
py
Accepted
29
8792
109
N, L = map(int, input().split()) S = sorted([input() for _ in range(N)]) a = "" for s in S: a += s print(a)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,011
s199528318
p04044
u479937725
1593294779
Python
Python (3.8.2)
py
Accepted
29
9168
89
N,L = map(int,input().split()) S = sorted([input() for n in range(N)]) print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,012
s341081510
p04044
u088488125
1593278779
Python
Python (3.8.2)
py
Accepted
23
9060
134
n,l=map(int, input().split()) s=[] for i in range(n): s.append(input()) s.sort() sen="" for i in range(n): sen=sen+s[i] print(sen)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,013
s826093226
p04044
u565245377
1593236705
Python
PyPy3 (7.3.0)
py
Accepted
66
62768
151
n, l = map(int, input().split()) ara = [] for i in range(n): s = input() ara.append(s) ara.sort() for i in ara: print(i, end="") print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,014
s700795846
p04044
u618369407
1593220307
Python
Python (3.8.2)
py
Accepted
26
9152
145
# -*- coding: utf-8 -*- n, l = map(int, input().split()) s = [] for i in range(n): s.append(str(input())) s = sorted(s) print(*s, sep='')
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,015
s544301719
p04044
u492910842
1593216501
Python
PyPy3 (7.3.0)
py
Accepted
67
62460
93
n,l=map(int,input().split()) s=[input() for i in range(n)] 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,213,016