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
s254095108
p04044
u593063683
1546115943
Python
Python (3.4.3)
py
Accepted
18
3060
222
#B - 文字列大好きいろはちゃんイージー s = input().split() n = int(s[0]) list = [] for i in range(n): list.append(input()) #print(list) list.sort() for i in range(len(list)): 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,215,317
s594919136
p04044
u434208140
1546015907
Python
Python (3.4.3)
py
Accepted
18
3064
79
n,l=map(int,input().split());s=[input()for _ in[0]*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,318
s218333237
p04044
u886274153
1545773014
Python
Python (3.4.3)
py
Accepted
19
3060
106
N, L = [int(i) for i in input().split()] S = [input().strip() 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,215,319
s062345097
p04044
u371467115
1545696920
Python
Python (3.4.3)
py
Accepted
17
3060
85
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,215,320
s483749954
p04044
u709630872
1545676607
Python
Python (3.4.3)
py
Accepted
18
3060
128
n,l = map(int,input().split()) A = [input() for _ in range(n)] A.sort() ans = '' for i in range(n): ans += A[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,321
s403801572
p04044
u052332717
1545665271
Python
Python (3.4.3)
py
Accepted
17
3060
127
n,l = map(int,input().split()) A = [input() for _ in range(n)] A.sort() ans = '' for i in range(n): ans += A[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,322
s275243537
p04044
u227379863
1545623667
Python
Python (3.4.3)
py
Accepted
17
3060
111
N, L = map(int, input().split()) S = [] for i in range(N): S.append(input()) S.sort() S = ''.join(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,323
s693509393
p04044
u385167811
1545596097
Python
Python (3.4.3)
py
Accepted
19
3060
205
temp = input().rstrip().split(" ") N = int(temp[0]) L = int(temp[1]) list1 = [] for i in range(N): list1.append(input().rstrip()) list1.sort() ans = "" for i in range(N): ans += list1[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,324
s363280293
p04044
u147310836
1545538128
Python
Python (2.7.6)
py
Accepted
25
3204
562
N,L=map(int,raw_input().split()) S=[] for i in range(N): S.append(raw_input()) #print S S_num=[] for i in range(N): s_num="" for alpha in S[i]: s_num+="{:0=2}".format(ord(alpha)-ord("a")+1) S_num.append([int(s_num),i]) S_num.sort() S_sort=[str(s_num[0]) if len(str(s_num[0]))%2==0 else "0"+str(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,325
s242326087
p04044
u459639226
1545526760
Python
Python (3.4.3)
py
Accepted
17
3060
113
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,326
s166657687
p04044
u996276765
1545498943
Python
Python (3.4.3)
py
Accepted
19
3060
209
N, L = map(int, input().split()) S = [input() for i in range(N)] c = 0 while c < N: for i in range(0, N-1-c): if S[i] > S[i+1]: S[i], S[i+1] = S[i+1], S[i] c += 1 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,327
s128724372
p04044
u297574184
1545441678
Python
Python (3.4.3)
py
Accepted
17
3060
93
N,L=map(int, input().split()) Sss=[input() for _ in range(N)] Sss.sort() print(''.join(Sss))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,328
s011466784
p04044
u923279197
1545367261
Python
Python (3.4.3)
py
Accepted
18
3060
146
n, l = map(int,input().split()) s=[] for i in range(n): s.append(input()) s.sort() ans = s[0] for i in range(1,n): ans += s[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,329
s483194133
p04044
u371467115
1545294719
Python
Python (3.4.3)
py
Accepted
21
3060
90
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,330
s913765132
p04044
u371467115
1545294624
Python
Python (3.4.3)
py
Accepted
17
3060
92
N,L=map(int,input().split()) s=[input() for i in range(N)] s=sorted(s) s="".join(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,331
s605098693
p04044
u278670845
1545245713
Python
Python (3.4.3)
py
Accepted
18
3060
105
n,l = map(int, input().split()) string = [input() for i in range(n)] string.sort() print("".join(string))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,332
s866115411
p04044
u941753895
1545229054
Python
Python (3.4.3)
py
Accepted
18
3060
114
n,l=map(int,input().split()) s=[] for i in range(n): s.append(input()) s.sort() a='' for i in s: a+=i print(a)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,333
s868800374
p04044
u887207211
1545192394
Python
Python (3.4.3)
py
Accepted
18
3060
90
N, L = map(int,input().split()) S = sorted([input() for _ in range(N)]) print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,334
s980084559
p04044
u589726284
1545191961
Python
Python (3.4.3)
py
Accepted
18
3060
138
N, L = map(int, input().split()) S = [input() for i in range(N)] S.sort() result = '' for i in range(N): result += S[i] print(result)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,335
s933487447
p04044
u060936992
1545177580
Python
Python (3.4.3)
py
Accepted
18
3060
154
# n,l=map(int,input().split()) s=[0 for i in range(n)] for i in range(n): s[i]=input() s.sort() ans="" for i in range(n): ans+=s[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,336
s916760979
p04044
u477216059
1545168931
Python
Python (3.4.3)
py
Accepted
18
3060
153
if __name__ == '__main__': a, b = (int(i) for i in input().split()) str_list = [input() for i in range(a)] print("".join(sorted(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,337
s709887531
p04044
u124592621
1545168454
Python
Python (3.4.3)
py
Accepted
18
3060
105
n, l = map(int, input().split()) literals = [input() for _ in range(n)] print("".join(sorted(literals)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,338
s397715349
p04044
u880373275
1545165488
Python
Python (3.4.3)
py
Accepted
18
3060
163
def main(): n, _ = map(int, input().split()) ss = [input() for _ in range(n)] ss.sort() print(''.join(ss)) 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,339
s870645830
p04044
u364741711
1545164567
Python
Python (3.4.3)
py
Accepted
18
3060
149
n,l=map(int,input().split()) list=[input() for i in range(n)] ans="" list.sort() for i in range(len(list)): ans = ans + list[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,340
s172530552
p04044
u822622292
1545091643
Python
Python (3.4.3)
py
Accepted
18
3060
167
N, L = map(int, input().split(' ')) str_list = [input() for i in range(N)] str_list.sort() bonded_str = '' for j in str_list: bonded_str += j print(bonded_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,341
s405668769
p04044
u318363730
1544920940
Python
Python (3.4.3)
py
Accepted
17
3060
305
import sys t_list = [] for i in sys.stdin.readlines(): t_list.append(i.rstrip()) t_list.pop(0) def solution(t_list): t_list.sort() ans_str = "" for i in t_list: ans_str += i return ans_str def main(): print(solution(t_list)) 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,342
s591332067
p04044
u557437077
1544846700
Python
Python (3.4.3)
py
Accepted
18
3060
310
def listToString(_list, split=""): maped_list = map(str, _list) # mapで要素すべてを文字列に mojiretu = split.join(maped_list) return mojiretu n, l = [int(i) for i in input().split()] s = ["" for _ in range(n)] for i in range(len(s)): s[i] = input() s.sort() print(listToString(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,343
s037751837
p04044
u705617253
1544818987
Python
Python (3.4.3)
py
Accepted
18
3060
133
n, l = map(int, input().split()) s = sorted([input() for _ in range(n)], key=lambda x: ([x[i] for i in range(l)])) 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,344
s231493780
p04044
u001024152
1544383429
Python
Python (3.4.3)
py
Accepted
20
3316
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,215,345
s243392260
p04044
u695811449
1544360968
Python
Python (3.4.3)
py
Accepted
18
3060
108
N,L=map(int,input().split()) S=[input() for i in range(N)] S.sort() ANS="" for s in S: ANS+=s print(ANS)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,346
s334667420
p04044
u623954643
1544319328
Python
Python (3.4.3)
py
Accepted
18
3060
143
N,L = map(int,input().split()) s_list = [input() for i in range(N)] s_list.sort() ans = '' for i in range(N): ans = ans+s_list[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,347
s254648184
p04044
u172386990
1544298183
Python
Python (3.4.3)
py
Accepted
18
3060
135
N, L = map(int, input().split(" ")) st_list = [] for i in range(N): st_list.append(input()) st_list.sort() print("".join(st_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,348
s794388783
p04044
u514383727
1544247786
Python
Python (3.4.3)
py
Accepted
17
3060
113
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,349
s851924362
p04044
u869728296
1544217475
Python
Python (3.4.3)
py
Accepted
19
3060
218
N,L=map(int,input().strip().split(" ")) a=[] for i in range(N): a.append(input()) a.sort() b=str(a) b=b.replace(",","") b=b.replace("[","") b=b.replace("]","") b=b.replace("'","") b=b.replace(" ","") print(b)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,350
s283033085
p04044
u086856505
1544064768
Python
Python (3.4.3)
py
Accepted
18
3060
90
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,215,351
s030314489
p04044
u858136677
1544048805
Python
Python (3.4.3)
py
Accepted
18
3060
197
n,l = map(int,input().split()) s = [] for i in range(n): temp = input() s.append(temp) s.sort() for i in range(n): if i != n-1: print(s[i],end="") else: print(s[i])
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,352
s131129707
p04044
u140251125
1544040316
Python
Python (3.4.3)
py
Accepted
17
3060
139
# input n, l = map(int, input().split()) S = sorted([input() for _ in range(n)]) ans = '' for i in range(n): ans += S[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,353
s615504422
p04044
u572542887
1544040044
Python
Python (3.4.3)
py
Accepted
18
3060
204
line = input().split(" ") N = int(line[0]) L = int(line[1]) str = [0 for i in range(N)] for i in range(N): str[i] = input() str = sorted(str) for i in range(N): print(''.join(str[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,354
s595581117
p04044
u440191278
1543968816
Python
Python (3.4.3)
py
Accepted
19
3060
362
import sys def solve(n, l, ls_s): sl = sorted(ls_s) s = '' for i in sl: s += i print(s) def readQuestion(): ws = sys.stdin.readline().strip().split() n = int(ws[0]) l = int(ws[1]) ls_s = [sys.stdin.readline().strip().split()[0] for j in range(n)] return (n, l, ls_s,) def ...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,355
s829347532
p04044
u438085259
1543966968
Python
Python (3.4.3)
py
Accepted
18
3060
84
N,L = map(int, input().split()) print(''.join(sorted([input() for n 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,356
s458584832
p04044
u761529120
1543889466
Python
Python (3.4.3)
py
Accepted
18
3060
107
N, L = map(int, input().split(" ")) S = [input() for i in range(N)] S = sorted(S) s = ''.join(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,357
s831108580
p04044
u620945921
1543694319
Python
Python (3.4.3)
py
Accepted
17
3060
149
n,l = input().split() n=int(n) e = [[i for i in input().split()] for i in range(n)] e.sort() #print(e) for i in range(n): print(e[i][0], 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,358
s757256508
p04044
u588093355
1543671194
Python
Python (3.4.3)
py
Accepted
18
3060
372
#!/usr/bin/env python3 import sys def solve(n, l, ls_s): print(''.join(sorted(ls_s))) def readQuestion(): ws = sys.stdin.readline().strip().split() n = int(ws[0]) l = int(ws[1]) ls_s = [sys.stdin.readline().strip().split()[0] for j in range(n)] return (n, l, ls_s,) def main(): solve(*re...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,359
s678331820
p04044
u844789719
1543424489
Python
Python (3.4.3)
py
Accepted
18
3060
93
N, L = [int(_) for _ in 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,215,360
s194802151
p04044
u432805419
1543288290
Python
Python (3.4.3)
py
Accepted
17
3060
101
a,b = list(map(int,input().split())) c = [input() for _ in range(a)] c = sorted(c) print("".join(c))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,361
s779041144
p04044
u371763408
1543244452
Python
Python (3.4.3)
py
Accepted
17
3060
105
n,l = map(int,input().split()) strings=[input() for i in range(n)] strings.sort() print("".join(strings))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,362
s830705595
p04044
u919521780
1542946965
Python
Python (3.4.3)
py
Accepted
18
3060
100
n, l = list(map(int, input().split())) s = [input() for _ in range(n)] s.sort() print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,363
s697765134
p04044
u060392346
1542890810
Python
Python (3.4.3)
py
Accepted
17
3060
91
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,215,364
s665566195
p04044
u555962250
1542750323
Python
Python (3.4.3)
py
Accepted
18
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,365
s703842289
p04044
u001024152
1542509103
Python
Python (3.4.3)
py
Accepted
18
3060
204
N,L = map(int, input().split()) S = list(input() for _ in range(N)) ans = "" while S: min_s = S[0] for si in S[1:]: min_s = min(si, min_s) ans += min_s S.remove(min_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,215,366
s234871604
p04044
u255280439
1542325143
Python
Python (3.4.3)
py
Accepted
39
4764
3,081
import sys import math import collections import itertools import array import inspect # Set max recursion limit sys.setrecursionlimit(1000000) # Debug output def chkprint(*args): names = { id(v): k for k, v in inspect.currentframe().f_back.f_locals.items() } print(', '.join( name...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,367
s066442301
p04044
u993642190
1542321440
Python
Python (3.4.3)
py
Accepted
19
3064
281
l = [int(i) for i in input().split() ] N = l[0] L = l[1] words = [] _ap = words.append for i in range(N) : _ap(input()) out_str = "" _rm = words.remove while True : min_word = min(words) out_str += min(words) _rm(min_word) if (len(words) == 0) : break; print(out_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,368
s314361763
p04044
u647287452
1542319740
Python
Python (3.4.3)
py
Accepted
18
3060
121
a,b = map(int,input().split()) list = [] for i in range(a): list.append(input()) list.sort() x = ''.join(list) print(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,369
s642145690
p04044
u816631826
1542228455
Python
Python (3.4.3)
py
Accepted
17
3064
99
N,L=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,370
s040052158
p04044
u018679195
1542219051
Python
Python (3.4.3)
py
Accepted
17
3060
147
N, L = map(int, input().split()) ans = "" s = [] for i in range(N): s.append(input()) s.sort() for i in range(N): ans += s[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,371
s449755909
p04044
u236127431
1541992139
Python
Python (3.4.3)
py
Accepted
17
3060
129
N,L=map(int,input().split()) Words=[input() for i in range(N)] Words.sort(key=lambda x: x) W="" for w in Words: W+=w print(W)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,372
s079292976
p04044
u432805419
1541907809
Python
Python (3.4.3)
py
Accepted
17
3060
147
N,L = list(map(int,input().split())) a = [input() for i in range(N)] b = [] for i in range(N): b.append(a[i]) c = sorted(b) print("".join(c))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,373
s874932289
p04044
u328207927
1541792000
Python
Python (3.4.3)
py
Accepted
18
3064
110
N,L=map(int,input().strip().split()) S=[input() for i in range(N)] S.sort() m='' for i in S: m+=i print(m)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,374
s132680017
p04044
u643840641
1541743750
Python
Python (3.4.3)
py
Accepted
17
3060
104
n, l = map(int, input().split()) s = [input() for i in range(n)] s.sort() for i in s: print(i, end='')
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,375
s642466582
p04044
u643840641
1541743733
Python
Python (3.4.3)
py
Accepted
17
3060
112
n, l = map(int, input().split()) s = [input() for i in range(n)] s.sort() 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,376
s466027394
p04044
u475018333
1541581934
Python
Python (3.4.3)
py
Accepted
17
3060
149
n, l = map(int, input().split()) l = [] i = 0 l = [input() for i in range(n)] result = sorted(l) s = ''.join(result) # 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,377
s107534820
p04044
u475018333
1541581759
Python
Python (3.4.3)
py
Accepted
17
3060
149
n, l = map(int, input().split()) l = [] i = 0 l = [input() for i in range(n)] result = sorted(l) s = ''.join(result) # 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,378
s603388818
p04044
u163449343
1541543066
Python
Python (3.4.3)
py
Accepted
17
3060
91
n, l = map(int, input().split()) s = [input() for _ in range(n)] s.sort() print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,379
s600581802
p04044
u652150585
1541536564
Python
Python (3.4.3)
py
Accepted
17
3060
126
n,l=map(int,input().split()) l=[input() for i in range(n)] l.sort() #print(l) a=l[0] for i in range(1,n): a+=l[i] print(a)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,380
s384504964
p04044
u432805419
1541479551
Python
Python (3.4.3)
py
Accepted
17
3060
151
a = list(map(int,input().split())) b = [input() for i in range(a[0])] c = [] for i in range(a[0]): c.append(b[i]) d = sorted(c) print("".join(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,381
s452947974
p04044
u792333798
1541443840
Python
Python (3.4.3)
py
Accepted
17
3060
159
N, L = list(map(int, input().strip().split(' '))) S = [] for i in range(N): s = input() S.append(s) S.sort() c="" for i in S: c = c+i print(c)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,382
s301228551
p04044
u386819480
1541390637
Python
Python (3.4.3)
py
Accepted
18
3060
99
n,l = (int(_) for _ in input().split()) s = [input() for i in range(n)] s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,383
s773310621
p04044
u063052907
1541376658
Python
Python (3.4.3)
py
Accepted
17
3060
100
# coding: utf-8 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,215,384
s839220135
p04044
u350997995
1541278236
Python
Python (3.4.3)
py
Accepted
17
3060
126
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,385
s377386699
p04044
u022871813
1541271868
Python
Python (3.4.3)
py
Accepted
17
3060
125
n, l = map(int,input().split()) list = [] for i in range(n): a = input() list.append(a) print(''.join(sorted(list)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,386
s878378340
p04044
u943657163
1541271143
Python
Python (3.4.3)
py
Accepted
17
3060
84
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,215,387
s613668114
p04044
u703823201
1541269608
Python
Python (3.4.3)
py
Accepted
17
3060
133
N, L = map(int, input().split()) s = [] for S in range(N): S = str(input()) s.append(S) l = sorted(s) m = "".join(l) print(m)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,388
s679159889
p04044
u438786370
1541171586
Python
Python (3.4.3)
py
Accepted
17
3060
142
data = list(map(int, input().split())) strings = [input() for _ in range(data[0])] strings.sort() s = '' for x in strings: s += x 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,389
s098546468
p04044
u859968552
1541171569
Python
Python (3.4.3)
py
Accepted
17
3060
179
N,L=map(int,input().split()) moji=[] for i in range(0,N): moji.append(input()) moji=sorted(moji) answer="" for i in range(0,N): answer+=moji[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,390
s058591668
p04044
u208052792
1541171432
Python
Python (3.4.3)
py
Accepted
17
3060
171
N, L = map(int, input().split()) s = [0 for i in range(N)] for i in range(N): s[i] = input() s.sort() output = "" for i in range(N): output += s[i] print(output)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,391
s590374050
p04044
u466335531
1541170703
Python
Python (3.4.3)
py
Accepted
17
3060
117
N,L=map(int,input().split()) S=[] for _ in range(N): S.append(input()) 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,392
s457881514
p04044
u864565901
1541170586
Python
Python (3.4.3)
py
Accepted
17
3060
100
N,L=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,215,393
s879696576
p04044
u090225501
1541106915
Python
Python (3.4.3)
py
Accepted
17
3064
91
n, l = map(int, input().split()) s = [input() for _ in range(n)] s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,394
s186160981
p04044
u782098901
1541045295
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,395
s232358995
p04044
u294000907
1540938394
Python
Python (3.4.3)
py
Accepted
17
3060
152
#!/usr/bin/env python3 # -*- coding: utf-8 -*- n,l = map(int, input().split()) a=[] for i in range(0,n): a.append(input()) 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,215,396
s518707615
p04044
u637824361
1540870471
Python
Python (3.4.3)
py
Accepted
17
3060
92
n, l = map(int, input().split()) L = [input() for i in range(n)] L.sort() print(''.join(L))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,397
s459706316
p04044
u240793404
1540821095
Python
Python (3.4.3)
py
Accepted
17
3060
116
n,l = map(int,input().split()) s = [input() for i in range(n)] s.sort() ans = "" for i in s: ans += i print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,398
s861835752
p04044
u023231878
1540796382
Python
Python (3.4.3)
py
Accepted
17
3060
112
n,l = map(int,input().split(' ')) li = [] for i in range(n): li.append(input()) li.sort() print(''.join(li))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,399
s744197928
p04044
u363407238
1540688089
Python
Python (3.4.3)
py
Accepted
18
3060
91
n, l = map(int, input().split()) s = [input() for _ in range(n)] s.sort() print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,400
s965540317
p04044
u079543046
1540652184
Python
Python (3.4.3)
py
Accepted
17
3060
122
N, L = map(int, input().split()) s = [] for i in range(N): s.append(input()) s = sorted(s) ans = "".join(s) print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,401
s961795162
p04044
u293579463
1540587360
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,402
s355621732
p04044
u733321071
1540437544
Python
Python (3.4.3)
py
Accepted
17
3060
235
# -*- coding: utf-8 -*- N, L = map(int, input().split()) words = [] answer = '' for i in range(N): words.append(input()) for i in range(len(words)): word = min(words) answer += word words.remove(word) 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,403
s125975039
p04044
u998618379
1540313824
Python
Python (3.4.3)
py
Accepted
17
3064
506
# -*- coding: utf-8 -*- # スペース区切りの整数の入力 N, L = map(int, input().split()) # 複数行に複数の入力値を取得し、出力する S = [input() for i in range(N)] S = sorted(S) # 出力 # リストSの各要素に対してlen()を取得したリストの各要素がすべてLと一致するか否かの判定 len_list = [s_length == L for s_length in list(map(lambda s: len(s), S))] S_concat = "" if all(len_list): for i in range(len...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,404
s159115937
p04044
u295961023
1540222532
Python
Python (3.4.3)
py
Accepted
17
3060
174
def main(): N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() ans = ''.join(S) print(ans) if __name__ == '__main__': main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,405
s372670539
p04044
u880891635
1540182701
Python
Python (3.4.3)
py
Accepted
17
3060
139
n,l = map(int, input().split()) s_list = [input() for i in range(n)] s_list.sort() s = '' for item in s_list: s += item 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,406
s959435982
p04044
u323680411
1540055803
Python
Python (3.4.3)
py
Accepted
21
3316
428
from sys import stdin def main(): n = next_int() l = next_int() s = [input() for _ in range(n)] s.sort() print("".join(s)) def next_int(): return int(next_str()) def next_str(): result = "" while True: tmp = stdin.read(1) if tmp.strip() != "": 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,407
s588537263
p04044
u052332717
1539972980
Python
Python (3.4.3)
py
Accepted
17
3060
132
n,l = map(int, input().split()) s_li = [input() for i in range(n)] s_li.sort() s = '' for item in s_li: s += item 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,408
s297309118
p04044
u595372947
1539920196
Python
Python (3.4.3)
py
Accepted
17
3060
155
N, L = [int(i) for i in input().split()] list = sorted([input() for i in range(N)]) ans = '' #print(list) for i in range(N): ans += list[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,409
s323708114
p04044
u620480037
1539571420
Python
Python (3.4.3)
py
Accepted
17
3060
173
N,L=map(int,input().split()) list1=[] for i in range(N): S=input() list1.append(S) list1.sort() ans="" for j in range(N): ans=ans+list1[j] print("".join(list1))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,410
s684164308
p04044
u848647227
1539542464
Python
Python (3.4.3)
py
Accepted
19
3060
123
a = input().split(" ") ar = [] for j in range(int(a[0])): l = input() ar.append(l) b = sorted(ar) print("".join(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,215,411
s645431583
p04044
u681150536
1539485225
Python
Python (3.4.3)
py
Accepted
17
3060
227
def main(): N, L = map(int, input().split()) S = [] answer = "" for i in range(N): S.append(input()) for s in sorted(S): answer += s print(answer) 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,412
s882887902
p04044
u459697504
1539391474
Python
Python (3.4.3)
py
Accepted
18
3060
510
#! /usr/bin/python3 # 文字列大好きいろはちゃんイージー / Iroha Loves Strings (ABC Edition) """ 1≦N,L≦100 全ての i(1≦i≦N) に対し、Si の長さは L に等しい。 各 i について, Si は全て半角英小文字のみから成る文字列である。 """ test_mode = False N, L = map(int, input().split()) S = [] for i in range(N): S.append(input()) if test_mode: print(S) S.sort() if test...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,413
s431903489
p04044
u365375535
1539319451
Python
Python (3.4.3)
py
Accepted
17
3060
124
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,414
s711008805
p04044
u832039789
1539296864
Python
Python (3.4.3)
py
Accepted
17
3060
111
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,415
s686870046
p04044
u595353654
1539284430
Python
Python (3.4.3)
py
Accepted
17
3060
240
# -*- coding: utf-8 -*- from sys import stdin N, L = [int(x) for x in stdin.readline().rstrip().split()] dic = [] for i in range(N): dic.append(stdin.readline().rstrip()) dic_sort = sorted(dic) ans = "".join(dic_sort) 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,416