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
s566720406
p04044
u616522759
1554748310
Python
Python (3.4.3)
py
Accepted
17
3060
128
N, L = map(int, input().split()) m = [input() for i in range(N)] m.sort() ans = '' for i in range(N): ans += m[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,215,117
s074507786
p04044
u455696302
1554732891
Python
Python (3.4.3)
py
Accepted
18
3060
116
N,L = map(int,input().split()) S = [input() for _ in range(N)] S.sort() res = "" for i in S: res += i print(res)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,118
s901469129
p04044
u956866689
1554674806
Python
Python (3.4.3)
py
Accepted
18
3060
139
# -*- coding:utf-8 -*- N, L = map(int, input().split()) s = sorted([input() for i in range(N)]) for i in s: print(i, end='') print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,119
s751734015
p04044
u483151310
1554664479
Python
Python (3.4.3)
py
Accepted
17
3060
123
N, L = map(int, input().split()) S = [] for i in range(N): line = input() S.append(line) 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,215,120
s727556985
p04044
u297756089
1554657742
Python
Python (3.4.3)
py
Accepted
18
3060
124
n,l=input().split() lists=[] n=int(n) for i in range (0,n): lists.append(input()) lists.sort() li=''.join(lists) print(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,215,121
s774160542
p04044
u844005364
1554657514
Python
Python (3.4.3)
py
Accepted
17
3060
89
n, l = map(int, input().split()) s = sorted([input() for i in range(n)]) print(*s,sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,122
s916925667
p04044
u844005364
1554657459
Python
Python (3.4.3)
py
Accepted
19
3060
108
n, l = map(int, input().split()) a = [input() for i in range(n)] a.sort() for aa in a: print(aa, 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,215,123
s739626428
p04044
u716649090
1554656509
Python
Python (3.4.3)
py
Accepted
18
3060
85
N,L=map(int, input().split()) l=[input() for i in range(N)] l.sort() print(*l,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,215,124
s416983553
p04044
u764600134
1554656044
Python
Python (3.4.3)
py
Accepted
17
3060
123
N, L = map(int, input().split()) S = [] for i in range(N): line = input() S.append(line) 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,215,125
s847073651
p04044
u299730702
1554647737
Python
Python (3.4.3)
py
Accepted
17
3060
115
N, L = map(int, input().split()) S = [] for s 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,215,126
s667119286
p04044
u256868077
1554645863
Python
Python (3.4.3)
py
Accepted
17
3060
121
n,l=map(int,input().split()) A=[input() for i in range(n)] A.sort() ans="" for j in range(n): ans += A[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,215,127
s840379264
p04044
u745561510
1554586250
Python
Python (3.4.3)
py
Accepted
18
3060
196
line = input().split(sep=" ") strnum= int(line[0]) len = int(line[1]) input_str=[] for i in range(strnum): line = input() input_str.append(line) for i in sorted(input_str): 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,215,128
s653686055
p04044
u697108631
1554582141
Python
Python (3.4.3)
py
Accepted
17
3060
146
i,m = map(int,input().split(" ")); str_list=[]; for _ in range(i): str_list.append(input()); str_list=sorted(str_list); 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,215,129
s393266422
p04044
u777028980
1554496320
Python
Python (3.4.3)
py
Accepted
18
3060
147
n,m=map(int,input().split()) hoge=[] for i in range(n): hoge.append(input()) hoge.sort() for i in range(n): print(hoge[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,215,130
s531659420
p04044
u037430802
1554408360
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_sorted = sorted(s) print("".join(s_sorted))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,131
s529613505
p04044
u019996510
1554344775
Python
Python (3.4.3)
py
Accepted
20
3060
202
def main(): N, L = map(int, input().split()) S = [] strings = "" for i in range(N): S.append(input()) S.sort() for j in S: strings += j print(strings) 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,215,132
s039538376
p04044
u038450469
1554344087
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() result = ''.join(s) print(result)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,133
s615908107
p04044
u224156735
1554251559
Python
Python (3.4.3)
py
Accepted
17
3060
105
n,l=map(int,input().split()) s=[] for i in range(n): s.append(input()) s.sort() print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,134
s488037791
p04044
u225415456
1554247926
Python
Python (3.4.3)
py
Accepted
18
3060
127
N,b = map(int, input().split()) a = [] for i in range(N): d = input() a.append(d) g = sorted(a) print(''.join(g))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,135
s939906577
p04044
u279493135
1554220138
Python
Python (3.4.3)
py
Accepted
18
3060
162
from sys import stdin input = stdin.readline N, L = [int(x) for x in input().rstrip().split()] S = [input().rstrip() for _ in range(N)] S.sort() print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,136
s415227642
p04044
u405947212
1554209715
Python
Python (3.4.3)
py
Accepted
17
3060
88
m,l = map(int,input().split()) s = sorted([input() for i in range(m)]) 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,215,137
s335456771
p04044
u912862653
1554177611
Python
Python (3.4.3)
py
Accepted
18
3060
160
N, L = list(map(int, input().split())) words = ['']*N for i in range(N): words[i] = input() words.sort() ans = '' for word in words: ans += word 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,215,138
s352240580
p04044
u716649090
1554170930
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,215,139
s009022750
p04044
u716649090
1554170728
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,215,140
s975806686
p04044
u655975843
1554153166
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,215,141
s722574253
p04044
u032543524
1554140610
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,215,142
s502051225
p04044
u603745966
1554070604
Python
Python (3.4.3)
py
Accepted
24
3572
622
from functools import reduce def main(): # 一文字のみを読み込み # s = input().rstrip().split(' ') # スペース区切りで標準入力を配列として読み込み # s = input().rstrip().split(' ') # 位置文字ずつ標準入力を配列として読み込み # s = list(input().rstrip()) slist = input().rstrip().split(' ') N = int(slist[0]) L = int(slist[1]) 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,215,143
s798233923
p04044
u949414593
1554064967
Python
Python (3.4.3)
py
Accepted
18
3060
93
N, L = map(int, input().split()) Sn = [input() for _ in range(N)] print("".join(sorted(Sn)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,144
s226469425
p04044
u167097262
1554060855
Python
Python (3.4.3)
py
Accepted
18
3060
95
N, L= map(int,input().split()) data = sorted([input() for i in range(N)]) 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,215,145
s512669073
p04044
u457190703
1553988565
Python
Python (3.4.3)
py
Accepted
17
3060
224
input_list = input().split() N = int(input_list[0]) wordList = list() for i in range(0,N): wordList.append(input()) wordList = sorted(wordList) answer = "" for i in range(0,N): answer = answer + wordList[i] 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,215,146
s804272131
p04044
u309039873
1553925051
Python
Python (3.4.3)
py
Accepted
17
3060
209
def main(): N,L = map(int,input().split()) S = [] for _ in range(N): S.append(input()) S.sort() for i in range(N): print(S[i], end='') 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,215,147
s763415227
p04044
u305965165
1553895866
Python
Python (3.4.3)
py
Accepted
17
3060
99
n, l = (int(i) for i in input().split()) s = "".join(sorted([input() for i in range(n)])) print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,148
s675660706
p04044
u721316601
1553895061
Python
Python (3.4.3)
py
Accepted
17
3060
113
N, L = list(map(int, input().split())) S = [input() for i in range(N)] S.sort() for s in S: 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,215,149
s648778276
p04044
u082861480
1553802885
Python
Python (3.4.3)
py
Accepted
17
3060
97
N, L = map(int, input().split()) data = sorted([input() for i in range(N)]) 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,215,150
s388225285
p04044
u077019541
1553797057
Python
Python (3.4.3)
py
Accepted
17
3060
92
N,L = map(int,input().split()) Ss = [input() for s in range(N)] Ss.sort() print("".join(Ss))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,151
s075073050
p04044
u826557401
1553738641
Python
Python (3.4.3)
py
Accepted
17
3060
217
N, L = map(int, input().split()) char_list = [] for dummy in range(N): S = str(input()) char_list.append(S) char_list = sorted(char_list) answer = "" for char in char_list: answer += char 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,215,152
s200115827
p04044
u363610900
1553669621
Python
Python (3.4.3)
py
Accepted
17
3060
92
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,153
s208831494
p04044
u013408661
1553653109
Python
Python (3.4.3)
py
Accepted
17
3060
113
n,l=map(int,input().split()) ans=[] for i in range(n): s=input() ans.append(s) ans.sort() print("".join(ans))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,154
s860512561
p04044
u013408661
1553653063
Python
Python (3.4.3)
py
Accepted
18
3060
164
n,l=map(int,input().split()) ans=[] for i in range(n): s=list(input()) ans.append(s) ans.sort() answer="" for i in ans: p="".join(i) answer+=p 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,215,155
s865678238
p04044
u614314290
1553652742
Python
Python (3.4.3)
py
Accepted
17
3060
91
N, L = map(int, input().split()) S = sorted([input() for x 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,215,156
s435422857
p04044
u795630164
1553641179
Python
Python (3.4.3)
py
Accepted
17
3060
121
N, L = map(int, input().split()) S = [str(input()) for i in range(N)] S.sort() for i in S: print(i, end='') print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,157
s653934665
p04044
u180528413
1553638786
Python
Python (3.4.3)
py
Accepted
17
3060
203
N, L = map(int, input().split()) all_list = [] for i in range(N): S = input() all_list.append(S) all_list.sort() out_word = '' for word in all_list: out_word = out_word + word print(out_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,215,158
s311710819
p04044
u797550216
1553631302
Python
Python (3.4.3)
py
Accepted
19
3060
140
n,l = map(int,input().split()) w = [input() for i in range(n)] w = sorted(w) ans = '' for i in range(n): ans += w[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,215,159
s828881134
p04044
u714533789
1553630561
Python
Python (3.4.3)
py
Accepted
17
3060
80
n,l = map(int, input().split()) print(''.join(sorted([input() for _ in '1'*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,215,160
s034932177
p04044
u714533789
1553630503
Python
Python (3.4.3)
py
Accepted
17
3060
86
n,l = map(int, input().split()) s = [input() for _ in '1'*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,215,161
s248192351
p04044
u597374218
1553563999
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,215,162
s982294364
p04044
u363610900
1553411620
Python
Python (3.4.3)
py
Accepted
18
3060
96
N, L = map(int, input().split()) nums = sorted([input() for i in range(N)]) print(''.join(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,215,163
s448444963
p04044
u179719532
1553386182
Python
Python (3.4.3)
py
Accepted
17
3060
140
# coding: UTF-8 N, _ = map(int, input().split()) strs = [] for _ in range(N): strs.append(input()) strs.sort() print(''.join(strs))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,164
s785696010
p04044
u661707952
1553290701
Python
Python (3.4.3)
py
Accepted
17
3060
188
#!/usr/bin/env python3.4 # -*- coding: utf-8 -*- # abc042_b # input N, L = map(int, input().split()) S = [input() for _ in range(N)] # getans ans = sorted(S) # output print(*ans, 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,215,165
s531573856
p04044
u661707952
1553288835
Python
Python (3.4.3)
py
Accepted
17
3060
188
#!/usr/bin/env python3.4 # -*- coding: utf-8 -*- # abc042_b # input N, L = map(int, input().split()) S = [input() for _ in range(N)] # getans ans = ''.join(sorted(S)) # output 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,215,166
s622987510
p04044
u227082700
1553285123
Python
Python (3.4.3)
py
Accepted
17
3060
106
n,m=map(int,input().split()) s='' a=[input()for i in range(n)];a.sort() for i in range(n):s+=a[i] print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,167
s341150768
p04044
u325264482
1553232365
Python
Python (3.4.3)
py
Accepted
17
3060
106
N, L = list(map(int, input().split())) S = [input() for i in range(N)] Ss = sorted(S) print(''.join(Ss))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,168
s257062133
p04044
u588081069
1553215860
Python
Python (3.4.3)
py
Accepted
17
3060
144
N, L = list(map(int, input().split())) S = [] for i in range(N): S.extend(list(map(str, input().split()))) 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,215,169
s739545307
p04044
u268516119
1553101001
Python
Python (3.4.3)
py
Accepted
17
3060
127
N,L=map(int,input().split()) S=[] for i in range(N): S.append(input()) S=sorted(S) ans="" for i in S: ans= 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,215,170
s287403268
p04044
u782654209
1553096122
Python
Python (3.4.3)
py
Accepted
18
3064
83
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,215,171
s139508058
p04044
u363610900
1553060334
Python
Python (3.4.3)
py
Accepted
17
3060
190
# -*- coding: utf-8 -*- 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,215,172
s611394755
p04044
u363610900
1553060134
Python
Python (3.4.3)
py
Accepted
17
3060
100
n, l = map(int, input().split()) list = [input() for i in range(n)] list.sort() print(''.join(list))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,173
s814892834
p04044
u824237520
1552942439
Python
Python (3.4.3)
py
Accepted
17
3060
93
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,174
s305661681
p04044
u518042385
1552871037
Python
Python (3.4.3)
py
Accepted
18
3060
136
n,l=map(int,input().split()) list=[] for i in range(n): list.append(input()) list.sort() word="" for i in list: word+=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,215,175
s178658682
p04044
u878138257
1552797486
Python
Python (3.4.3)
py
Accepted
17
3060
127
n,l = map(int, input().split()) a = [input() for i in range(n)] b = sorted(a) k = "" for j in range(n): k = k+b[j] print(k)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,176
s431327838
p04044
u292810930
1552791207
Python
Python (3.4.3)
py
Accepted
17
3060
108
N, L = map(int, input().split()) Slist = list(input() for _ in range(N)) Slist.sort() print(''.join(Slist))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,177
s984371976
p04044
u733167185
1552756222
Python
Python (3.4.3)
py
Accepted
17
3060
106
N, L = map(int,input().split()) S = [] for i in range(N): S.append(input()) S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,178
s152158998
p04044
u379692329
1552719950
Python
Python (3.4.3)
py
Accepted
18
3060
168
N, L = [int(x) for x in input().split()] S = [] for i in range(N): S.append(input()) S = sorted(S) result = "" for j in range(N): result += S[j] 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,215,179
s137671940
p04044
u811000506
1552681418
Python
Python (3.4.3)
py
Accepted
18
3060
153
N, L = map(int,input().split()) S = [list(input()) for i in range(N)] S.sort() ans = "" for i in range(N): ans += ''.join(map(str, 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,215,180
s563391007
p04044
u933722792
1552661628
Python
Python (3.4.3)
py
Accepted
17
3060
107
N, L = map(int, input().split()) S = [] for n in range(N): S.append(input()) print("".join(sorted(S)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,181
s376357041
p04044
u381626581
1552637458
Python
Python (3.4.3)
py
Accepted
17
3060
156
n, l = map(int, input().split()) list = [] for i in range(n): str = input() list.append(str) list.sort(); for str in list: print(str, 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,215,182
s065086747
p04044
u348898379
1552636589
Python
Python (3.4.3)
py
Accepted
17
3060
157
L = [int(x) for x in input().split()] S=[] for i in range(L[0]): s = input() S.append(s) S.sort() final='' for i in S: final=final+i print(final)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,183
s624159075
p04044
u375616706
1552568513
Python
Python (3.4.3)
py
Accepted
24
3572
160
from functools import reduce N,L=map(int,input().split()) s=[input() for _ in range(N)] s = sorted(s) def concat(a,b): return a+b print(reduce(concat,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,215,184
s231166276
p04044
u285443936
1552532243
Python
Python (3.4.3)
py
Accepted
19
3060
132
N, L = list(map(int,input().split())) S = [input() for i in range(N)] S = sorted(S) ans = "" for i in S: ans += i print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,185
s598184533
p04044
u897329068
1552424261
Python
Python (3.4.3)
py
Accepted
20
3060
99
n,l = map(int,input().split()) ss = [input() for _ in range(n)] ss = sorted(ss) print("".join(ss))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,186
s909179450
p04044
u945418216
1552411676
Python
Python (3.4.3)
py
Accepted
17
3060
104
n,l = map(int, input().split()) ss = [input() for _ in range(n)] print(''.join([x for x in sorted(ss)]))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,187
s389764904
p04044
u020176853
1552394181
Python
Python (3.4.3)
py
Accepted
17
3060
140
#8:20 num, length = map(int, input().split()) words = [input() for word in range(num)] sort = sorted(words) word = "".join(sort) 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,215,188
s522477756
p04044
u071730284
1552332690
Python
Python (3.4.3)
py
Accepted
17
3060
127
N, L = [ int(x) for x in input().split() ] Ss = [ input() for _ in range(N) ] Xs = Ss Xs.sort() ans = "".join(Xs) 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,215,189
s590215752
p04044
u865413330
1552320744
Python
Python (3.4.3)
py
Accepted
17
3060
128
n, l = map(int, input().split()) l = [input() for i in range(n)] l.sort() ans = "" for i in range(n): ans += l[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,215,190
s213249273
p04044
u500297289
1552292266
Python
Python (3.4.3)
py
Accepted
19
3060
111
""" AtCoder """ 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,215,191
s596409043
p04044
u021877437
1552177565
Python
Python (3.4.3)
py
Accepted
20
3064
142
N, L = map(int, input().rstrip().split(' ')) t = [] for i in range(N): S = input().rstrip() t.append(S) t.sort() print(''.join(t))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,192
s790992401
p04044
u282228874
1552177153
Python
Python (3.4.3)
py
Accepted
19
3060
94
n,l = map(int,input().split()) s = [input() for i 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,215,193
s408086576
p04044
u722535636
1552169944
Python
Python (3.4.3)
py
Accepted
17
3060
84
a,b=map(int,input().split()) x=[input() for i in range(a)] print(''.join(sorted(x)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,194
s083560249
p04044
u430527172
1552165802
Python
Python (3.4.3)
py
Accepted
19
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,215,195
s617723354
p04044
u438662618
1552070302
Python
Python (3.4.3)
py
Accepted
18
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,215,196
s617538527
p04044
u555947166
1552013962
Python
Python (3.4.3)
py
Accepted
18
3060
98
n, l = list(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,215,197
s341193422
p04044
u695857481
1551997139
Python
Python (3.4.3)
py
Accepted
19
3060
130
n, l = map(int, input().split()) strs = [] for i in range(n): strs.append(input()) strs.sort() for x in strs: print(x, 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,215,198
s639000628
p04044
u357050210
1551933665
Python
Python (3.4.3)
py
Accepted
17
3060
116
n,l = map(int,input().split()) s = [] for i in range(n): s.append(input()) s = sorted(s) print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,199
s830442082
p04044
u794173881
1551928975
Python
Python (3.4.3)
py
Accepted
17
3060
95
n,l = map(int,input().split()) s = [input() for i 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,215,200
s089425573
p04044
u189575640
1551898916
Python
Python (3.4.3)
py
Accepted
18
3060
160
N,L = [int(n) for n in input().split()] S = sorted([str(input()) for _ in range(N)]) print("".join(S)) # a = # S = str(input()) # L = len(S) # T = str(input())
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,201
s597659769
p04044
u864667985
1551813570
Python
Python (3.4.3)
py
Accepted
17
3060
91
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,215,202
s240661860
p04044
u529909658
1551771441
Python
Python (3.4.3)
py
Accepted
17
3060
168
n, l = [int(i) for i in input().split(' ')] words = [input() for _ in range(n)] words = sorted(words) result = '' for word in words: result += word print(result)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,203
s980506396
p04044
u932465688
1551655783
Python
Python (3.4.3)
py
Accepted
17
3060
127
N,L = map(int,input().split()) S = [] for i in range(N): S.append(input()) S.sort() 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,215,204
s602845728
p04044
u957872856
1551626275
Python
Python (3.4.3)
py
Accepted
18
3060
165
a, b = map(int, input().split()) list = [] for i in range(a): word = input() list.append(word) c = sorted(list) d = "" for j in range(a): d += c[j] print(d)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,205
s265221760
p04044
u174394352
1551592864
Python
Python (3.4.3)
py
Accepted
18
3060
86
N,L=map(int,input().split()) S=[input() for i in range(N)] S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,206
s007543398
p04044
u994767958
1551588610
Python
Python (3.4.3)
py
Accepted
19
3060
107
n,l=map(int, input().split()) lst = [] for _ in range(n): lst += [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,215,207
s314026249
p04044
u649427151
1551584343
Python
Python (3.4.3)
py
Accepted
20
3060
117
n, l = map(int, input().split()) s = sorted([input() for i in range(n)]) 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,215,208
s240922639
p04044
u619197965
1551563043
Python
Python (3.4.3)
py
Accepted
17
3060
130
n,l=[int(i) for i in input().split()] s=[input() for i in range(n)] s.sort() text="" for i in range(n): text+=s[i] print(text)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,209
s733396573
p04044
u155236040
1551408015
Python
Python (3.4.3)
py
Accepted
17
3060
99
n,l = map(int, input().split()) s_list = [input() for _ in range(n)] print(''.join(sorted(s_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,215,210
s450215990
p04044
u301302814
1551398958
Python
Python (3.4.3)
py
Accepted
17
3060
123
# coding: utf-8 N, L = map(int, input().split()) S = [] for _ 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,215,211
s218116518
p04044
u989326345
1551390932
Python
Python (3.4.3)
py
Accepted
18
3060
147
N,L=map(int,input().split()) l=[] for i in range(N): l.append(str(input())) l.sort() A='' for i in range(N): a=str(l[i]) A+=a 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,215,212
s213660969
p04044
u370331385
1551388753
Python
Python (3.4.3)
py
Accepted
18
3060
123
N,L = map(int,input().split()) S = [] for i in range(N): s = input() S.append(s) S.sort() str = ''.join(S) print(str)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,213
s023967204
p04044
u392029857
1551366055
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(''.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,215,214
s167331094
p04044
u392029857
1551289447
Python
Python (3.4.3)
py
Accepted
18
3060
89
N, L = map(int,input().split()) S = sorted([input() for i in range(N)]) print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,215
s408179209
p04044
u225254556
1551243022
Python
Python (3.4.3)
py
Accepted
18
3060
143
# Iroha Loves Strings(ABC Edition) N, L = map(int, input().split()) S = [input() for i in range(N)] S = sorted(S) rtn = ''.join(S) print(rtn)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,216