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
s190439182
p04044
u667472448
1591600757
Python
Python (3.4.3)
py
Accepted
18
3060
115
n, l = map(int, input().split()) s = [input() for i in range(n)] s.sort() for i in range(n): print(s[i],end="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,117
s973144017
p04044
u293825440
1591579723
Python
Python (3.4.3)
py
Accepted
17
3060
100
N,L = map(int,input().split()) s = [input() for i in range(N)] s.sort() ans = ''.join(s) print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,118
s427178343
p04044
u782930273
1591541558
Python
Python (3.4.3)
py
Accepted
18
3060
91
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,119
s702316034
p04044
u492749916
1591517887
Python
Python (3.4.3)
py
Accepted
17
3060
194
N, L = list(map(int, input().split())) ans = "" arr = [] for i in range(0, N): temp = str(input()) arr.append(temp) arr = sorted(arr) for i in range(0,N): ans = ans + arr[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,120
s505231347
p04044
u213908267
1591505830
Python
Python (3.4.3)
py
Accepted
34
3064
479
def swap(s, t) : for i in range(L) : if (s[i] < t[i]) : return True elif (s[i] > t[i]) : return False return True def strsort(s) : for i in range(N) : j = N - 1 while j > i : if swap(s[j], s[j - 1]) : tmp = s[j - 1] s[j - 1] = s[j] s[j] = tmp j...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,121
s864626194
p04044
u811436126
1591504864
Python
Python (3.4.3)
py
Accepted
17
3060
101
n, l = map(int, input().split()) s = sorted([input() for _ in range(n)]) ans = ''.join(s) print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,122
s064676483
p04044
u756311765
1591480586
Python
Python (3.4.3)
py
Accepted
18
3060
135
N,L = map(int, input().split()) S = [] for _ in range(N): S.append(input()) S = sorted(S) s = '' for t in S: s = s + t print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,123
s769420076
p04044
u372364083
1591479289
Python
Python (3.4.3)
py
Accepted
17
3060
92
n, m = 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,213,124
s288333719
p04044
u552738814
1591418405
Python
Python (3.4.3)
py
Accepted
17
3060
170
n = input().split() word_list = [] for i in range(int(n[0])): word_list.append(input()) sorted_list = sorted(word_list) answer = "".join(sorted_list) print(answer)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,125
s237231593
p04044
u179169725
1591408886
Python
Python (3.4.3)
py
Accepted
21
3316
1,480
import sys sys.setrecursionlimit(1 << 25) read = sys.stdin.readline ra = range enu = enumerate def mina(*argv, sub=1): return list(map(lambda x: x - sub, argv)) # 受け渡されたすべての要素からsubだけ引く.リストを*をつけて展開しておくこと def read_a_int(): return int(read()) def read_ints(): return list(map(int, read().split())) def read_col(H): ...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,126
s977817322
p04044
u535171899
1591407340
Python
Python (3.4.3)
py
Accepted
17
3060
89
n,l = map(int,input().split()) S = [input() for i in range(n)] S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,127
s490299024
p04044
u391589398
1591403778
Python
Python (3.4.3)
py
Accepted
17
3060
113
n, l = map(int, input().split()) S = [] for _ in range(n): S.append(input()) S = sorted(S) print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,128
s014416192
p04044
u143051858
1591378153
Python
Python (3.4.3)
py
Accepted
18
3188
153
import itertools N,L = map(int,input().split()) s = [list(input()) for x in range(N)] s.sort() print("".join(list(itertools.chain.from_iterable(s))))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,129
s696504647
p04044
u713914478
1591366980
Python
Python (3.4.3)
py
Accepted
17
3060
89
N,L = map(int,input().split()) S = [input() for i in range(N)] S.sort() print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,130
s463366922
p04044
u742899538
1591364725
Python
Python (3.4.3)
py
Accepted
17
3060
109
N, L = list(map(int, input().split())) S = [] for _ in range(N): S += [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,213,131
s846774765
p04044
u974935538
1591359727
Python
Python (3.4.3)
py
Accepted
17
3060
150
N,L = map(int,input().split()) li = [] for _ in range(N): li.append(input()) li.sort() ans = "" for i in range(len(li)): ans+=li[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,132
s855393467
p04044
u611090896
1591350773
Python
Python (3.4.3)
py
Accepted
17
3060
87
n,l = map(int,input().split()) s = sorted([input() for i in range(n)]) print(*s,sep='')
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,133
s986390818
p04044
u757274384
1591330683
Python
Python (3.4.3)
py
Accepted
18
3060
175
# -*- coding : utf-8 -*- n,l = map(int, input().split()) L = list([input() for i in range(n)]) L.sort() word = "" for i in range(len(L)): word = word + L[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,213,134
s915648546
p04044
u977389981
1591282312
Python
Python (3.4.3)
py
Accepted
18
3060
91
n, m = 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,213,135
s324883936
p04044
u146597538
1591235875
Python
Python (3.4.3)
py
Accepted
17
3060
91
N, L = map(int, input().split()) S = [input() for _ in range(N)] print("".join(sorted(S)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,136
s178987255
p04044
u810787773
1591227553
Python
Python (3.4.3)
py
Accepted
18
3060
157
def main(): n,l = map(int, input().split()) s_list = [input() for _ in range(n)] s_list.sort() ans = ''.join(s_list) print(ans) main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,137
s346976356
p04044
u566574814
1591221336
Python
Python (3.4.3)
py
Accepted
17
3060
118
n,l=map(int,input().split()) s=[input() for i in range(n)] s.sort() ans='' for i in range(n): ans += s[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,138
s473579322
p04044
u736474437
1591215084
Python
Python (3.4.3)
py
Accepted
17
3060
97
N,L=map(int, input().split()) a=list(input() for i in range(N)) b=sorted(a) c=''.join(b) 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,213,139
s395927010
p04044
u579508806
1591210339
Python
Python (3.4.3)
py
Accepted
18
3060
128
(a,b)=[int(x) for x in input().split()] word=[] for i in range(a): word.append(input()) word=sorted(word) print(''.join(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,213,140
s951324389
p04044
u072717685
1591156819
Python
Python (3.4.3)
py
Accepted
17
3060
207
def main(): n, l = map(int, input().split()) s = [input() for _ in range(n)] s.sort() r = "" for i1 in range(n): r = r + s[i1] print(r) if __name__ == '__main__': main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,141
s198753838
p04044
u912650255
1591146483
Python
Python (3.4.3)
py
Accepted
18
3060
128
N,L = map(int,input().split()) S = [] for i in range(N): S.append(input()) sorted_S = sorted(S) print(*sorted_S,sep='')
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,142
s891893637
p04044
u510331904
1591144275
Python
Python (3.4.3)
py
Accepted
17
3060
99
N, L = [int(i) for i in input().split()] S = sorted([input() for _ in range(N)]) print(*S, sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,143
s037791164
p04044
u958506960
1591121132
Python
Python (3.4.3)
py
Accepted
17
3060
90
n, l = map(int, input().split()) s = sorted([input() for _ in range(n)]) print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,144
s884746455
p04044
u934119021
1591108320
Python
Python (3.4.3)
py
Accepted
17
3060
141
n, l = map(int, input().split()) arr = [''] * n for i in range(n): arr[i] = input() arr.sort() ans = '' for e in arr: ans += e print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,145
s417816385
p04044
u820180033
1591094043
Python
Python (3.4.3)
py
Accepted
17
3060
165
def main(): N, L = map(int,input().split()) a = [] for i in range(N): a.append(input()) a.sort() ans = ('').join(a) print(ans) main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,146
s165602148
p04044
u912650255
1591054492
Python
Python (3.4.3)
py
Accepted
17
3060
140
N,L = map(int,input().split()) S = [] for _ in range(N): S.append(input()) sorted_S = sorted(S) for i in sorted_S: print(i,end='')
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,147
s901068510
p04044
u581142892
1591054105
Python
Python (3.4.3)
py
Accepted
17
3060
466
class A: def solve(self): [a, b, c] = sorted([int(x) for x in input().split(" ")]) if a == 5 and b == 5 and c == 7: print("YES") else: print("NO") class B: def solve(self): [n, l] = [int(x) for x in input().split(" ")] strings = [] for ...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,148
s410007820
p04044
u922449550
1591048764
Python
Python (3.4.3)
py
Accepted
17
3060
91
N, L = map(int, input().split()) S = [input() for i in range(N)] S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,149
s168045441
p04044
u183945517
1591015548
Python
Python (3.4.3)
py
Accepted
17
3060
152
n , l= input().split() n = int(n) list = [] ans = "" for i in range(n): list.append(input()) list.sort() for i in list: 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,213,150
s418616258
p04044
u750651325
1591014684
Python
Python (3.4.3)
py
Accepted
17
3060
118
N, L = map(int, input().split()) a=[] for i in range(N): A = input() a.append(A) a.sort() print("".join(a))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,151
s888860350
p04044
u199356004
1590990228
Python
Python (3.4.3)
py
Accepted
18
3060
162
N,L = [int(i) for i in input().split(" ") ] S = [] for _ in range(N): S.append( input() ) sd = sorted(S, key=lambda x: (str(x)[0], x)) print("".join(sd))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,152
s218572881
p04044
u145145077
1590979530
Python
Python (3.4.3)
py
Accepted
17
3060
119
n, l = list(map(int, input().split())) a = [(input()) for _ in range(n)] sorted_a = sorted(a) print(''.join(sorted_a))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,153
s383295408
p04044
u662396511
1590893835
Python
Python (3.4.3)
py
Accepted
17
3060
145
n, l = map(int, input().split()) s = [input() for _ in range(n)] s_sort = sorted(s) ans = "" for i in range(n): ans += s_sort[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,154
s027438245
p04044
u579015878
1590883996
Python
Python (3.4.3)
py
Accepted
17
3060
114
N,L=map(int,input().split()) l=list() for i in range(N): S=input() l.append(S) ll=sorted(l) print(''.join(ll))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,155
s771715587
p04044
u635273885
1590870213
Python
Python (3.4.3)
py
Accepted
17
3060
85
N, L = map(int, input().split()) print(''.join(sorted([input() for _ in range(N)])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,156
s046390249
p04044
u935077683
1590853814
Python
Python (3.4.3)
py
Accepted
17
3064
84
a, b = map(int, input().split()) print("".join(sorted([input() for _ in range(a)])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,157
s710351481
p04044
u036190609
1590849069
Python
Python (3.4.3)
py
Accepted
18
3060
200
N, L =list(map(int, input().split())) array = [] word = "" for i in range(N): s = input() array.append(s) new_array = sorted(array) for j in range(N): word += new_array[j] 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,213,158
s646632763
p04044
u036190609
1590808153
Python
Python (3.4.3)
py
Accepted
17
3060
149
N, L = map(int, input().split()) l = [] s ="" for i in range(N): l.append(input()) lnew = sorted(l) for j in range (N): s += lnew[j] print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,159
s474231393
p04044
u285891772
1590788395
Python
Python (3.4.3)
py
Accepted
39
5200
943
import sys, re from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians#, log2 from itertools import accumulate, permutations, combinations, combinations_with_replacement, product, groupby from operator import itemgetter, mul from copy import deepcopy, cop...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,160
s534018151
p04044
u285891772
1590787970
Python
Python (3.4.3)
py
Accepted
38
5204
942
import sys, re from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians#, log2 from itertools import accumulate, permutations, combinations, combinations_with_replacement, product, groupby from operator import itemgetter, mul from copy import deepcopy, cop...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,161
s143029022
p04044
u422977492
1590771840
Python
Python (3.4.3)
py
Accepted
17
3060
105
n,l=map(int,input().split()) l=[] for i in range(n): s=input() l.append(s) 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,213,162
s532434719
p04044
u243312682
1590758785
Python
Python (3.4.3)
py
Accepted
17
3060
208
def main(): n, l = map(int, input().split()) s = [input() for i in range(n)] ss = sorted(s) res = '' for i in ss: res = res + i print(res) if __name__ == '__main__': main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,163
s742178784
p04044
u378157957
1590743996
Python
Python (3.4.3)
py
Accepted
17
3060
125
N, L = map(int, input().split()) words = [] for i in range(N): words.append(input()) words.sort() print(''.join(words))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,164
s585434102
p04044
u767545760
1590718043
Python
Python (3.4.3)
py
Accepted
18
3060
113
N = list(map(int, input().split())) string = [input() for s in range(N[0])] 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,213,165
s338702402
p04044
u203843959
1590712656
Python
Python (3.4.3)
py
Accepted
18
3060
116
N,L=map(int,input().split()) slist=[] for _ in range(N): slist.append(input()) 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,213,166
s948304082
p04044
u343977188
1590707396
Python
Python (3.4.3)
py
Accepted
18
3060
134
N,L=map(int,input().split()) M=[0]*N for i in range(N): M[i]=str(input()) 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,213,167
s925107937
p04044
u991567869
1590699288
Python
Python (3.4.3)
py
Accepted
17
3060
110
n, l = map(int, input().split()) s = [] for i in range(n): s.append(input()) s.sort() print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,168
s857370088
p04044
u435721973
1590691412
Python
Python (3.4.3)
py
Accepted
17
3060
107
count , low = map(int, input().split(" ")) li = sorted([input() for s in range(count)]) print(''.join(li))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,169
s330773856
p04044
u816265237
1590687231
Python
Python (3.4.3)
py
Accepted
17
3060
152
n,l = list(map(int, input().split())) ln = [] for n in range(n): ln.append(input()) output = '' for i in sorted(ln): output += i print(output)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,170
s702980856
p04044
u888092736
1590675073
Python
Python (3.4.3)
py
Accepted
18
3060
83
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,213,171
s283432783
p04044
u924845460
1590643947
Python
Python (3.4.3)
py
Accepted
17
3060
89
n,l=map(int, input().split()) ss=[input() for i 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,213,172
s771418428
p04044
u502666845
1590635352
Python
Python (3.4.3)
py
Accepted
18
3060
91
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,173
s632881960
p04044
u498575211
1590632710
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,213,174
s650786293
p04044
u802963389
1590626156
Python
Python (3.4.3)
py
Accepted
17
3060
201
# B - 文字列大好きいろはちゃんイージー # https://atcoder.jp/contests/abc042/tasks/abc042_b n, l = map(int, input().split()) S = [input() for _ in range(n)] S.sort() print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,175
s192541706
p04044
u955484068
1590614971
Python
Python (3.4.3)
py
Accepted
20
3060
303
n,l=map(int,input().split()) #指定された数の文字列を受け取る s=sorted([input() for i in range(n)])#s[i]にn回分文字列を代入する。さらにその後ソートをする。勝手に辞書順になる print(*s,sep="")#sの中のすべての文字列を表示。この時""で表示
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,176
s032797258
p04044
u905715926
1590595526
Python
Python (3.4.3)
py
Accepted
18
3060
311
import sys import bisect import heapq sys.setrecursionlimit(1 << 25) read = sys.stdin.readline def main(): n,l = map(int,read().split()) li = [] for i in range(n): li.append(input()) li.sort() for s in li: print(s,end="") print() if __name__ == '__main__': main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,177
s756712068
p04044
u497952650
1590586355
Python
Python (3.4.3)
py
Accepted
18
3060
89
N,L = map(int,input().split()) S = sorted([input() for _ in range(N)]) print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,178
s168878865
p04044
u608088992
1590580236
Python
Python (3.4.3)
py
Accepted
17
3060
237
import sys def solve(): input = sys.stdin.readline N, L = map(int, input().split()) S = [input().strip("\n") for _ in range(N)] S.sort() print("".join(S)) return 0 if __name__ == "__main__": solve()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,179
s068405671
p04044
u156815136
1590579581
Python
Python (3.4.3)
py
Accepted
17
3060
148
n,l = map(int,input().split()) S = [] for i in range(n): S.append(input()) S = sorted(S) ans = "" for i in range(n): ans += S[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,180
s995838170
p04044
u630511239
1590579346
Python
Python (3.4.3)
py
Accepted
17
3060
101
N, L = map(int, input().split()) S = [input() for i in range(N)] S.sort() ans = ''.join(S) print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,181
s543946213
p04044
u726615467
1590579297
Python
Python (3.4.3)
py
Accepted
17
3060
123
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() ans = '' for Si in S: ans += Si print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,182
s808671357
p04044
u263830634
1590579220
Python
Python (3.4.3)
py
Accepted
17
3060
188
import sys # input = sys.stdin.readline sys.setrecursionlimit(10 ** 9) MOD = 10 ** 9 + 7 N, L = map(int, input().split()) S = [str(input()) for _ in range(N)] S.sort() print (''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,183
s164228149
p04044
u609061751
1590579164
Python
Python (3.4.3)
py
Accepted
17
3060
150
import sys input = sys.stdin.readline n, l = [int(x) for x in input().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,213,184
s690182621
p04044
u241159583
1590579155
Python
Python (3.4.3)
py
Accepted
17
3060
90
n,l = map(int, input().split()) s = [input() for _ in range(n)] s.sort() print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,185
s785296573
p04044
u552738814
1590552081
Python
Python (3.4.3)
py
Accepted
21
3316
160
n,l = map(int,input().split()) list = [] for i in range(n): list.append("{}".format(input())) list.sort() for i2 in range(n): print(list[i2],end="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,186
s478708378
p04044
u076245995
1590550305
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,213,187
s320926532
p04044
u371385198
1590535207
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,213,188
s440597029
p04044
u285891772
1590474160
Python
Python (3.4.3)
py
Accepted
38
5204
954
import sys, re from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, tan, asin, acos, atan, radians, degrees#, log2 from itertools import accumulate, permutations, combinations, combinations_with_replacement, product, groupby from operator import itemgetter, mu...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,189
s688319288
p04044
u591808161
1590464906
Python
Python (3.4.3)
py
Accepted
17
3060
150
N, L = map(int, input().rstrip().split()) mylist = [] for i in range(N): mylist.append(str(input().rstrip())) mylist.sort() print("".join(mylist))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,190
s895133750
p04044
u574464625
1590464290
Python
Python (3.4.3)
py
Accepted
17
3060
135
#文字列大好き n,l = map(int, input().split()) s=[input() for _ in range(n)] s.sort() 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,213,191
s538912429
p04044
u574464625
1590463947
Python
Python (3.4.3)
py
Accepted
17
3060
147
#! python3 N, L = [int(x) for x in input().strip().split(' ')] S = [] for _ in range(N): S.append(input().strip()) S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,192
s305071596
p04044
u228232845
1590462680
Python
Python (3.4.3)
py
Accepted
21
3316
654
from collections import defaultdict import sys def LI(): return list(map(int, sys.stdin.buffer.readline().split())) def I(): return int(sys.stdin.buffer.readline()) def LS(): return sys.stdin.buffer.readline().rstrip().decode('utf-8').split() def S(): return sys.stdin.buffer.readline().rstrip().decode('utf-8') def IR...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,193
s203089193
p04044
u299599133
1590462535
Python
Python (3.4.3)
py
Accepted
17
3060
140
## B - 文字列大好きいろはちゃんイージー N, L = map(int, input().split()) print(''.join(sorted([input() for s in range(N)])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,194
s020217169
p04044
u084320347
1590462421
Python
Python (3.4.3)
py
Accepted
17
3060
96
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,213,195
s088035715
p04044
u588163461
1590462202
Python
Python (3.4.3)
py
Accepted
18
3060
371
#!/usr/bin/env python3 """ Lの文字列N個(s1-sN) N個の文字列を辞書順にしたあと,くっつけて出力する """ def main(): n, l = map(int, input().split()) input_list = [] for i in range(n): input_list.append(input()) result_list = sorted(input_list) print("".join(result_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,213,196
s381124001
p04044
u073852194
1590458407
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,213,197
s250529507
p04044
u798260206
1590457348
Python
Python (3.4.3)
py
Accepted
17
3060
141
n,l = map(int,input().split()) lst = [] for i in range(n): word = input() lst.append(word) L =sorted(lst) ans = "".join(L) print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,198
s657387587
p04044
u883866798
1590457146
Python
Python (3.4.3)
py
Accepted
17
3060
104
n, l = map(int,input().split()) s = [] [s.append(input()) for _ in range(n)] s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,199
s392647938
p04044
u646792990
1590453806
Python
Python (3.4.3)
py
Accepted
18
3060
92
n, l = map(int, input().split()) s = sorted([input() for _ in range(n)]) print(*s, sep='')
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,200
s082997500
p04044
u594956556
1590449757
Python
Python (3.4.3)
py
Accepted
18
3060
91
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,201
s035677979
p04044
u540290227
1590415580
Python
Python (3.4.3)
py
Accepted
17
3060
137
n, l = map(int, input().split()) s = [input() for i in range(n)] result = '' s.sort() for j in s: result = result + 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,213,202
s979185410
p04044
u540290227
1590415372
Python
Python (3.4.3)
py
Accepted
17
3060
155
n, l = map(int, input().split()) s = [] result = '' for i in range(n): s.append((input())) s.sort() for j in s: result = result + 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,213,203
s373654757
p04044
u956433805
1590389055
Python
Python (3.4.3)
py
Accepted
17
3060
98
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,213,204
s935932950
p04044
u366886346
1590384995
Python
Python (3.4.3)
py
Accepted
17
3060
119
n,l=map(int,input().split()) s=[input() for _ in range(n)] s.sort() ans="" for i in range(n): ans+=s[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,205
s615269700
p04044
u443736699
1590377455
Python
Python (3.4.3)
py
Accepted
17
3064
147
l = list(map(int, input().split())) N = l[0] L = l[1] s = [input() for i in range(N)] result = "" for i in sorted(s): result += i print(result)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,206
s927377038
p04044
u347116006
1590372915
Python
Python (3.4.3)
py
Accepted
18
3060
156
N,L = (int(x) for x in input().split()) S = [] for i in range(N): S.append(input()) S_sort = sorted(S) for i in range(N): print(S_sort[i], end="") print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,207
s443036181
p04044
u537976628
1590371178
Python
Python (3.4.3)
py
Accepted
18
3060
127
N, L = map(int, input().split()) S = sorted(list(input() for i in range(N))) str = '' for i in S: str = str + i 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,213,208
s788951431
p04044
u312482829
1590367736
Python
Python (3.4.3)
py
Accepted
18
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,213,209
s154147528
p04044
u634873566
1590364023
Python
Python (3.4.3)
py
Accepted
17
3060
90
n, l = map(int, input().split()) d = sorted([input() for _ in range(n)]) 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,213,210
s533422868
p04044
u475966842
1590363170
Python
Python (3.4.3)
py
Accepted
18
3060
107
N,L=map(int,input().split()) S = [input() for i in range(1,N+1)] sortedS=sorted(S) print('' .join(sortedS))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,211
s079153593
p04044
u382303205
1590338098
Python
Python (3.4.3)
py
Accepted
17
3060
100
n,l = map(int,input().split()) s = [input() for _ 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,213,212
s109729459
p04044
u850582941
1590334531
Python
Python (3.4.3)
py
Accepted
17
3060
142
N,L = list(map(int,input().split())) Iloha = [] for i in range(N): S = input() Iloha.append(S) Iloha.sort() print("".join(Iloha))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,213
s353229246
p04044
u057415180
1590298882
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,213,214
s131994222
p04044
u604655161
1590285233
Python
Python (3.4.3)
py
Accepted
17
3060
128
N,L = map(int, input().split()) iroha = [] for i in range(N): S = input() iroha.append(S) iroha.sort() print(''.join(iroha))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,215
s333142567
p04044
u557659226
1590220965
Python
Python (3.4.3)
py
Accepted
18
3060
143
n,l = map(int,input().rstrip().split()) strs = [input().rstrip() for _ in range(n)] strs.sort() ans = "" for s in strs: 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,213,216