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
s562500697
p04044
u187109555
1574096990
Python
Python (3.4.3)
py
Accepted
17
3060
196
N, L = map(int, input().split()) strings = [] for _ in range(N): strings.append(input()) sorted_strings = sorted(strings) ans = "" for string in sorted_strings: ans += string 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,214,217
s017068748
p04044
u894685221
1574027070
Python
Python (3.4.3)
py
Accepted
17
3060
175
N, L = map(int, input().split()) s = [] #import pdb; pdb.set_trace(); ans = '' for i in range(N): s.append(input()) s.sort() for j in range(N): ans += s[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,214,218
s187763645
p04044
u045953894
1573968068
Python
Python (3.4.3)
py
Accepted
17
3060
103
n,l = map(int,input().split()) s=[] for i in range(n): s.append(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,214,219
s360873411
p04044
u492447501
1573952150
Python
Python (3.4.3)
py
Accepted
17
3060
95
N, L = map(int, input().split()) A = sorted([input() for _ in range(N)]) 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,214,220
s621811025
p04044
u002539468
1573939993
Python
Python (3.4.3)
py
Accepted
17
3060
194
def main(): N, L = map(lambda i: int(i), input().split(' ')) S = [] for i in range(N): S.append(input()) S.sort() answer = '' for s in S: answer += s print(answer) 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,214,221
s778371575
p04044
u047178225
1573932053
Python
Python (3.4.3)
py
Accepted
18
3060
118
N, L = [int(i) for i in input().split()] S = [] for i in range(N): S.append(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,214,222
s160478004
p04044
u452015170
1573854021
Python
Python (3.4.3)
py
Accepted
18
3060
147
n, l = map(int,input().split()) s = [] for i in range(n) : s += [input()] s = sorted(s) ans = "" for i in range(n) : ans += s[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,223
s409726464
p04044
u607741489
1573743818
Python
Python (3.4.3)
py
Accepted
17
3060
147
n,p = map(int, input().split()) a = [] for i in range(n): l = input() a.append(l) a.sort() msg = "" for i in range(n): msg += a[i] print(msg)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,224
s044653822
p04044
u846634344
1573675880
Python
Python (3.4.3)
py
Accepted
18
3060
131
n, l = [int(x) for x in input().split()] slist = [] for i in range(n): slist.append(input()) slist.sort() print(''.join(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,214,225
s372011649
p04044
u633450100
1573656392
Python
Python (3.4.3)
py
Accepted
17
3060
148
N,L = [int(i) for i in input().split()] S = [0] * N A = "" for i in range(N): S[i] = input() S.sort() for i in range(N): A += S[i] print(A)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,226
s463029194
p04044
u727787724
1573632701
Python
Python (3.4.3)
py
Accepted
17
3060
168
# coding: utf-8 # Your code here! n,l=map(int,input().split()) s=[] ans='' for i in range(n): s.append(input()) s.sort() for j in range(n): ans+=s[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,214,227
s295776766
p04044
u348012297
1573628136
Python
Python (3.4.3)
py
Accepted
17
3060
110
n, l = map(int, input().split()) s = [] for i in range(n): s.append(input()) print(''.join(sorted(s)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,228
s281571038
p04044
u735069283
1573627823
Python
Python (3.4.3)
py
Accepted
20
3060
88
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,214,229
s158906874
p04044
u052499405
1573620956
Python
Python (3.4.3)
py
Accepted
17
3060
151
n, l = [int(item) for item in input().split()] ss = [] for i in range(n): ss.append(input().rstrip()) ss.sort() print("".join([item for item in 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,214,230
s474050384
p04044
u326775883
1573617977
Python
Python (3.4.3)
py
Accepted
17
3060
186
def ans(s): s = sorted(s) s = ''.join(s) return s if __name__ == "__main__": n, l = list(map(int, input().split())) s = ans([input() for i in range(n)]) print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,231
s312389098
p04044
u209619667
1573565812
Python
Python (3.4.3)
py
Accepted
17
3060
141
N,M = map(int,input().split()) S = [input() for _ in range(N)] S=sorted(S) S=', '.join(map(str, S)) print(S.replace(',','').replace(' ',''))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,232
s888580373
p04044
u728724337
1573563866
Python
Python (3.4.3)
py
Accepted
17
3060
171
a,b = (int(num) for num in input().split()) list = [] while a>0: word = input() list.append(word) a -= 1 list.sort() joined = ''.join(list) print(joined)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,233
s490509685
p04044
u141786930
1573534331
Python
Python (3.4.3)
py
Accepted
17
3060
186
def main(): N, L = map(int, input().split()) S = [] for i in range(N): S.append(input()) 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,214,234
s620651383
p04044
u902786897
1573458681
Python
Python (3.4.3)
py
Accepted
17
3060
109
n,l=map(int,input().split()) print("".join(sorted(list(map(str,[input() for i in range(n)])),key=str.lower)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,235
s160239821
p04044
u855421552
1573449650
Python
Python (3.4.3)
py
Accepted
17
3060
130
x = list(map(int,input().split())) A = [] for i in range(x[0]): A.append(input()) A.sort() result = ''.join(A) print(result)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,236
s327391950
p04044
u737321654
1573424053
Python
Python (3.4.3)
py
Accepted
17
3060
100
N,L = map(int, input().split()) S = [input() for i in range(N)] str = '' S.sort() print(str.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,214,237
s064404861
p04044
u124498235
1573420743
Python
Python (3.4.3)
py
Accepted
18
3060
92
n, l = map(int, input().split()) a = [input() for _ in range(n)] a.sort() print ("".join(a))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,238
s813535974
p04044
u702018889
1573412570
Python
Python (3.4.3)
py
Accepted
17
3060
85
n,l=map(int,input().split()) s=[input() for _ in range(n)] s.sort() print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,239
s109669776
p04044
u053035261
1573360312
Python
Python (3.4.3)
py
Accepted
17
3060
88
a = input().split(" ") s = [input() for i in range(int(a[0]))] 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,214,240
s365290130
p04044
u762420987
1573340579
Python
Python (3.4.3)
py
Accepted
17
3060
99
N, L = map(int, input().split()) Slist = sorted([input() for _ in range(N)]) print("".join(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,214,241
s317171214
p04044
u080945673
1573311692
Python
Python (3.4.3)
py
Accepted
17
3060
141
a,b = (int(x) for x in input().split()) s=[] c='' for i in range(a): s.append(input()) s.sort() for i in range(a): c+=s[i] 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,214,242
s026354095
p04044
u779728630
1573281450
Python
Python (3.4.3)
py
Accepted
17
3060
140
N, L = map(int, input().split()) S = [] for i in range(N): S.append(input()) S.sort() res = "" for i in range(N): res += S[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,214,243
s833475104
p04044
u021759654
1573261178
Python
Python (3.4.3)
py
Accepted
17
3060
115
n, l = map(int, input().split()) s = [] for i in range(n): ss = input() s.append(ss) 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,214,244
s241219506
p04044
u633548583
1573258955
Python
Python (3.4.3)
py
Accepted
17
3060
103
N,L=map(int,input().split()) S=list(input() for i in range(N)) S_sort=sorted(S) print(''.join(S_sort))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,245
s657858266
p04044
u533039576
1573228702
Python
Python (3.4.3)
py
Accepted
17
3060
104
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,214,246
s104323147
p04044
u754022296
1573220101
Python
Python (3.4.3)
py
Accepted
17
3060
92
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,214,247
s721370322
p04044
u276115223
1573217392
Python
Python (3.4.3)
py
Accepted
17
3060
245
# ABC 042: B – 文字列大好きいろはちゃんイージー / Iroha Loves Strings (ABC Edition) n, l = [int(s) for s in input().split()] s = [input() for _ in range(n)] s.sort() result = '' for word in s: result += word 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,214,248
s016773486
p04044
u317713173
1573179803
Python
Python (3.4.3)
py
Accepted
18
3060
94
N, L = map(int, input().split()) S = list(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,214,249
s337567431
p04044
u434282696
1573171752
Python
Python (3.4.3)
py
Accepted
17
3060
139
n,l=map(int,input().split()) S=[] for i in range(n): s=input() S.append(s) S.sort() res='' for i in range(n): res=res+S[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,214,250
s554976613
p04044
u213234540
1573170515
Python
Python (3.4.3)
py
Accepted
17
3060
83
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,214,251
s055187080
p04044
u213234540
1573169568
Python
Python (3.4.3)
py
Accepted
18
3060
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,214,252
s531990647
p04044
u281303342
1573159692
Python
Python (3.4.3)
py
Accepted
17
3060
168
# python3 (3.4.3) import sys input = sys.stdin.readline # main N,L = map(int,input().split()) S = list(input().rstrip() 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,214,253
s088864422
p04044
u322185540
1573135609
Python
Python (3.4.3)
py
Accepted
18
3060
113
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,214,254
s012389391
p04044
u161318582
1573135397
Python
Python (3.4.3)
py
Accepted
17
3060
91
n, l = map(int,input().split()) ls = sorted([input() for i in range(n)]) 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,214,255
s711126051
p04044
u637551956
1573075226
Python
Python (3.4.3)
py
Accepted
17
3060
91
N,L=map(int,input().split()) S =[str(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,214,256
s536366413
p04044
u923659712
1573059298
Python
Python (3.4.3)
py
Accepted
17
3060
105
n,l=map(int,input().split()) a=[] for i in range(n): s=a.append(input()) a.sort() k=''.join(a) print(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,214,257
s792266017
p04044
u390883247
1573039975
Python
Python (3.4.3)
py
Accepted
17
3060
145
N,_ = map(int,input().split()) Data = [] for _ in range(N): Data.append(input()) Data.sort() ans = '' for s in Data: 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,214,258
s848555543
p04044
u215018528
1573022074
Python
Python (3.4.3)
py
Accepted
18
3060
91
N, L = map(int, input().split()) s = [input() for _ in range(N)] s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,259
s414860900
p04044
u940061594
1573017585
Python
Python (3.4.3)
py
Accepted
17
3060
189
#Iroha Loves Strings (ABC Edition) N, L = map(int, input().split()) S = [] for _ in range(N): S.append(input()) sort = sorted(S) R = "" for i in range(0,N): R = R + sort[i] print(R)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,260
s496203748
p04044
u663438907
1573008781
Python
Python (3.4.3)
py
Accepted
17
3060
154
N, L = map(int, input().split()) str_list = [] for i in range(N): str_list.append(str(input())) str_list.sort() ans = ''.join(str_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,214,261
s174627897
p04044
u840310460
1572989628
Python
Python (3.4.3)
py
Accepted
18
3060
114
N, L = [int(i) for i in input().split()] S = [input() for i in range(N)] S_sort = sorted(S) print("".join(S_sort))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,262
s103323784
p04044
u452269253
1572960551
Python
Python (3.4.3)
py
Accepted
17
3060
111
N, L = [int(i) for i in input().split()] words = [input() for i in range(N)] words.sort() print("".join(words))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,263
s519733320
p04044
u580697892
1572919723
Python
Python (3.4.3)
py
Accepted
17
3060
133
# coding: utf-8 N, L = map(int, input().split()) S = [] for _ in range(N): s = input() S.append(s) S.sort() print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,264
s418249496
p04044
u799691369
1572902487
Python
Python (3.4.3)
py
Accepted
17
3060
161
NL = input().split() iroha = [] i=0 while i < int(NL[0]): inp = input() iroha.append(inp) i+=1 for value in sorted(iroha): print(value, 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,214,265
s656335256
p04044
u032468447
1572895124
Python
Python (3.4.3)
py
Accepted
17
3060
124
N,L = map(int,input().split()) strL = [] for _ in range(N): strL.append(input()) strL = sorted(strL) print("".join(strL))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,266
s447095025
p04044
u533713111
1572855675
Python
Python (3.4.3)
py
Accepted
18
3060
88
N,L = map(int,input().split()) S = sorted([input() for l 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,214,267
s738571708
p04044
u216631280
1572837384
Python
Python (3.4.3)
py
Accepted
18
3064
117
n, l = map(int, input().split()) li = list() for _ in range(n): li.append(input()) li.sort() 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,214,268
s495423612
p04044
u803617136
1572833174
Python
Python (3.4.3)
py
Accepted
17
3060
133
n, l = map(int, input().split()) strings = [] for i in range(n): strings.append(input()) strings.sort() print(''.join(strings))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,269
s530300895
p04044
u503294750
1572808368
Python
Python (3.4.3)
py
Accepted
17
3060
178
line = input().split() M=str(line[0]) N = int(line[0]) L = line[1] S = [] for i in range(N): S.append(input()) Sorted_S=sorted(S) answer="".join(Sorted_S) 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,214,270
s890794511
p04044
u317713173
1572715242
Python
Python (3.4.3)
py
Accepted
17
3060
156
line = input().split() N = int(line[0]) L = line[1] S = [] for i in range(N): S.append(input()) S.sort() for word in S: print(word, 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,214,271
s304487282
p04044
u143278390
1572658453
Python
Python (3.4.3)
py
Accepted
17
3060
94
N,L=[int(i) for i in 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,214,272
s302642275
p04044
u117193815
1572639865
Python
Python (3.4.3)
py
Accepted
18
3060
123
n,l=map(int, input().split()) ans=[] for i in range(n): ans.append(input()) p=sorted(ans) for i in p: 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,214,273
s779030274
p04044
u717993780
1572628727
Python
Python (3.4.3)
py
Accepted
17
3060
134
n,l = map(int,input().split()) li = [input() for _ in range(n)] li = sorted(li) ans = "" for i in range(n): ans += li[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,214,274
s598222505
p04044
u576917603
1572623572
Python
Python (3.4.3)
py
Accepted
17
3060
95
a,b = map(int, input().split()) x = [input() for i in range(a)] x = sorted(x) 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,214,275
s655320704
p04044
u348868667
1572570283
Python
Python (3.4.3)
py
Accepted
17
3060
88
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,214,276
s871412926
p04044
u557494880
1572507906
Python
Python (3.4.3)
py
Accepted
17
3060
162
N, L = map(int,input().split()) S =[] for i in range(N): s = str(input()) S.append(s) S.sort() ans = '' for i in range(N): ans = 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,214,277
s278207889
p04044
u225388820
1572495745
Python
Python (3.4.3)
py
Accepted
17
3060
111
n,l= map(int, input().split()) s=sorted(input() for i in range(n)) t='' for i in range(n): t+=s[i] print(t)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,278
s837730952
p04044
u202570162
1572385785
Python
Python (3.4.3)
py
Accepted
17
3060
89
n,l = map(int,input().split()) s = [input() for i in range(n)] s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,279
s177786477
p04044
u819939299
1572373788
Python
Python (3.4.3)
py
Accepted
17
3060
84
n,l=map(int,input().split()) s=sorted([input() for i in range(n)]) print("".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,214,280
s575942234
p04044
u149991748
1572371377
Python
Python (3.4.3)
py
Accepted
18
3060
270
# -*-coding: utf-8 -*- #文字列の数、文字数の入力 num,len = map(int, input().split()) #文字列の入力 str = list(input() for i in range(num)) last_str = "" str.sort() #ソート #文字列の合体 for s in str: last_str = last_str + s print(last_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,214,281
s299154856
p04044
u580093517
1572363866
Python
Python (3.4.3)
py
Accepted
17
3060
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,214,282
s027817282
p04044
u580093517
1572363662
Python
Python (3.4.3)
py
Accepted
17
3060
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,214,283
s470334643
p04044
u773305685
1572363031
Python
Python (3.4.3)
py
Accepted
17
3060
134
n,l=map(int,input().split()) s=[] for i in range(0,n): s.append(input()) s.sort() ans="" for str in s: ans += str 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,214,284
s253177108
p04044
u982517812
1572319669
Python
Python (3.4.3)
py
Accepted
18
3060
122
a, b = map(int, input().split()) c = [] for i in range(a): c.append(str(input())) d =sorted(c) e = "".join(d) print(e)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,285
s536692335
p04044
u134520518
1572305775
Python
Python (3.4.3)
py
Accepted
19
3060
93
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,214,286
s729863094
p04044
u819939299
1572290748
Python
Python (3.4.3)
py
Accepted
17
3060
86
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,214,287
s623624384
p04044
u633000076
1572219207
Python
Python (3.4.3)
py
Accepted
17
3060
114
n,l=map(int,input().split(" ")) words=[input() for i in range(0,n)] words.sort() words="".join(words) print(words)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,288
s481584259
p04044
u166888020
1572208342
Python
Python (3.4.3)
py
Accepted
17
3060
111
N, L = map(int, input().split()) S = [input() for i in range(N)] S.sort() result = ''.join(S) 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,214,289
s673112611
p04044
u814986259
1572192883
Python
Python (3.4.3)
py
Accepted
17
3060
86
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,214,290
s302871172
p04044
u886655280
1572163598
Python
Python (3.4.3)
py
Accepted
17
3060
198
N, L = map(int, input().split()) S_list = [] for s in range(N): s = input() S_list.append(s) S_list.sort() combined_S = '' for i in range(N): combined_S += S_list[i] print(combined_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,214,291
s237607773
p04044
u171115409
1572113679
Python
Python (3.4.3)
py
Accepted
18
3060
183
# -*- coding: utf-8 -*- # 整数の入力 N, L = map(int, input().split()) # 文字列の入力 LL = [] for i in range(N): s = input() LL.append(s) LL.sort() print("".join(LL))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,292
s250009838
p04044
u269778596
1572113312
Python
Python (3.4.3)
py
Accepted
18
3060
151
n,l = list(map(int,input().split())) ans = [] for _ in range(n): a = input() ans.append(a) ans = sorted(ans) print("".join(i for i in 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,214,293
s562212944
p04044
u172111219
1572109243
Python
Python (3.4.3)
py
Accepted
17
3060
91
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,214,294
s443420185
p04044
u636290142
1572101756
Python
Python (3.4.3)
py
Accepted
17
3060
126
n, l = map(int, input().split()) s_li = list() for _ in range(n): s_li.append(input()) s_li.sort() print(''.join(s_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,214,295
s482866403
p04044
u623516423
1572037636
Python
Python (3.4.3)
py
Accepted
45
3064
370
N, L=list(map(int,input().split())) s=[] ans='' for i in range(N): s.append(input()) for i in range(N-1): for j in range(N-i-1): s1=s[i] s2=s[i+j+1] k=0 while k < L-1 and ord(s1[k])==ord(s2[k]): k+=1 if ord(s1[k]) > ord(s2[k]): s[i]=s2 ...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,296
s034517230
p04044
u368882459
1572033991
Python
Python (3.4.3)
py
Accepted
17
3060
94
n, l = map(int, input().split()) ary = [input() for i in range(n)] print(''.join(sorted(ary)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,297
s299606533
p04044
u100418016
1572013482
Python
Python (3.4.3)
py
Accepted
17
3060
159
arr_len_int = int(input().split(' ')[0]) if (arr_len_int==1): print(input()) else: a = [input() for i in range(arr_len_int)] 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,214,298
s836920657
p04044
u518223105
1571890819
Python
Python (3.4.3)
py
Accepted
18
3060
123
# -*- coding: utf-8 -*- n, l = map(int, list(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,214,299
s954367879
p04044
u628965061
1571886579
Python
Python (3.4.3)
py
Accepted
17
3060
91
n,l=map(int,input().split()) slist=sorted([input() for _ in range(n)]) print(*slist,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,214,300
s895359550
p04044
u254871849
1571883274
Python
Python (3.4.3)
py
Accepted
17
3060
134
n, l = map(int, input().split()) words = [] for i in range(n): words.append(input()) words.sort() ans = ''.join(words) 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,214,301
s351802309
p04044
u614875193
1571881172
Python
Python (3.4.3)
py
Accepted
17
3060
90
N,L=map(int,input().split()) S=[str(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,214,302
s294392023
p04044
u079427319
1571801629
Python
Python (3.4.3)
py
Accepted
17
3060
146
size, length = map(int, input().split()) strList = [] for counter in range(size): strList.append(input()) strList.sort() print(''.join(strList))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,303
s495558889
p04044
u897436032
1571790513
Python
Python (3.4.3)
py
Accepted
17
3060
89
n, l = map(int,input().split()) s = sorted([input() for i in range(n)]) print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,304
s741340436
p04044
u897436032
1571790435
Python
Python (3.4.3)
py
Accepted
17
3060
84
n,l=map(int,input().split()) s=sorted([input() for i in range(n)]) print("".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,214,305
s974449569
p04044
u457803894
1571779097
Python
Python (3.4.3)
py
Accepted
18
3060
175
N_L = input().split(" ") strings = [] ans = "" for i in range(int(N_L[0])): S = input() strings.append(S) strings.sort() for j in strings: ans = 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,214,306
s281929037
p04044
u489108157
1571778451
Python
Python (3.4.3)
py
Accepted
18
3060
114
n,l=map(lambda x: int(x), input().split()) s=['']*n for i in range(n): s[i]=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,214,307
s028345053
p04044
u951480280
1571777537
Python
Python (3.4.3)
py
Accepted
17
3060
84
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,214,308
s694564510
p04044
u842880209
1571771194
Python
Python (3.4.3)
py
Accepted
19
3060
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,214,309
s213329548
p04044
u816645498
1571764995
Python
Python (3.4.3)
py
Accepted
21
3316
131
N, L = map(int, input().split()) dic = sorted([input() for i in range(N)]) ans = "" for i in range(N): ans += dic[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,214,310
s207862786
p04044
u099300051
1571751856
Python
Python (3.4.3)
py
Accepted
17
3060
125
N,L = map(int,input().split()) dic =sorted([input() for i in range(N)]) ans="" for i in range(N): ans += dic[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,214,311
s359630857
p04044
u911153222
1571701635
Python
Python (3.4.3)
py
Accepted
17
3060
174
def lovestrings(): n, l = map(int, input().split()) s = [input() for _ in range(n)] s.sort() print(''.join(s)) if __name__ == '__main__': lovestrings()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,312
s176581701
p04044
u741953371
1571698718
Python
Python (3.4.3)
py
Accepted
17
3060
82
n, l = input().split(' ') print(''.join(sorted([input() for x in range(int(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,214,313
s606068796
p04044
u673981655
1571681118
Python
Python (3.4.3)
py
Accepted
17
3060
122
n = list(map(int, input().split())) N = n[0] L = n[1] s = [input() for i in range(N)] s.sort() ss = "".join(s) print(ss)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,314
s203750049
p04044
u626468554
1571632858
Python
Python (3.4.3)
py
Accepted
24
3060
153
n,l = map(int,input().split()) s = [] for i in range(n): s.append(input()) s.sort() for i in range(n): print(s[i],end ='') print('\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,214,315
s112553527
p04044
u708255304
1571541629
Python
Python (3.4.3)
py
Accepted
17
3060
99
N, L = map(int, input().split()) S = [str(input()) for _ in range(N)] S.sort() print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,316