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
s309926124
p04044
u360515075
1565559881
Python
Python (3.4.3)
py
Accepted
18
3060
110
N, L = map(int, input().split()) li = [] for i 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,717
s309396395
p04044
u248670337
1565559260
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,718
s831807519
p04044
u158778550
1565543263
Python
Python (3.4.3)
py
Accepted
17
3060
96
n, l = map(int, input().split()) List = sorted([input() for i in range(n)]) 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,214,719
s403154900
p04044
u045909335
1565540867
Python
Python (3.4.3)
py
Accepted
17
3060
102
N, _ = map(int, input().split()) strings = [input() for _ in range(N)] print(''.join(sorted(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,720
s665840625
p04044
u970197315
1565540149
Python
Python (3.4.3)
py
Accepted
18
3060
146
N,L = map(int, input().split()) ans = '' S = [] S = [input() for i in range(N)] S = sorted(S) for s in range(len(S)): ans += S[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,721
s537473134
p04044
u874741582
1565536686
Python
Python (3.4.3)
py
Accepted
20
3060
100
n,l = map(int,input().split()) s = list(input() for i in range(n)) ss = sorted(s) 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,214,722
s880151914
p04044
u488127128
1565465043
Python
Python (3.4.3)
py
Accepted
17
3060
95
N,L = map(int, input().split()) List = sorted([input() for n in range(N)]) print(*List, 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,723
s903336793
p04044
u488127128
1565464929
Python
Python (3.4.3)
py
Accepted
17
3060
95
N,L = map(int, input().split()) List = [input() for n in range(N)] 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,214,724
s470371503
p04044
u753803401
1565461550
Python
Python (3.4.3)
py
Accepted
17
3060
91
n, l = map(int, input().split()) s = [input()for _ in range(n)] s.sort() print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,725
s540044428
p04044
u311379832
1565459505
Python
Python (3.4.3)
py
Accepted
18
3060
141
N, L = map(int, input().split()) sList = [] for i in range(N): sList.append(input()) sList.sort() for i in sList: 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,726
s735186673
p04044
u706929073
1565459307
Python
Python (3.4.3)
py
Accepted
17
3060
93
(n, l) = map(int, input().split()) s = "".join(sorted([input() for _ in range(n)])) print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,727
s232797140
p04044
u137443009
1565414285
Python
Python (3.4.3)
py
Accepted
17
3060
186
list01 = str(input()).split() N = int(list01[0]) L = int(list01[1]) chara = list() for i in range(N): chara.append(input()) chara.sort() new_str = ''.join(chara) print(new_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,728
s017979586
p04044
u503111914
1565407134
Python
Python (3.4.3)
py
Accepted
17
3060
96
N,L = map(int,input().split()) a = [input() for i in range(N)] a.sort() b = ''.join(a) print(b)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,729
s655493893
p04044
u638282348
1565405774
Python
Python (3.4.3)
py
Accepted
17
3060
125
n, l = map(int, input().rstrip("\n").split()) strings = sorted([input().rstrip() for _ in range(n)]) 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,730
s191576903
p04044
u380524497
1565404574
Python
Python (3.4.3)
py
Accepted
17
3060
127
n, l = map(int, input().split()) text_list = [input() for i in range(n)] text_list.sort() ans = ''.join(text_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,731
s823989135
p04044
u901447859
1565404280
Python
Python (3.4.3)
py
Accepted
17
3060
56
_,_,*s = open(0).read().split() 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,732
s092666989
p04044
u901447859
1565404091
Python
Python (3.4.3)
py
Accepted
17
3060
57
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,214,733
s384664840
p04044
u493491792
1565382648
Python
Python (3.4.3)
py
Accepted
17
3060
125
n,l=map(int,input().split()) lista=[] for i in range(n): lista.append(input()) lista.sort() ans="".join(lista) 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,734
s619270409
p04044
u939581910
1565380632
Python
Python (3.4.3)
py
Accepted
18
3060
103
N,L=map(int,input().split()) x=[] i=0 for i in range(N): x.append(input()) x.sort() 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,735
s384641251
p04044
u106103668
1565374502
Python
Python (3.4.3)
py
Accepted
17
3060
126
def resolve(): n,l = map(int,input().split()) s = sorted([input() for _ in range(n)]) print(*s,sep='') 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,214,736
s994065780
p04044
u652057333
1565365927
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()) 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,737
s313257607
p04044
u111525113
1565359701
Python
Python (3.4.3)
py
Accepted
18
3060
153
n, l= map(int, input().split()) words=[] for i in range(n): words.append(input()) words.sort() for i in range(n): print("{}".format(words[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,738
s372128222
p04044
u503476415
1565294246
Python
Python (3.4.3)
py
Accepted
17
3060
109
N, L = map(int, 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,739
s189283996
p04044
u280853184
1565275440
Python
Python (2.7.6)
py
Accepted
10
2568
155
N,L = map(int, raw_input().split()) a = [] s = "" for i in range(N): b = raw_input() a.append(b) a.sort() for i in range(N): s += a[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,214,740
s763038784
p04044
u736729525
1565238352
Python
Python (3.4.3)
py
Accepted
17
3060
96
N, L = [int(x) for x in input().split()] print("".join(sorted([input() for i in range(N)])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,741
s436248416
p04044
u053677958
1565234304
Python
Python (3.4.3)
py
Accepted
18
3060
310
# coding: utf-8 if __name__ == "__main__": raw = input() N, L = [int(f) for f in raw.split(" ")] str_list = [] for i in range(N): raw = input() str_list.append(raw) sorted_str = sorted(str_list) join_str = "".join(sorted_str) print(join_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,742
s100312297
p04044
u729535891
1565224059
Python
Python (3.4.3)
py
Accepted
17
3064
121
N, L = map(int, input().split()) S = [input() for _ in range(N)] S2 = sorted(S) mojiretsu = ''.join(S2) print(mojiretsu)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,743
s266793726
p04044
u871049538
1565207992
Python
Python (3.4.3)
py
Accepted
17
3060
114
s = input().rstrip().split(" ") t = [] for i in range(int(s[0])): t.append(input()) print("".join(sorted(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,744
s555742455
p04044
u224488911
1565204848
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(*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,745
s724876563
p04044
u800729321
1565188884
Python
Python (3.4.3)
py
Accepted
17
3060
174
i = input().split() s, t = map(int, i) str_list = [] for i in range(s): string = input() str_list.append(string) 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,746
s018186371
p04044
u278463847
1565159490
Python
Python (3.4.3)
py
Accepted
17
3060
92
n, l = map(int, input().split()) ss = [input() for _ in range(n)] print(''.join(sorted(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,747
s441034892
p04044
u729535891
1565143741
Python
Python (3.4.3)
py
Accepted
18
3060
120
N, L = map(int, input().split()) S = [input() for _ in range(N)] S2 = sorted(S) mojiretsu = ''.join(S2) print(mojiretsu)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,748
s323000851
p04044
u729535891
1565143444
Python
Python (3.4.3)
py
Accepted
17
3060
120
N, L = map(int, input().split()) S = [input() for _ in range(N)] S2 = sorted(S) mojiretsu = ''.join(S2) print(mojiretsu)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,749
s496873397
p04044
u940449872
1565133480
Python
Python (3.4.3)
py
Accepted
17
3060
131
N, _ = map(int, input().split()) l_list = [str(input()) for i in range(N)] l_list = sorted(l_list) ans = ''.join(l_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,750
s962034341
p04044
u296150111
1565101839
Python
Python (3.4.3)
py
Accepted
17
3060
127
n,l=map(int,input().split()) s=[] for i in range(n): s.append(input()) s.sort() d="" for i in range(len(s)): d+=s[i] print(d)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,751
s592917555
p04044
u200785298
1565057044
Python
Python (3.4.3)
py
Accepted
17
3060
535
#!/usr/bin/env python3 import sys sys.setrecursionlimit(300000) def solve(N: int, L: int, S: "List[str]"): S.sort() ret = ''.join(S) print(ret) return def main(): def iterate_tokens(): for line in sys.stdin: for word in line.split(): yield word tokens = it...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,752
s580098631
p04044
u578850957
1565056575
Python
Python (3.4.3)
py
Accepted
18
3060
120
N,L = list(map(int,input().split())) char_list = [input() for i in range(N)] char_list.sort() print(''.join(char_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,214,753
s942350969
p04044
u999669171
1565054707
Python
Python (3.4.3)
py
Accepted
17
3060
111
n, l = map( int, input().split( ' ' ) ) strs = sorted( [ input() for i in range(n) ] ) print( ''.join( strs ) )
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,754
s449187679
p04044
u866124363
1565039635
Python
Python (3.4.3)
py
Accepted
17
3060
132
N, L = map(int, input().split()) S = [] for i in range(N): S.append(input()) S.sort() for s in S: print(s, end='') print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,755
s939471804
p04044
u385309449
1565037966
Python
Python (3.4.3)
py
Accepted
18
3060
94
x,y = map(int,input().split()) a = [input() for i in range(x)] a = sorted(a) 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,756
s537516182
p04044
u229959388
1565030740
Python
Python (3.4.3)
py
Accepted
18
3060
99
n, l = input().split() a = [input() for i in range(int(n))] a.sort() print('{}'.format(''.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,757
s769413370
p04044
u910756197
1565026538
Python
Python (3.4.3)
py
Accepted
17
3060
93
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,758
s151264712
p04044
u188244611
1565016018
Python
Python (3.4.3)
py
Accepted
18
3060
139
# ABC 42 B - iroha loves strings n, l = [int(el) for el in 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,759
s668986397
p04044
u027641915
1564981993
Python
Python (3.4.3)
py
Accepted
17
3060
94
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,760
s878275914
p04044
u268291479
1564977500
Python
Python (3.4.3)
py
Accepted
17
3060
91
N, L = map(int, input().split()) P = [input() for i in range(N)] P.sort() print("".join(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,214,761
s449057085
p04044
u268291479
1564977356
Python
Python (3.4.3)
py
Accepted
17
3060
132
# 入力 N,L=map(int,input().split()) l=[] for i in range(N): l.append(input()) # ソート l.sort() # 出力 print(''.join(l))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,762
s079486677
p04044
u466330895
1564967240
Python
Python (3.4.3)
py
Accepted
17
3060
163
n, length = map(int, input().split()) s_list = [input() for i in range(n)] # リストの各要素を空文字でjoin s_str = ''.join(sorted(s_list)) print(s_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,763
s186462603
p04044
u466330895
1564966860
Python
Python (3.4.3)
py
Accepted
21
3316
179
n, l = map(int, input().split()) s_list = [] for i in range(n): s_list.append(input()) # リストの各要素を空文字でjoin s_str = ''.join(sorted(s_list)) print(s_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,764
s255398885
p04044
u084324798
1564965317
Python
Python (3.4.3)
py
Accepted
17
3060
208
num_word, word_length = map(int, input().split()) li_word = [input() for i in range(num_word)] sorted_li = sorted(li_word) con_word = "" for i in range(num_word): con_word += sorted_li[i] print(con_word)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,765
s830874713
p04044
u057308539
1564955237
Python
Python (3.4.3)
py
Accepted
17
3060
111
N,L=map(int,input().split()) S=[] S_list=[] 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,214,766
s104065676
p04044
u242518667
1564954834
Python
Python (3.4.3)
py
Accepted
17
3060
88
n,l=map(int,input().split()) s=list(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,767
s780307034
p04044
u255943004
1564952486
Python
Python (3.4.3)
py
Accepted
17
3060
102
N,L = map(int,input().split()) S=[] for n 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,768
s353472344
p04044
u625729943
1564949889
Python
Python (3.4.3)
py
Accepted
17
3060
91
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() print(*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,769
s866649432
p04044
u215315599
1564948586
Python
Python (3.4.3)
py
Accepted
17
3060
204
tmp = input() N = int(tmp.split(" ")[0]) L = int(tmp.split(" ")[1]) S = [] for i in range(N): S.append(input()) S.sort() output = "" for i in range(N): output = output + S[i] print(output)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,770
s863109977
p04044
u999331208
1564941911
Python
Python (3.4.3)
py
Accepted
17
3060
158
n,l=map(int,input().split()) input_str = [] for i in range(n): input_str.append(input()) input_str.sort() mojiretu = ''.join(input_str) print(mojiretu)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,771
s414353237
p04044
u457554982
1564933062
Python
Python (3.4.3)
py
Accepted
17
3060
146
(n,l)=map(int, input().split()) list1=[] for i in range(n): list1.extend(input().split()) list1.sort() for i in range(n): print(list1[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,772
s465853886
p04044
u339515914
1564904082
Python
Python (3.4.3)
py
Accepted
18
3060
106
n, l = map(int, input().split()) s = [] for i in range(n): s.append(input()) print(''.join(sorted(s)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,773
s271229226
p04044
u498397607
1564896578
Python
Python (3.4.3)
py
Accepted
18
3060
120
n, l = map(int, input().split()) s_list = sorted([input() for i in range(n)]) mojiretu = ''.join(s_list) print(mojiretu)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,774
s199525868
p04044
u646264672
1564874414
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,775
s251253233
p04044
u231122239
1564867517
Python
Python (3.4.3)
py
Accepted
17
3060
156
# -*- coding: utf-8 -*- if __name__ == '__main__': 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,776
s937176788
p04044
u979418645
1564854695
Python
Python (3.4.3)
py
Accepted
18
3060
104
N,L=list(map(int, input().split())) s=[input() for i in range(N)] s=sorted(s) out="".join(s) print(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,214,777
s971197272
p04044
u242518667
1564851134
Python
Python (3.4.3)
py
Accepted
17
3060
127
n,l=map(int,input().split()) string=[] for s in range(n): string.append(str(input())) string.sort() print(''.join(string))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,778
s010387450
p04044
u701199820
1564847889
Python
Python (3.4.3)
py
Accepted
17
3060
113
n, l = map(int, input().split()) x = [] for i in range(n): x.append(input()) 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,779
s938616768
p04044
u027165539
1564842752
Python
Python (3.4.3)
py
Accepted
18
3060
112
N, L = map(int, input().split()) str_list = [input() for _ in range(N)] str_list.sort() print(''.join(str_list))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,780
s475249754
p04044
u290211456
1564830766
Python
Python (3.4.3)
py
Accepted
17
3060
128
n, l = list(map(int, input().split())) s = [input() for i in range(n)] s.sort() ss = '' for i in range(n): ss += s[i] 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,781
s235699518
p04044
u571445182
1564809166
Python
Python (3.4.3)
py
Accepted
20
3060
223
Tmp = [] Tmp = input().rstrip().split(' ') nN = int(Tmp[0]) nL = int(Tmp[1]) sWord = [] for i in range(nN): S = input() sWord.append(S) sWord.sort() for i in range(nN): print('%s' %(sWord[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,214,782
s218139386
p04044
u893931781
1564771559
Python
Python (3.4.3)
py
Accepted
17
3060
142
N,L=map(int,input().split()) s=[] for i in range(N): s.append(input()) s.sort() result="" for i in range(N): result+=s[i] 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,783
s373758462
p04044
u713465512
1564755625
Python
Python (3.4.3)
py
Accepted
18
3060
251
N,L = map(int,input().split()) sentences = [] for i in range(N): s = input().rstrip('\n') sentences.append(s) ans =[] count = 0 while len(sentences)>0: add = min(sentences) sentences.remove(add) ans.append(add) 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,784
s371967996
p04044
u118211443
1564752393
Python
Python (3.4.3)
py
Accepted
17
3060
97
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,785
s031798657
p04044
u416258526
1564746293
Python
Python (3.4.3)
py
Accepted
17
3060
84
n, l = map(int, input().split()) print(''.join(sorted([input() for i in range(n)])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,786
s457229935
p04044
u948524308
1564696337
Python
Python (3.4.3)
py
Accepted
17
3060
129
N,L = map(int,input().split()) s = [input() for i in range(N)] s.sort() ans ="" for i in range(N): ans += s[i] print(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,787
s411268411
p04044
u134712256
1564532292
Python
Python (3.4.3)
py
Accepted
17
3060
152
n = input() n = n.split(" ") L = n[1] N = n[0] s = [input() for i in range(int(N))] s.sort() result = '' for si in s: result += si 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,788
s285094416
p04044
u272754211
1564504706
Python
Python (3.4.3)
py
Accepted
18
3060
135
n1,n2 = map(int, input().split()) s = [input() for i in range(n1)] s.sort() result = '' for si in s: result += si 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,789
s872343757
p04044
u921773161
1564426380
Python
Python (3.4.3)
py
Accepted
17
3060
111
N, L = map(int, input().split()) S = [0] * 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,790
s156210835
p04044
u514894322
1564361214
Python
Python (3.4.3)
py
Accepted
17
3060
108
n,j = map(int,input().split()) l = [] for i in range(n): l.append(str(input())) l.sort() print(''.join(l))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,791
s035818217
p04044
u814715203
1564353626
Python
Python (3.4.3)
py
Accepted
34
3064
612
def alpha2num(alpha): num=0 for index, item in enumerate(list(alpha)): num += pow(26,len(alpha)-index-1)*(ord(item)-ord('a')+1) return num def string2num(str): _N = len(str) num=0 for n in range(_N): num+=alpha2num(str[n])* (26**(_N-1-n)) return num 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,214,792
s667549312
p04044
u538956308
1564177993
Python
Python (3.4.3)
py
Accepted
17
3060
109
N,L = map(int,input().split()) S=[] for i in range(N): S.append(input()) S.sort() ans="".join(S) print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,793
s273362820
p04044
u159723084
1564173423
Python
Python (3.4.3)
py
Accepted
17
3060
288
# -*- coding: utf-8 -*- """ Created on Fri Jul 26 04:05:59 2019 @author: matsui """ N,L=map(int,input().split()) abc=[chr(i) for i in range(97,123)] s=list() for i in range(N): s.append(input()) 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,214,794
s516603794
p04044
u031146664
1564155424
Python
Python (3.4.3)
py
Accepted
17
3060
91
n, l = map(int, input().split()) S = [input() for _ in range(n)] S.sort() print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,795
s582481115
p04044
u196697332
1564110182
Python
Python (3.4.3)
py
Accepted
18
3188
212
N, L = map(int, input().split()) S = [0] * N for n in range(N): S[n] = [_ for _ in input()] S = sorted(S, key=lambda x: [x[i] for i in range(L)]) ans = '' for item in S: ans += ''.join(item) 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,796
s910559989
p04044
u271279914
1564106497
Python
Python (3.4.3)
py
Accepted
17
3060
145
str = input().split() v="" sa=list() for i in range(int(str[0])): sa.append(input()[:int(str[1])]) sa.sort() for i in sa: v=v+i print(v)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,797
s006415235
p04044
u324549724
1564105381
Python
Python (3.4.3)
py
Accepted
17
3060
122
n, l = map(int, input().split()) a = [input() for _ in range(n)] a = sorted(a) ans = "" for s in a: 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,798
s424407902
p04044
u302292660
1564096450
Python
Python (3.4.3)
py
Accepted
17
3060
96
n,l = map(int,input().split()) mylist=sorted([input() for i in range(n)]) print("".join(mylist))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,799
s891372480
p04044
u263830634
1564094361
Python
Python (3.4.3)
py
Accepted
17
3060
122
N, L = map(int, input().split()) S = [str(input()) for _ in range(N)] S.sort() for i in S: print (i, end = '') print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,800
s236726585
p04044
u027929618
1564089217
Python
Python (3.4.3)
py
Accepted
17
3060
90
n, l = map(int, input().split()) s = sorted([input() for _ in range(n)]) print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,801
s720986531
p04044
u668503853
1564063173
Python
Python (3.4.3)
py
Accepted
17
3060
88
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,214,802
s346227988
p04044
u815797488
1564046128
Python
Python (3.4.3)
py
Accepted
17
3060
97
N,L = map(int, input().split()) S = [input() for i in range(N)] Ss = sorted(S) 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,214,803
s765349028
p04044
u759412327
1564032895
Python
Python (3.4.3)
py
Accepted
17
3060
96
N,L = list(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,804
s770038087
p04044
u201660334
1564001485
Python
Python (3.4.3)
py
Accepted
18
3060
140
n, l = map(int, input().split()) s = [] for i in range(n): s.append(input()) 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,214,805
s223790491
p04044
u278356323
1563990748
Python
Python (3.4.3)
py
Accepted
17
3060
200
#ABC042b import sys input = sys.stdin.readline sys.setrecursionlimit(10**6) n, l = map(int, input().split()) s = [] for _ in range(n): s.append(input().split("\n")[0]) 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,214,806
s864957588
p04044
u369338402
1563947948
Python
Python (3.4.3)
py
Accepted
17
3060
130
n,l=map(int,input().split()) s=[] res='' for i in range(n): s.append(input()) s.sort() for k in range(n): res+=s[k] 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,807
s801958356
p04044
u408620326
1563937931
Python
Python (3.4.3)
py
Accepted
17
3060
108
N,L=[int(x) for x in input().split()] s=[] for _ in range(N): s.append(input()) s.sort() print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,808
s733811606
p04044
u178888901
1563935636
Python
Python (3.4.3)
py
Accepted
18
3060
113
N, L = map(int, input().split()) lst = [] for _ in range(N): lst.append(input()) lst.sort() print(''.join(lst))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,809
s076940579
p04044
u391328897
1563841266
Python
Python (3.4.3)
py
Accepted
17
3060
154
n, l = map(int, input().split()) S = list() result = '' while n > 0: S.append(input()) n -= 1 for i in sorted(S): result += i 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,810
s527568970
p04044
u148781101
1563758053
Python
Python (3.4.3)
py
Accepted
17
3060
117
n, l = map(int, input().split()) list = [] for i in range(n): list.append(input()) 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,214,811
s530930963
p04044
u777283665
1563739599
Python
Python (3.4.3)
py
Accepted
18
3060
92
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,812
s105370470
p04044
u257226830
1563736977
Python
Python (3.4.3)
py
Accepted
17
3060
130
N,L=input().split() N=int(N) L=int(L) S=[input() for i in range(N)] S.sort() str="" for j in range(N): str=str+S[j] 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,214,813
s371123092
p04044
u281216592
1563667591
Python
Python (3.4.3)
py
Accepted
17
3060
135
N,L = [int(i) for i in input().split()] S = [] for i in range(N): S.append(input()) S_sorted = sorted(S) print(''.join(S_sorted))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,814
s961360233
p04044
u729300713
1563642049
Python
Python (3.4.3)
py
Accepted
17
3060
105
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,214,815
s919464595
p04044
u537782349
1563595499
Python
Python (3.4.3)
py
Accepted
17
3060
92
a, b = map(int, input().split()) c = [input() for _ in range(a)] c.sort() print("".join(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,816