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
s165255778
p04044
u667472448
1586805833
Python
Python (3.4.3)
py
Accepted
17
3060
150
n,l = map(int, input().split()) s = [] for i in range(n): x = input() s.append(x) s.sort() for i in range(n): print(s[i], end="") print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,517
s372781161
p04044
u289162337
1586802854
Python
Python (3.4.3)
py
Accepted
18
3060
125
N, L = map(int, input().split()) l = [input() for _ in range(N)] l = sorted(l) s = "" for i in range(N): s += l[i] print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,518
s913381894
p04044
u288233771
1586800629
Python
Python (3.4.3)
py
Accepted
17
3060
159
N, L = input().split() N = int(N) L = int(L) S = [] for i in range(N): S.append(input()) S = sorted(S) for i in range(N): print(S[i], end = "") print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,519
s686494263
p04044
u486297080
1586794578
Python
Python (3.4.3)
py
Accepted
18
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,213,520
s666939244
p04044
u102242691
1586773557
Python
Python (3.4.3)
py
Accepted
17
3060
131
n,l = map(int,input().split()) s = [input() for _ in range(n)] s.sort() ans = "" for i in range(n): ans += s[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,521
s718158642
p04044
u048176319
1586765685
Python
Python (3.4.3)
py
Accepted
17
3060
151
N, L = map(int, input().split()) l = list() for i in range(0, N): s = input() l.append(s) l = sorted(l) mojiretsu = "".join(l) 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,213,522
s141130911
p04044
u568789901
1586753172
Python
Python (3.4.3)
py
Accepted
17
3060
120
N,L=map(int,input().split()) S=[input() for i in range(0,N)] S=sorted(S) A="" for j in range(0,N): A+=S[j] print(A)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,523
s789663217
p04044
u099187672
1586750091
Python
Python (3.4.3)
py
Accepted
18
3060
176
n,l = map(int,input().split()) l = [] for i in range(n): string = input() l.append(string) l.sort() blank = "" for i in range(len(l)): blank = blank + l[i] print(blank)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,524
s938660906
p04044
u581603131
1586734905
Python
Python (3.4.3)
py
Accepted
18
3060
88
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,213,525
s669648776
p04044
u835283937
1586733643
Python
Python (3.4.3)
py
Accepted
18
3060
193
def main(): N, L = map(int, input().split()) word_list = list() for i in range(N): word_list.append(input()) word_list.sort() print("".join(word_list)) 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,213,526
s449742326
p04044
u851704997
1586657192
Python
Python (3.4.3)
py
Accepted
17
3060
134
N,L = map(int,input().split()) S = [input() for i in range(N)] S = sorted(S) for n in range(N): tmp = S.pop(0) print(tmp,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,213,527
s143082854
p04044
u006817280
1586641552
Python
Python (3.4.3)
py
Accepted
23
3316
265
import collections def solve(n, l, strings): strings.sort() return "".join(strings) [n, l] = list(map(int, input().strip().split())) strings = [] for i in range(n): string = input().strip() strings.append(string) print(solve(n, l, 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,213,528
s145692381
p04044
u106489129
1586640436
Python
Python (3.4.3)
py
Accepted
17
3060
120
n,l=map(int,input().split()) s=[] for i in range(n): s.append(input()) s.sort() ans="" for i in s: ans+=i print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,529
s207314742
p04044
u933129390
1586636700
Python
Python (3.4.3)
py
Accepted
19
3060
135
n, l = map(int, input().split()) s = [] for i in range(n): s.append(input()) s.sort() ans = "" for i in s: ans += i print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,530
s156836217
p04044
u982591663
1586606912
Python
Python (3.4.3)
py
Accepted
17
3060
114
N, L = map(int, input().split()) S = [] for _ in range(N): S.append(input()) S = sorted(S) print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,531
s730865727
p04044
u731448038
1586559132
Python
Python (3.4.3)
py
Accepted
17
3060
93
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,213,532
s185696051
p04044
u032798323
1586551943
Python
Python (3.4.3)
py
Accepted
17
3060
97
N,L = list(map(int,input().split())) a =[input() for i 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,213,533
s981222527
p04044
u394731058
1586549903
Python
Python (3.4.3)
py
Accepted
17
3060
122
n,l = map(int, input().split()) sl = [input() for _ in range(n)] s = "" sl.sort() for i in range(n): s += sl[i] print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,534
s705811654
p04044
u788337030
1586546446
Python
Python (3.4.3)
py
Accepted
18
3060
281
n, l = map(int, input().split()) sorted = [input()] for i in range(n-1): s = input() for j in range(len(sorted)): if s < sorted[j]: sorted.insert(j, s) break if j == len(sorted)-1: sorted.append(s) ans = "" for x in sorted: ans = ans + x print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,535
s519040073
p04044
u748311048
1586540126
Python
Python (3.4.3)
py
Accepted
17
3060
117
n, l = map(int, input().split()) s = list() for i in range(n): s.append(str(input())) s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,536
s029442420
p04044
u581603131
1586523497
Python
Python (3.4.3)
py
Accepted
18
3060
90
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,213,537
s486213608
p04044
u583507988
1586484200
Python
Python (3.4.3)
py
Accepted
17
3060
96
N, L = map(int, input().split()) S = [input() for i in range(N)] s = sorted(S) print(*s, sep='')
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,538
s170387060
p04044
u172780602
1586473431
Python
Python (3.4.3)
py
Accepted
18
3060
143
n,l=map(int,input().split()) list=[] for _ in range(n): list.append(str(input())) list.sort() ans="" for i in list: ans+=i print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,539
s008978500
p04044
u172780602
1586473389
Python
Python (3.4.3)
py
Accepted
17
3060
138
n,l=map(int,input().split()) list=[] for _ in range(n): list.append(input()) list.sort() ans="" for i in list: ans+=i print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,540
s834594647
p04044
u831081653
1586462865
Python
Python (3.4.3)
py
Accepted
17
3060
163
n,l = map(int, input().split()) list = [] for i in range(n): list.append(input()) list.sort() ans = "" for i in range(len(list)): ans += list[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,213,541
s923264068
p04044
u189397279
1586461524
Python
Python (3.4.3)
py
Accepted
17
3060
140
import sys N, L = map(int, sys.stdin.readline().split(" ")) S = sorted([sys.stdin.readline().rstrip() 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,213,542
s120868090
p04044
u373047809
1586453103
Python
Python (3.4.3)
py
Accepted
18
3060
50
print(*sorted(open(0).read().split()[2:]), sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,543
s321291536
p04044
u235210692
1586448704
Python
Python (3.4.3)
py
Accepted
17
3060
125
n,l=[int(i) for i in input().split()] moji=[] for i in range(n): moji.append(input()) moji.sort() print("".join(moji))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,544
s642615334
p04044
u603067482
1586445535
Python
Python (3.4.3)
py
Accepted
18
3060
246
N, L = map(int, input().split()) S = [] for i in range(N): S.append(input()) for i in range(N): if (min(S) == "~XXX"): break print(min(S).replace('\n',''),end="") # print(S.index(min(S))) S[S.index(min(S))] = "~XXX"
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,545
s389201175
p04044
u687135117
1586404373
Python
Python (3.4.3)
py
Accepted
17
3060
116
N,L=map(int,input().split()) Iroha=[] for i in range (0,N): Iroha.append(input()) print(''.join(sorted(Iroha)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,546
s510173784
p04044
u934442292
1586401557
Python
Python (3.4.3)
py
Accepted
17
3060
253
import sys input = sys.stdin.readline def main(): N, L = map(int, input().split()) S = [None] * N for i in range(N): S[i] = input().rstrip() S.sort() ans = "".join(S) print(ans) if __name__ == "__main__": main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,547
s013306657
p04044
u212328220
1586396202
Python
Python (3.4.3)
py
Accepted
18
3060
162
N, L = map(int, input().split()) s_list = [] for i in range(int(N)): s_list.append((input())) s_list = sorted(s_list) answer = ''.join(s_list) print(answer)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,548
s402611305
p04044
u377236950
1586318604
Python
Python (3.4.3)
py
Accepted
17
3060
105
n , l = map(int, input().split()) li = [ input() for i in range(n)] word = sorted(li) print(*word,sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,549
s765330062
p04044
u353797797
1586314410
Python
Python (3.4.3)
py
Accepted
21
3316
744
from itertools import permutations import sys sys.setrecursionlimit(10 ** 6) from bisect import * from collections import * from heapq import * def II(): return int(sys.stdin.readline()) def MI(): return map(int, sys.stdin.readline().split()) def LI(): return list(map(int, sys.stdin.readline().split())) def SI(): ret...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,550
s835859591
p04044
u562935282
1586313461
Python
Python (3.4.3)
py
Accepted
18
3060
308
def main(): N, L = map(int, input().split()) s = [input() for _ in range(N)] s.sort() ans = ''.join(s) print(ans) if __name__ == '__main__': main() # import sys # # sys.setrecursionlimit(10 ** 7) # # input = sys.stdin.readline # rstrip() # int(input()) # map(int, input().split())
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,551
s927442365
p04044
u535171899
1586312755
Python
Python (3.4.3)
py
Accepted
17
3060
109
n,l = map(int,input().split()) input_lines = [input() for i in range(n)] print(''.join(sorted(input_lines)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,552
s121570228
p04044
u456353530
1586311310
Python
Python (3.4.3)
py
Accepted
17
3060
98
N, L = list(map(int, input().split())) S = [input() for _ in range(N)] S.sort() print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,553
s160549603
p04044
u024340351
1586308585
Python
Python (3.4.3)
py
Accepted
17
3060
182
N, L = map(int, input().split()) S = [] for _ in range(N): S.append(input()) S = sorted(S) choniki = str(S[0]) for i in range (1, N): choniki=choniki+S[i] print(choniki)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,554
s668548358
p04044
u977661421
1586308490
Python
Python (3.4.3)
py
Accepted
17
3060
116
# -*- coding: utf-8 -*- 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,213,555
s858522209
p04044
u370429695
1586308328
Python
Python (3.4.3)
py
Accepted
18
3060
120
n, l = map(int,input().split()) s = [input() for _ in range(n)] s = sorted(s) for i in range(n): print(s[i], end="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,556
s628502067
p04044
u970197315
1586308294
Python
Python (3.4.3)
py
Accepted
17
3060
112
n,l=map(int,input().split()) s=[input() for i in range(n)] s.sort() ans='' for ss in s: ans+=ss print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,557
s939761201
p04044
u704001626
1586308225
Python
Python (3.4.3)
py
Accepted
17
3060
120
# -*- coding: utf-8 -*- n,l = list(map(int,input().split())) c = [input() for i in range(n)] 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,213,558
s801284102
p04044
u923270446
1586308116
Python
Python (3.4.3)
py
Accepted
17
3060
116
n, l = map(int, input().split()) S = [input() for i in range(n)] sorted_list = sorted(S) print(*sorted_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,213,559
s605819072
p04044
u977661421
1586308110
Python
Python (3.4.3)
py
Accepted
17
3060
116
# -*- coding: utf-8 -*- 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,213,560
s751499822
p04044
u001024152
1586308095
Python
Python (3.4.3)
py
Accepted
17
3060
122
N, L = map(int, input().split()) s = [input() for _ in range(N)] ans = "" s.sort() for si in s: ans += si print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,561
s659187487
p04044
u241159583
1586308071
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,213,562
s722020482
p04044
u201928947
1586308036
Python
Python (3.4.3)
py
Accepted
17
3060
113
n,l = map(int,input().split()) lst = [] for i in range(n): lst.append(input()) lst.sort() print("".join(lst))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,563
s408922561
p04044
u623349537
1586307946
Python
Python (3.4.3)
py
Accepted
17
3060
124
N, L = map(int, input().split()) S = ["" for i in range(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,213,564
s689840861
p04044
u814986259
1586307907
Python
Python (3.4.3)
py
Accepted
17
3060
95
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,213,565
s169024532
p04044
u836737505
1586307895
Python
Python (3.4.3)
py
Accepted
18
3060
89
n,l = map(int, input().split()) a = sorted([input() for _ in range(n)]) print(''.join(a))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,566
s718851163
p04044
u754022296
1586307858
Python
Python (3.4.3)
py
Accepted
17
3060
100
n, l = map(int, input().split()) S = sorted([input() for _ in range(n)]) ans = "".join(S) print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,567
s817534499
p04044
u022979415
1586307842
Python
Python (3.4.3)
py
Accepted
17
3060
161
def main(): n, l = map(int, input().split()) s = [input() for _ in range(n)] s.sort() print("".join(s)) if __name__ == '__main__': main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,568
s843403711
p04044
u599114793
1586307835
Python
Python (3.4.3)
py
Accepted
17
3060
90
n,l = map(int,input().split()) s = [input() for i in range(n)] s.sort() print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,569
s005491288
p04044
u130900604
1586307722
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,213,570
s510963412
p04044
u556589653
1586307680
Python
Python (3.4.3)
py
Accepted
18
3060
157
N,K = map(int,input().split()) k = [] ans = "" for i in range(N): S = input() k.append(S) k.sort() for i in range(len(k)): ans += k[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,213,571
s491192684
p04044
u201802797
1586303283
Python
Python (3.4.3)
py
Accepted
17
3060
108
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,213,572
s434050182
p04044
u751717561
1586301341
Python
Python (3.4.3)
py
Accepted
17
3060
101
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() ans = ''.join(S) print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,573
s365948842
p04044
u903005414
1586295565
Python
Python (3.4.3)
py
Accepted
17
3060
107
N, L = map(int, input().split()) S = [input() for _ in range(N)] S = sorted(S) ans = ''.join(S) print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,574
s905667538
p04044
u759412327
1586291182
Python
Python (3.4.3)
py
Accepted
17
3060
49
print(*sorted(open(0).read().split()[2:]),sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,575
s600274276
p04044
u759412327
1586291113
Python
Python (3.4.3)
py
Accepted
17
3060
82
N,L = map(int,input().split()) print(*sorted([input() for n in range(N)]),sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,576
s721130322
p04044
u759412327
1586291059
Python
Python (3.4.3)
py
Accepted
18
3060
87
N,L = map(int,input().split()) S = sorted([input() for n 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,213,577
s505195173
p04044
u276115223
1586286037
Python
Python (3.4.3)
py
Accepted
18
3060
192
# ABC 042: B – 文字列大好きいろはちゃんイージー / Iroha Loves Strings (ABC Edition) n, l = map(int, input().split()) s = [input() for _ in range(n)] print(''.join(sorted(s)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,578
s154887167
p04044
u276115223
1586285664
Python
Python (3.4.3)
py
Accepted
17
3060
193
# ABC 042: B – 文字列大好きいろはちゃんイージー / Iroha Loves Strings (ABC Edition) 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,213,579
s779476290
p04044
u901060001
1586283772
Python
Python (3.4.3)
py
Accepted
17
3060
137
N, L = (int(x) for x in input().split()) S = [input() for i in range(N)] S = sorted(S) s = "" for i in range(N): s += S[i] print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,580
s697793876
p04044
u696444274
1586281938
Python
Python (3.4.3)
py
Accepted
53
5648
283
import math import itertools import statistics #import numpy as np import collections #n = int(input()) n, l = list(map(int, input().split())) #a = list(map(int, input().split())) s = [] for i in range(n): s.append(input()) s.sort() for i in range(n): print(s[i], end="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,581
s836084039
p04044
u870841038
1586280066
Python
Python (3.4.3)
py
Accepted
17
3060
101
n, l = map(int, input().split()) s = [input() for i in range(n)] s.sort() ans = ''.join(s) print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,582
s133066865
p04044
u015467545
1586245900
Python
Python (3.4.3)
py
Accepted
17
3060
136
n,l=map(int,input().split()) S=[] for i in range(n): s=input() S.append(s) S.sort() ans="" 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,213,583
s963753755
p04044
u451206510
1586237257
Python
Python (3.4.3)
py
Accepted
17
3060
112
N,L = map(int, input().split()) S = [input() for i in range(N)] s = sorted(S) for i in s: print(i, end="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,584
s099640663
p04044
u684906944
1586226578
Python
Python (3.4.3)
py
Accepted
18
3064
321
n, l = map(int, input().split()) s_list = [] s_list.append(input()) for i in range(n-1): s = input() for j in range(len(s_list)): if s_list[j] >= s: s_list.insert(j, s) break elif j == len(s_list) - 1: s_list.append(s) ans = '' for i in range(len(s_list)): ans += s_list[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,213,585
s403683494
p04044
u566787760
1586226383
Python
Python (3.4.3)
py
Accepted
17
3060
87
N,L = map(int,input().split()) s = sorted([input() for i in range(N)]) print(*s,sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,586
s157300879
p04044
u959225525
1586218809
Python
Python (3.4.3)
py
Accepted
17
3060
89
n,l=map(int,input().split()) s=[input() for _ in range(n)] s=sorted(s) print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,587
s751371209
p04044
u598445703
1586201190
Python
Python (3.4.3)
py
Accepted
17
3060
179
# -*- coding: utf-8-*- strs = [] n,l = map(int,input().split()) for i in range(n): strs.append(input()) sortstr = sorted(strs) for str in sortstr: print(str, end='') print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,588
s597928133
p04044
u528470578
1586193063
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,213,589
s368885247
p04044
u238951197
1586185108
Python
Python (3.4.3)
py
Accepted
17
3060
127
N,L=map(int,input().split()) a=[] for i in range(N): a.append(input()) a.sort() b="" for i in range(N): b += a[i] 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,213,590
s119085080
p04044
u000770457
1586184619
Python
Python (3.4.3)
py
Accepted
17
3064
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,213,591
s646919867
p04044
u114233208
1586131471
Python
Python (3.4.3)
py
Accepted
18
3060
190
line1 = input().split(' ') line1 = list(map(int, line1)) N = line1[0] L = line1[1] strings = [] for n in range(N): strings.append(input()) strings = sorted(strings) 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,213,592
s642829624
p04044
u939198091
1586110808
Python
Python (3.4.3)
py
Accepted
17
3060
164
if __name__ == "__main__": n, l = map(int, input().split()) s_list = [input() for s in range(n)] s_list = sorted(s_list) ans = "".join(s_list) print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,593
s948984251
p04044
u849229491
1586059890
Python
Python (3.4.3)
py
Accepted
18
3060
96
N,L = map(int,input().split()) S = [input() for i in range(N)] a = "".join(sorted(S)) print((a))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,594
s163288647
p04044
u281303342
1586035143
Python
Python (3.4.3)
py
Accepted
17
3060
169
import sys input = sys.stdin.readline N,L = map(int,input().split()) S = list() for i in range(N): s = input().rstrip() 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,213,595
s692917559
p04044
u870297120
1586023232
Python
Python (3.4.3)
py
Accepted
17
3060
97
n, l = map(int, input().split(' ')) a = list(input() for _ in range(n)) print(''.join(sorted(a)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,596
s830117656
p04044
u765721093
1586016418
Python
Python (3.4.3)
py
Accepted
18
3060
113
a=[] N,L=map(int,input().split()) for _ in range (N): a.append(str(input())) a=sorted(a) 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,213,597
s967023239
p04044
u086172144
1585950362
Python
Python (3.4.3)
py
Accepted
20
3060
104
n,l=map(int,input().split()) s=[] for i in range(n): s.append(input()) s="".join(sorted(s)) print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,598
s230516780
p04044
u080986047
1585940087
Python
Python (3.4.3)
py
Accepted
17
3060
88
a,b=map(int,input().split()) li=[input() for i in range(a)] 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,213,599
s831901086
p04044
u535659144
1585933391
Python
Python (3.4.3)
py
Accepted
17
3060
116
lis=input().split() string_list=[input() for i in range(int(lis[0]))] string_list.sort() print(''.join(string_list))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,600
s487792232
p04044
u110580875
1585925899
Python
Python (3.4.3)
py
Accepted
19
3060
118
n,l=map(int,input().split()) s=[input()for _ in range(n)] ans="" for i in range(n): ans+=sorted(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,213,601
s800005119
p04044
u057993957
1585924722
Python
Python (3.4.3)
py
Accepted
17
3060
96
n, l = list(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,213,602
s151303424
p04044
u536836760
1585887479
Python
Python (3.4.3)
py
Accepted
17
3060
159
N,L = map(int,input().split()) List =[] List = list(input() for i in range(N)) sort_list = sorted(List) sum = "" for i in sort_list: sum += i print(sum)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,603
s327321903
p04044
u536836760
1585887371
Python
Python (3.4.3)
py
Accepted
17
3060
159
N,L = map(int,input().split()) List =[] List = list(input() for i in range(N)) sort_list = sorted(List) sum = "" for i in sort_list: sum += i print(sum)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,604
s152449566
p04044
u755180064
1585882918
Python
Python (3.4.3)
py
Accepted
18
3060
178
def main(): t = input().split() li = [] for i in range(int(t[0])): li.append(input()) print(''.join(sorted(li))) 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,213,605
s094454840
p04044
u349476738
1585882340
Python
Python (3.4.3)
py
Accepted
17
3060
151
# coding: utf-8 N, L = (int(x) for x in input().split()) S = list(input() for i in range(N)) S = sorted(S) for i in range(N): print(S[i], end="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,606
s447500241
p04044
u181801282
1585875862
Python
Python (3.4.3)
py
Accepted
17
3060
82
N,_=map(int, input().split()) print("".join(sorted([input() for _ in range(N)])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,607
s200145729
p04044
u864202285
1585863824
Python
Python (3.4.3)
py
Accepted
17
3060
126
N, L = map(int, input().split()) strings = [] for i in range(N): strings.append(input()) 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,213,608
s456369363
p04044
u290187182
1585845264
Python
Python (3.4.3)
py
Accepted
35
5144
413
import sys import copy import math import bisect import pprint import bisect from functools import reduce from copy import deepcopy from collections import deque from decimal import * def lcm(x, y): return (x * y) // math.gcd(x, y) if __name__ == '__main__': b, c = map(int, input().split()) a =[] f...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,609
s698279675
p04044
u485319545
1585783820
Python
Python (3.4.3)
py
Accepted
17
3060
141
N,L = map (int , input().split()) li=[] for i in range(N): li.append(input()) li=sorted(li) s='' for i in range(N): s+=li[i] print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,610
s563849949
p04044
u485319545
1585783764
Python
Python (3.4.3)
py
Accepted
17
3060
153
N,L = map (int , input().split()) li=[] for i in range(N): s=input() li.append(s) li=sorted(li) s='' for i in range(N): s+=li[i] print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,611
s663596197
p04044
u702517202
1585748966
Python
Python (3.4.3)
py
Accepted
17
3060
153
str_num, str_len = map(int, input().split()) str_list = [] for i in range(str_num): str_list.append(input()) 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,213,612
s242788507
p04044
u218838821
1585733607
Python
Python (3.4.3)
py
Accepted
25
3188
360
n,l = map(int,input().split()) s = [] for i in range(n): s.append(list(map(str,input()))) s_ord = [[0]*(l) for i in range(n)] for i in range(n): for j in range(l): s_ord[i][j] += ord(s[i][j]) s_ord_sorted = sorted(s_ord) s_sorted = "" for i in range(n): for j in range(l): 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,213,613
s502966470
p04044
u379424722
1585719448
Python
Python (3.4.3)
py
Accepted
18
3060
112
N,L = map(int,input().split()) M = [] for i in range(N): M.append(input()) M = sorted(M) print(''.join(M))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,614
s645299534
p04044
u626467464
1585711706
Python
Python (3.4.3)
py
Accepted
17
3060
146
n,l = map(int,input().split()) sens = [] for i in range(n): s = input() sens.append(s) news = sorted(sens) for j in news: print(j,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,213,615
s725030758
p04044
u197029318
1585703366
Python
Python (3.4.3)
py
Accepted
17
3060
100
N, L = map(int, input().split() ) l = [input() for i in range(N)] a = sorted(l) 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,213,616