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
s286375055
p04044
u912115033
1571541016
Python
Python (3.4.3)
py
Accepted
17
3060
147
N, L = map(int, input().split()) ch = [] for i in range(N): ch.append(input()) ch.sort() output = '' for i in ch: output += i print(output)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,317
s186922496
p04044
u724742135
1571538491
Python
Python (3.4.3)
py
Accepted
17
3060
156
from sys import exit, stdin N, L = [int(_) for _ in stdin.readline().rstrip().split()] print(''.join(sorted([stdin.readline().rstrip() 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,214,318
s314695598
p04044
u196404530
1571534806
Python
Python (3.4.3)
py
Accepted
17
3060
100
hoge,fuga=map(int,input().split()) data=sorted([input() for i in range(hoge)]) print("".join(data))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,319
s362889862
p04044
u291932618
1571529130
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,214,320
s203481596
p04044
u326775883
1571520989
Python
Python (3.4.3)
py
Accepted
17
3060
128
n, l = map(int, input().split()) s=[] for i in range(n): s.append(input()) s.sort() ans = '' for j in s: ans += j print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,321
s940903369
p04044
u506858457
1571488945
Python
Python (3.4.3)
py
Accepted
17
3060
121
n,l=map(int,input().split()) s=[] for i in range(n): s.append(input()) s.sort() ans='' for x in s: 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,214,322
s158566331
p04044
u506858457
1571453880
Python
Python (3.4.3)
py
Accepted
17
3060
131
N, L = map(int, input().split()) s=[] for i in range(N): s.append(input()) s.sort() ans = '' for x in s: 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,214,323
s167656037
p04044
u408791346
1571443303
Python
Python (3.4.3)
py
Accepted
17
3060
94
n, l = map(int, input().split()) s = sorted(list(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,324
s764374806
p04044
u690781906
1571403490
Python
Python (3.4.3)
py
Accepted
17
3060
118
N, L = map(int, input().split()) s = [input() for _ in range(N)] s.sort() ans = '' for x in s: 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,214,325
s774208578
p04044
u396553339
1571403304
Python
Python (3.4.3)
py
Accepted
17
3060
112
n, l = map(int, input().split()) s = [] for i in range(n) : s.append(input()) 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,326
s147597387
p04044
u539850805
1571374369
Python
Python (3.4.3)
py
Accepted
17
3060
115
n, l = map(int, input().split()) s = [] for i in range(n): s.append(input().strip()) 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,327
s873638907
p04044
u076917070
1571369326
Python
Python (3.4.3)
py
Accepted
17
3060
271
import sys input = sys.stdin.readline def main(): N, L = map(int, input().split()) S = [] for _ in range(N): S.append(input().strip()) S.sort() ans = "" for s in S: ans += 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,214,328
s176253790
p04044
u593590006
1571364579
Python
Python (3.4.3)
py
Accepted
17
3060
148
n,m=map(int,input().split()) mat=[] for i in range(n): mat.append(input()) mat.sort(key=lambda x:x) ans='' for i in mat: 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,214,329
s001260634
p04044
u798445123
1571345874
Python
Python (3.4.3)
py
Accepted
17
3060
107
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,330
s785766571
p04044
u574483499
1571338514
Python
Python (3.4.3)
py
Accepted
17
3060
145
n, l = map(int, input().split(" ")) ln = [] for i in range(n): ln.append(input()) ln.sort() s = "" for word in ln: s += word 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,331
s872563562
p04044
u261891508
1571328229
Python
Python (3.4.3)
py
Accepted
17
3060
85
n,l=map(int,input().split()) s=[input() for i in range(n)] s.sort() print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,332
s255291574
p04044
u088552457
1571265410
Python
Python (3.4.3)
py
Accepted
17
3060
226
# -*- coding: utf-8 -*- count, length = list(map(int, input().split())) words = [] for i in range(count): s = input() if len(s) != length: continue words.append(s) words = sorted(words) r = ''.join(words) print(r)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,333
s879332391
p04044
u357630630
1571247478
Python
Python (3.4.3)
py
Accepted
17
3060
91
print("".join(sorted([input() for i in range(int("{}".format(input().split().pop(0))))])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,334
s326239177
p04044
u172035535
1571209767
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,214,335
s835191328
p04044
u799978560
1571191741
Python
Python (3.4.3)
py
Accepted
17
3060
142
n,l = map(int,input().split()) s = sorted(map(str,[input() for i in range(n)]),reverse = False) sstr = ','.join(s).replace(",","") print(sstr)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,336
s254738350
p04044
u578049848
1571172856
Python
Python (3.4.3)
py
Accepted
17
3060
181
N,L = input().split() S = [] for s in range(int(N)): s=str(input()) S.append(s) newS = sorted(S) ans = "" for i in range(int(N)): ans += newS[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,337
s855798565
p04044
u077291787
1571153138
Python
Python (3.4.3)
py
Accepted
17
3060
221
# ABC042B - 文字列大好きいろはちゃんイージー / Iroha Loves Strings (ABC Edition) def main(): _, _, *A = open(0).read().split() A.sort() print("".join(A)) if __name__ == "__main__": main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,338
s507357314
p04044
u441823651
1571106997
Python
Python (3.4.3)
py
Accepted
17
3060
89
n,l = map(int,input().split()) s = [input() for i in range(n)] s.sort() print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,339
s747100967
p04044
u066455063
1571103500
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,214,340
s555659444
p04044
u203383537
1571084770
Python
Python (3.4.3)
py
Accepted
17
3060
151
n,l=map(int,input().split()) a=[] for i in range(n): s=input() a.append(s) a=sorted(a) ans='' for i in a: ans +=i print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,341
s470225998
p04044
u780354103
1571083078
Python
Python (3.4.3)
py
Accepted
17
3060
89
N,L = map(int,input().split()) S = [input() for _ in range(N)] print(''.join(sorted(S)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,342
s885990746
p04044
u396495667
1571073001
Python
Python (3.4.3)
py
Accepted
17
3060
90
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,343
s815181028
p04044
u506858457
1571064621
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,344
s574733305
p04044
u506858457
1571064567
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,345
s824629535
p04044
u768559443
1571022138
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,346
s771446700
p04044
u185502200
1571017866
Python
Python (3.4.3)
py
Accepted
17
3060
182
n, l = map(int,input().split()) s = [] res = [] for i in range(n): s.append(str(input())) s.sort() for i in range(n): res.append(s.pop(0)) result = ''.join(res) 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,347
s727627061
p04044
u281610856
1570935143
Python
Python (3.4.3)
py
Accepted
17
3060
129
n, l = map(int, input().split()) count = 0 s = [] while count < n: s.append(input()) count += 1 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,348
s680673512
p04044
u105302073
1570932546
Python
Python (3.4.3)
py
Accepted
17
3060
112
N, L = list(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,349
s541967201
p04044
u517099533
1570895232
Python
Python (3.4.3)
py
Accepted
30
3316
1,646
N, L = list(map(int, input().split())) letters = [] nums = [] for i in range(N): n = [] for j in range(L): n.append(0) nums.append(n) for i in range(N): S = [] s = input() for j in range(L): S.append(s[j]) letters.append(S) def letter(let): if let == "a": nums[...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,350
s249038292
p04044
u512138205
1570890136
Python
Python (3.4.3)
py
Accepted
18
3060
291
n, _ = map(int, input().split()) ans = [] for _ in range(n): s = input() inserted = False for i, s2 in enumerate(ans): if s < s2: ans.insert(i, s) inserted = True break if not inserted: ans.append(s) 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,351
s139556933
p04044
u625741705
1570846341
Python
Python (3.4.3)
py
Accepted
17
3060
107
N, L = map(int, 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,352
s465269365
p04044
u514401521
1570828765
Python
Python (3.4.3)
py
Accepted
17
3060
107
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,353
s284027851
p04044
u637413735
1570825514
Python
Python (3.4.3)
py
Accepted
45
5248
234
#! /usr/bin/env python # -*- coding: utf-8 -*- import pdb import sys F = sys.stdin N, L = F.readline().rstrip().split() N = int(N) L = int(L) a = [F.readline().rstrip() for x in range(N)] a.sort() answer = ''.join(a) print(answer)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,354
s511074317
p04044
u654558363
1570823144
Python
Python (3.4.3)
py
Accepted
17
3060
176
if __name__ == "__main__": n, l = map(int, input().split()) words = [] for i in range(n): words.append(input()) words.sort() print("".join(words))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,355
s459729399
p04044
u999893056
1570799540
Python
Python (3.4.3)
py
Accepted
17
3060
102
C = list(map(int,input().split())) n = C[0] 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,356
s673171410
p04044
u823458368
1570764774
Python
Python (3.4.3)
py
Accepted
20
3060
86
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,357
s159569040
p04044
u668715715
1570752394
Python
Python (3.4.3)
py
Accepted
17
3060
90
N,L = map(int,input().split()) l = [input() for i in range(N)] print(''.join(sorted(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,358
s619832219
p04044
u662613022
1570737715
Python
Python (3.4.3)
py
Accepted
17
3060
117
N,L = map(int,input().split()) string_list = [input() for i in range(N)] a = sorted(string_list) 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,359
s261897651
p04044
u594690363
1570722442
Python
Python (3.4.3)
py
Accepted
17
3060
102
n,m = map(int,input().split()) l = [] for i in range(n): l.append(input()) print(''.join(sorted(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,360
s156101751
p04044
u891635666
1570701749
Python
Python (3.4.3)
py
Accepted
17
3060
93
n, l = map(int, input().split()) print(''.join(sorted([input().rstrip() 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,214,361
s869651147
p04044
u391059484
1570680949
Python
Python (3.4.3)
py
Accepted
17
3060
129
N,L = map(int, input().split()) S = [input() for i in range(N)] S = sorted(S) str1 = '' for i in S: str1 = str1 + i print(str1)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,362
s592283263
p04044
u268623418
1570640880
Python
Python (3.4.3)
py
Accepted
18
3064
984
#!/usr/bin/env python3 class Heap: def __init__(self,nodes): self.nodes = nodes def buildHeap(self): for i in range(int(len(self.nodes)/2),-1,-1): self.siftDown(i) def siftDown(self,start): while (2*start+1 < len(self.nodes)): c = 2*start+1 if (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,363
s494639425
p04044
u931489673
1570600636
Python
Python (3.4.3)
py
Accepted
17
3060
98
N,L=map(int,input().split()) l=[] for n in range(N): l.append(input()) print(''.join(sorted(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,364
s069793980
p04044
u910756197
1570558981
Python
Python (3.4.3)
py
Accepted
17
3060
86
n, l = map(int, input().split()) print(*(sorted([input() for _ in range(n)])), sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,365
s329417613
p04044
u328364772
1570550867
Python
Python (3.4.3)
py
Accepted
17
3060
92
n, l = map(int, input().split()) S = [input() for i in range(n)] print(*sorted(S), sep='')
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,366
s219114083
p04044
u937642029
1570539684
Python
Python (3.4.3)
py
Accepted
17
3060
126
n,l = map(int,input().split()) s=["" for _ in range(n)] for i in range(n): s[i]=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,214,367
s024777771
p04044
u008357982
1570533336
Python
Python (3.4.3)
py
Accepted
17
3060
79
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,368
s446844767
p04044
u383450070
1570486817
Python
Python (3.4.3)
py
Accepted
17
3060
155
s = input().rstrip().split(' ') num = int(s[0]) list = [] for i in range(num): list.append(str(input())) list.sort() string = "".join(list) print(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,369
s869852352
p04044
u767432305
1570486121
Python
Python (3.4.3)
py
Accepted
18
3060
177
N,L=map(int,input().split()) wordlist=[] for _ in range(N): wordlist.append(input()) wordlist.sort() word="" for i in range(N): word+=wordlist[i] print(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,370
s960979521
p04044
u658288444
1570481795
Python
Python (3.4.3)
py
Accepted
17
3060
142
N, L = map(int, input().split()) list = [] for i in range(N): list.append(input()) list.sort() for i in range(N): print(list[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,371
s558920771
p04044
u768993705
1570438813
Python
Python (3.4.3)
py
Accepted
17
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,214,372
s789723677
p04044
u033627628
1570393265
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,373
s978130283
p04044
u033627628
1570393097
Python
Python (3.4.3)
py
Accepted
18
3060
131
n,l=map(int,input().split()) lst=[] for i in range(n): lst.append(input()) lst.sort() ans='' for s in lst: print(s,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,374
s596163973
p04044
u606878291
1570373375
Python
Python (3.4.3)
py
Accepted
17
3060
253
def check(strings): return ''.join(sorted(strings)) def main(): n, l = map(int, input().split()) strings = [] for i in range(n): strings.append(input()) print(check(strings=strings)) if __name__ == '__main__': main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,375
s671816269
p04044
u234631479
1570367815
Python
Python (3.4.3)
py
Accepted
17
3060
97
a, b = map(int, input().split()) L = [input() for _ in range(a)] L.sort() s = ''.join(L) 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,376
s817776938
p04044
u901180556
1570286983
Python
Python (3.4.3)
py
Accepted
19
3060
102
N, L = input().split() S = [input() for _ in range(int(N))] S.sort() S_sort = ''.join(S) print(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,377
s682269183
p04044
u615817983
1570276665
Python
Python (3.4.3)
py
Accepted
17
3060
73
print("".join(sorted([input() for i in range(int(input().split()[0]))])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,378
s859255512
p04044
u403986473
1570172445
Python
Python (3.4.3)
py
Accepted
17
3060
94
N, L = map(int, input().split()) bun = [input() for i in range(N)] print(''.join(sorted(bun)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,379
s638800900
p04044
u079672271
1570155275
Python
Python (3.4.3)
py
Accepted
19
3060
217
import sys input = sys.stdin.readline N, L = map(int, input().split()) s_list = [] for s in range(N): s_list.append(input().rstrip()) s_list = sorted(s_list) line = '' for s in s_list: line += s print(line)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,380
s666135424
p04044
u351914601
1570131057
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(*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,381
s810334001
p04044
u945181840
1570121042
Python
Python (3.4.3)
py
Accepted
17
3060
92
N, L = map(int, input().split()) S = [input() for i in range(N)] S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,382
s392676792
p04044
u687159441
1570061677
Python
Python (3.4.3)
py
Accepted
17
3060
91
n, l = map(int, input().split()) s = [input() for i in range(n)] s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,383
s172453455
p04044
u396495667
1570037709
Python
Python (3.4.3)
py
Accepted
20
3316
89
n,l =map(int, input().split()) s = [input() for i in range(n)] s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,384
s032521741
p04044
u821989875
1569979474
Python
Python (3.4.3)
py
Accepted
17
3060
153
# coding: utf-8 str_num, str_len = map(int, input().split()) strs = list(str(input()) for s in range(str_num)) strs.sort() ans = "".join(strs) 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,385
s369815495
p04044
u746419473
1569920786
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(*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,386
s283498231
p04044
u672898046
1569912769
Python
Python (3.4.3)
py
Accepted
17
3060
110
n, l = map(int, input().split()) s = [] for _ in range(n): s.append(input()) s = sorted(s) print(*s, sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,387
s875041951
p04044
u672898046
1569912669
Python
Python (3.4.3)
py
Accepted
17
3060
129
n, l = map(int, input().split()) s = [] for _ in range(n): s.append(input()) s = sorted(s) r = "" for i in s: r += i print(r)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,388
s435887945
p04044
u089376182
1569895354
Python
Python (3.4.3)
py
Accepted
17
3060
113
n, l = map(int, input().split()) sorted_list = sorted([input() for _ in range(n)]) 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,214,389
s508626969
p04044
u873059840
1569870322
Python
Python (3.4.3)
py
Accepted
17
3060
165
N, L=map(int,input().split()) list=[] for i in range(N): string = input() list.append(string) new_list = sorted(list) st="".join(new_list) print(st)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,390
s671366756
p04044
u824326335
1569825165
Python
Python (3.4.3)
py
Accepted
18
3064
86
n,l=map(int,input().split()) l = [input() for _ in range(n)] print("".join(sorted(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,391
s972848384
p04044
u747602774
1569782156
Python
Python (3.4.3)
py
Accepted
17
3060
115
N,L=map(int,input().split()) string_list=[input() for i in range(N)] ans=sorted(string_list) 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,392
s757917679
p04044
u115188504
1569773813
Python
Python (3.4.3)
py
Accepted
17
3060
91
n,l = map(int, input().split()) s = [input() for i in range(n)] s.sort() print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,393
s492989487
p04044
u377989038
1569766332
Python
Python (3.4.3)
py
Accepted
17
3060
85
n, l = map(int, input().split()) print("".join(sorted([input() for _ in range(n)])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,394
s162172161
p04044
u388904130
1569723617
Python
Python (3.4.3)
py
Accepted
19
3064
334
def _input(): array = input().split() return int(array[0]) def input_str(number): array = [] for i in range(number): array.append(input()) return array def answer(array): return ''.join(sorted(array)) if __name__ == "__main__": n = _input() array = input_str(n) print(a...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,395
s184644033
p04044
u854175276
1569717939
Python
Python (3.4.3)
py
Accepted
18
3064
452
n, l = map(int, input().split()) temp_list = [] for i in range(n): temp_list.append(input()) ans_list = [] for temp_str in temp_list: if len(ans_list) == 0: ans_list.append(temp_str) else: max_flg = True for i in range(len(ans_list)): if temp_str <= ans_list[i]: ans_list.insert(i, temp_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,396
s390926892
p04044
u464912173
1569715229
Python
Python (3.4.3)
py
Accepted
17
3060
92
n, l = 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,214,397
s074681685
p04044
u291766461
1569712703
Python
Python (3.4.3)
py
Accepted
17
3060
103
N, L = tuple(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,214,398
s740299556
p04044
u949346038
1569701804
Python
Python (3.4.3)
py
Accepted
17
3060
95
n,l = map(int, input().split()) list = sorted([input() for i 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,399
s843334777
p04044
u153902122
1569701653
Python
Python (3.4.3)
py
Accepted
17
3060
89
n,l = map(int,input().split()) s = sorted([input() for _ in range(n)]) print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,400
s010780254
p04044
u247465867
1569670642
Python
Python (3.4.3)
py
Accepted
17
3060
118
#2019/09/27 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,401
s603118024
p04044
u502028059
1569625534
Python
Python (3.4.3)
py
Accepted
17
3060
133
n, l = map(int, input().split()) s = [] for i in range(n): s.append([input()]) s = sorted(s) ans = ''.join(sum(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,402
s138663774
p04044
u605712324
1569621810
Python
Python (3.4.3)
py
Accepted
17
3060
113
N, L = list(map(int, input().split())) words = [input() for _ in range(N)] words.sort() print(''.join(words))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,403
s938235612
p04044
u396890425
1569596407
Python
Python (3.4.3)
py
Accepted
20
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,404
s841113466
p04044
u128908475
1569544543
Python
Python (3.4.3)
py
Accepted
17
3060
95
N, L = map(int, input().split()) S = list(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,405
s355321788
p04044
u385244248
1569482733
Python
Python (3.4.3)
py
Accepted
17
3060
67
N,L,*S = map(str,open(0).read().split()) S.sort() print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,406
s001947801
p04044
u799164835
1569472495
Python
Python (3.4.3)
py
Accepted
17
3060
213
inStr = input() splitStr = inStr.split() N = int(splitStr[0]) #L = int(splitStr[1]) S = list(range(N)) for i in range(N): S[i] = input() S.sort() for i in range(N): print("%s" %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,214,407
s861844288
p04044
u396495667
1569429097
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,214,408
s732259492
p04044
u740047492
1569358407
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,214,409
s089515207
p04044
u580093517
1569355252
Python
Python (3.4.3)
py
Accepted
18
3060
87
n,l = map(int,input().split()) s = sorted([input() for _ in range(n)]) print(*s,sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,410
s182670256
p04044
u397942996
1569355148
Python
Python (3.4.3)
py
Accepted
17
3060
182
# 入力のNとLを読み取る N, L = map(int, input().split()) #S1 ~ SNをリスト化 list_a = [input() for i in range(N)] list_a.sort() list_b = "".join(list_a) print(list_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,411
s097638199
p04044
u893063840
1569330284
Python
Python (3.4.3)
py
Accepted
17
3060
150
# -*- coding: utf-8 -*- n, l = map(int, input().split()) s = [input() for _ in range(n)] s.sort() ans = "" for ele in s: ans += ele 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,412
s057508596
p04044
u941438707
1569285213
Python
Python (3.4.3)
py
Accepted
18
3060
84
n,l=map(int,input().split()) a=[input() for i in range(n)] a.sort() print(*a,sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,413
s285960690
p04044
u856957183
1569275896
Python
Python (3.4.3)
py
Accepted
17
3060
241
# coding: utf-8 # Your code here! input_moji = input().split() mojiretsu = int(input_moji[0]) mojikosuu = int(input_moji[1]) s="" input_list = [input() for i in range(mojiretsu)] input_list.sort() for i in input_list: 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,214,414
s150055735
p04044
u556371693
1569272465
Python
Python (3.4.3)
py
Accepted
18
3060
95
a,b=map(int,input().split()) s = [input() for _ in range(a)] 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,415
s845280845
p04044
u527190736
1569210678
Python
Python (3.4.3)
py
Accepted
17
3060
108
N, L = map(int, input().split()) l = [] for _ in range(N): l.append(input()) print(''.join(sorted(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,416