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
s006775050
p04044
u498531348
1600643650
Python
PyPy3 (7.3.0)
py
Accepted
63
62304
104
N, L = map(int, input().split()) S = [str(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,212,617
s556061159
p04044
u224993839
1600626130
Python
PyPy3 (7.3.0)
py
Accepted
68
62236
100
n,k=map(int,input().split()) w=[] for i in range(n): w.append(input()) w.sort() print(''.join(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,212,618
s036933521
p04044
u348216768
1600601598
Python
Python (3.8.2)
py
Accepted
31
9156
108
N,L=list(map(int,input().split())) S=[] for i in range(N): S.append(input()) print(''.join(sorted(S)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,619
s061186972
p04044
u367397360
1600552371
Python
Python (3.8.2)
py
Accepted
29
8968
284
# N、Lの入力受付 N, L = map(int, input().split()) # N回連続で入力文字列を受付 S = [] for i in range(N): S.append(input()) # S内をソート S.sort() # Sの要素を結合 result = "" for i in range(N): result = result + S[i] # resultを出力 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,212,620
s582313022
p04044
u272495679
1600545207
Python
Python (3.8.2)
py
Accepted
27
9068
124
N, L = map(int, input().split()) S = [input() for i in range(N)] S_sorted = sorted(S) Word = ''.join(S_sorted) 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,212,621
s880021830
p04044
u022215787
1600543559
Python
Python (3.8.2)
py
Accepted
30
9116
112
n, l = map(int, input().split()) s_l = [ str(input()) for _ in range(n) ] s_l = sorted(s_l) print(''.join(s_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,212,622
s021595444
p04044
u888092736
1600529901
Python
Python (3.8.2)
py
Accepted
28
9028
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,212,623
s193585873
p04044
u339199690
1600528374
Python
PyPy3 (7.3.0)
py
Accepted
61
62332
94
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,212,624
s886383991
p04044
u156815136
1600516663
Python
Python (3.8.2)
py
Accepted
36
10352
1,093
#from statistics import median #import collections #aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0] from math import gcd from itertools import combinations,permutations,accumulate, product # (string,3) 3回 #from collections import deque from collections import deque,defaultdict,Counter ...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,625
s453277081
p04044
u080364835
1600516162
Python
Python (3.8.2)
py
Accepted
28
8912
109
n, l = map(int, input().split()) sl = list(input() for _ in range(n)) sl_s = sorted(sl) print(*sl_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,212,626
s956977564
p04044
u241159583
1600515737
Python
Python (3.8.2)
py
Accepted
32
9132
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,212,627
s662286231
p04044
u670567845
1600515453
Python
PyPy3 (7.3.0)
py
Accepted
63
62328
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,212,628
s924446334
p04044
u644907318
1600515412
Python
PyPy3 (7.3.0)
py
Accepted
63
62376
90
N,L = map(int,input().split()) print("".join(sorted([input().strip() 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,212,629
s844133869
p04044
u852690916
1600515406
Python
PyPy3 (7.3.0)
py
Accepted
64
62136
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,212,630
s226489182
p04044
u186838327
1600515276
Python
PyPy3 (7.3.0)
py
Accepted
74
62388
96
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,212,631
s839567406
p04044
u698868214
1600486617
Python
Python (3.8.2)
py
Accepted
24
9100
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,212,632
s989461410
p04044
u347397127
1600411902
Python
PyPy3 (7.3.0)
py
Accepted
74
62520
96
n,l=map(int,input().split()) S=sorted([input() for i in range(n)]) 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,212,633
s050728262
p04044
u815269021
1600403306
Python
PyPy3 (7.3.0)
py
Accepted
63
62076
117
a,b=map(int,input().split()) l=[] for i in range(a): a=input() l.append(a) print("".join(map(str,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,212,634
s674743359
p04044
u821251381
1600401371
Python
Python (3.8.2)
py
Accepted
30
8928
82
N,L,*Ss =open(0).read().split() ans = "" for s in sorted(Ss): 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,212,635
s895884355
p04044
u125545880
1600390776
Python
Python (3.8.2)
py
Accepted
30
9164
211
def main(): N, L = map(int, input().split()) S = [] for i in range(N): s = input() S.append(s) 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,212,636
s186002179
p04044
u035885928
1600387673
Python
Python (3.8.2)
py
Accepted
24
9048
108
n, l = map(int,input().split()) lw=[] for i in range(n): lw.append(input()) lw.sort() print("".join(lw))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,637
s425115235
p04044
u911449886
1600312063
Python
PyPy3 (7.3.0)
py
Accepted
65
62728
131
n,l = map(int,input().split()) s = [input() for i in range(n)] s.sort() ans = "" for i in s: ans = "".join([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,212,638
s544091988
p04044
u612975321
1600304247
Python
Python (3.8.2)
py
Accepted
30
9148
111
n, l = map(int,input().split()) a = [] for i in range(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,212,639
s596850844
p04044
u679817762
1600288406
Python
Python (3.8.2)
py
Accepted
28
9004
165
nl = input().split() N = int(nl[0]) L = int(nl[1]) lst = [] for i in range(N): lst.append(input()) lst.sort() ans = '' for s in lst: 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,212,640
s824563112
p04044
u049364987
1600249888
Python
Python (3.8.2)
py
Accepted
27
9128
313
from sys import stdin, stdout from time import perf_counter import sys sys.setrecursionlimit(10**9) mod = 10**9+7 # import sys # sys.stdout = open("e:/cp/output.txt","w") # sys.stdin = open("e:/cp/input.txt","r") n,l = map(int,input().split()) a = [input() for item in range(n)] b = sorted(a) 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,212,641
s387555470
p04044
u530332855
1600210678
Python
Python (3.8.2)
py
Accepted
28
9052
193
# -*- coding: utf-8 -*- if __name__ == "__main__": N, L = map(int, input().split()) si = [] for i in range(N): si.append(str(input())) si.sort() print(''.join(si))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,642
s147227683
p04044
u014139588
1600205180
Python
Python (3.8.2)
py
Accepted
26
9172
103
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,212,643
s777842317
p04044
u029935728
1600176984
Python
Python (3.8.2)
py
Accepted
25
8748
291
#NとLを入力 N, L = map(int, input().split()) # 空のリストを生成 S = [] #入力 for i in range(N): array = input() S.append(array) #辞書順に並べ替え S.sort() #pythonのリストの出力では[と,が出力されるので取る 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,212,644
s609877218
p04044
u317508154
1600152216
Python
Python (3.8.2)
py
Accepted
27
9108
170
n,l = map(int, input().split()) string_list =[input() for i in range(n)] string_list.sort() ans = string_list[0] for i in range(1,n): ans += string_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,212,645
s647168900
p04044
u044378346
1600139929
Python
Python (3.8.2)
py
Accepted
29
8924
110
n,l = map(int,input().split()) arr = [] for i in range(n): arr.append(input()) arr.sort() print(''.join(arr))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,646
s230430181
p04044
u883621917
1600139918
Python
PyPy3 (7.3.0)
py
Accepted
63
61936
188
import sys input = sys.stdin.readline sys.setrecursionlimit(10 ** 7) n, l = map(int, input().split()) s = [0] * n for i in range(n): s[i] = input().strip() 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,212,647
s232415194
p04044
u763548784
1600138469
Python
Python (3.8.2)
py
Accepted
28
9020
113
n, l = map(int, input().split()) s = [input() for _ in range(n)] s = sorted(s) for i in s: print(i,end = '')
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,648
s262395834
p04044
u087295942
1600131144
Python
Python (3.8.2)
py
Accepted
30
9024
520
# coding:UTF-8 import sys def resultSur97(x): return x % (10 ** 9 + 7) if __name__ == '__main__': # ------ 入力 ------# nl = list(map(int, input().split())) # スペース区切り連続数字 x = nl[0] sList = [input() for _ in range(x)] # ------ 処理 ------# sListSorted = sorted(sList) out = "" fo...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,649
s187339268
p04044
u875606071
1600120747
Python
Python (3.8.2)
py
Accepted
26
9084
121
a,b=map(int,input().split()) s=[] for i in range(a): s.append(input()) s.sort() for i in range(a): 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,212,650
s224120142
p04044
u579746769
1600095310
Python
Python (3.8.2)
py
Accepted
30
9088
101
n,l=map(int,input().split()) li=[input() for i in range(n)] sortli=sorted(li) print(''.join(sortli))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,651
s736556031
p04044
u381585104
1600064937
Python
Python (3.8.2)
py
Accepted
27
9056
108
n, l = map(int, input().split()) s = [] for i in range(n): s.append(input()) s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,652
s014569858
p04044
u794521826
1600060018
Python
Python (3.8.2)
py
Accepted
24
9092
179
n, l = map(int, input().split()) strList = [] for _ in range(0, n): strList.append(input()) strList.sort() ans = "" for i in range(0, n): ans += strList[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,212,653
s897001658
p04044
u904995051
1600043359
Python
Python (3.8.2)
py
Accepted
27
9152
88
n,l = map(int,input().split()) s = sorted([input() for i in range(n)]) print(*s,sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,654
s107455952
p04044
u904995051
1600037846
Python
Python (3.8.2)
py
Accepted
28
9032
120
# -*- coding: utf-8 -*- n,l = map(int,input().split()) s = [input() for i in range(n)] s = sorted(s) print(*s,sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,655
s010056951
p04044
u771167374
1600022552
Python
Python (3.8.2)
py
Accepted
24
9164
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,212,656
s078366742
p04044
u757424147
1600009060
Python
Python (3.8.2)
py
Accepted
25
9112
170
n,l = map(int,input().split()) strings = [] for _ in range(n): s = input() strings.append(s) strings.sort() ans = '' for string in strings: ans += string 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,212,657
s186433692
p04044
u446027224
1600001227
Python
Python (3.8.2)
py
Accepted
28
9176
164
if __name__ == "__main__": N, L = map(int,input().split()) di = list() for i in range(N): di.append(input()) copy = sorted(di) ans =''.join(copy) 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,212,658
s428081683
p04044
u792720861
1599976118
Python
Python (3.8.2)
py
Accepted
25
9104
106
n,l = map(int, input().split()) s = [] for _ in range(n): s.append(input()) 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,212,659
s436151197
p04044
u271064067
1599951166
Python
Python (3.8.2)
py
Accepted
28
9088
108
n, l = map(int, input().split()) ans = [str(input()) for _ in range(n)] ans.sort() print("".join(ans))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,660
s366758511
p04044
u615852002
1599942839
Python
Python (3.8.2)
py
Accepted
27
9108
124
n,l = [int(x) for x in input().split()] ss = [ input() for x in range(n)] #print(ss) ss.sort() #print(ss) print(''.join(ss))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,661
s035717837
p04044
u843768197
1599925752
Python
Python (3.8.2)
py
Accepted
27
9112
119
n, l = map(int, input().split()) a = list(input() for i in range(n)) ans = '' for i in sorted(a): ans += i print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,662
s211120570
p04044
u992465933
1599883750
Python
PyPy3 (7.3.0)
py
Accepted
71
66052
341
import sys sys.setrecursionlimit(4100000) import math import itertools INF = float('inf') from heapq import heapify, heappop, heappush import collections import bisect def main(): n,l = map(int, input().split()) array = [input() for _ in range(n)] array.sort() print(''.join(array)) if __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,212,663
s802715647
p04044
u048238198
1599817180
Python
Python (3.8.2)
py
Accepted
27
9076
453
import sys import math #https://atcoder.jp/contests/agc008/submissions/15248942 sys.setrecursionlimit(10 ** 8) ini = lambda: int(sys.stdin.readline()) inm = lambda: map(int, sys.stdin.readline().split()) inl = lambda: list(inm()) ins = lambda: sys.stdin.readline().rstrip() debug = lambda *a, **kw: print("\033[33m", *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,212,664
s801833831
p04044
u573946014
1599795634
Python
Python (3.8.2)
py
Accepted
28
9060
125
N, L = map(int, input().split()) S_i = [input() for i in range(N)] m = "" for x in sorted(S_i): m += x else: 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,212,665
s845399809
p04044
u630211216
1599792608
Python
Python (3.8.2)
py
Accepted
26
9012
137
N,L=map(int,input().split()) S=[] for i in range(0,N): S.append(input()) S.sort() for i in range(0,N): print(S[i],end='') print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,666
s035642486
p04044
u156815136
1599741449
Python
Python (3.8.2)
py
Accepted
40
10424
1,079
#from statistics import median #import collections #aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0] from fractions import gcd from itertools import combinations,permutations,accumulate, product # (string,3) 3回 #from collections import deque from collections import deque,defaultdict,Cou...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,667
s201812291
p04044
u186838327
1599739751
Python
PyPy3 (7.3.0)
py
Accepted
62
62432
97
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,212,668
s361450720
p04044
u038021590
1599738689
Python
PyPy3 (7.3.0)
py
Accepted
64
62384
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,212,669
s636661180
p04044
u815763296
1599738373
Python
Python (3.8.2)
py
Accepted
27
9100
164
def LI(): return list(map(int, input().split())) def LSH(h): return [input() for _ in range(h)] N, L = LI() S = LSH(N) 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,212,670
s465088990
p04044
u910632349
1599737990
Python
Python (3.8.2)
py
Accepted
25
9160
84
n,l=map(int,input().split()) s=[input() for _ in range(n)] s.sort() print(*s,sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,671
s310151472
p04044
u670567845
1599737845
Python
PyPy3 (7.3.0)
py
Accepted
71
62192
90
N, L = map(int, input().split()) d = [input() for _ in range(N)] print("".join(sorted(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,212,672
s508716807
p04044
u843175622
1599737669
Python
Python (3.8.2)
py
Accepted
29
8988
59
_, _, *s = open(0).read().split() 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,212,673
s620304410
p04044
u644907318
1599737635
Python
PyPy3 (7.3.0)
py
Accepted
74
62884
127
N,L = map(int,input().split()) S = sorted([input().strip() for _ in range(N)]) x = "" for i in range(N): x += S[i] 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,212,674
s161300550
p04044
u536034761
1599737546
Python
Python (3.8.2)
py
Accepted
29
9032
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,212,675
s531379577
p04044
u241159583
1599737536
Python
Python (3.8.2)
py
Accepted
31
9112
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,212,676
s955284899
p04044
u049364987
1599727927
Python
Python (3.8.2)
py
Accepted
28
9028
226
from sys import stdin, stdout from time import perf_counter import sys sys.setrecursionlimit(10**9) mod = 10**9+7 n,l = map(int, input().split()) s = [input() for _ in range(n)] s.sort() result ="".join(s) print(result)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,677
s019635728
p04044
u794544096
1599708735
Python
PyPy3 (7.3.0)
py
Accepted
69
62356
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,212,678
s873439586
p04044
u156302018
1599704368
Python
Python (3.8.2)
py
Accepted
27
9164
122
N, L = map(int,input().split()) str_list = [input() for i in range(N)] str_list.sort() ans = "".join(str_list) print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,679
s113753421
p04044
u727238330
1599696317
Python
Python (3.8.2)
py
Accepted
24
9184
97
N, L = list(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,212,680
s653077647
p04044
u074161135
1599693642
Python
Python (3.8.2)
py
Accepted
28
9044
128
info = input().split() lst = [] for i in range(int(info[0])): lst.append(str(input())) lst = "".join(sorted(lst)) print((lst))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,681
s773430357
p04044
u759109971
1599685117
Python
Python (3.8.2)
py
Accepted
28
8984
147
N, L = map(int, input().split()) S = [] for i in range(N): S.append(str(input())) S.sort() for i in range(N): print(S[i], end = '') print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,682
s444276300
p04044
u417309772
1599632700
Python
Python (3.8.2)
py
Accepted
25
9156
95
n,l = map(int, input().split()) strs = [input() for i in range(n)] print(''.join(sorted(strs)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,683
s131686033
p04044
u776311944
1599606478
Python
Python (3.8.2)
py
Accepted
28
9144
127
N, L = map(int, input().split()) res = [] for i in range(N): S = input() res.append(S) res.sort() print(''.join(res))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,684
s896103805
p04044
u329328520
1599582410
Python
Python (3.8.2)
py
Accepted
26
9160
148
if __name__ == '__main__': n, l = [int(x) for x in input().split(' ')] S = [input() for i in range(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,212,685
s802783111
p04044
u239091426
1599494835
Python
Python (3.8.2)
py
Accepted
25
9144
104
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,212,686
s345012979
p04044
u357751375
1599488422
Python
Python (3.8.2)
py
Accepted
25
9064
93
n,l = map(int,input().split()) s = list(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,212,687
s446527980
p04044
u107639613
1599445435
Python
PyPy3 (7.3.0)
py
Accepted
61
62008
222
import sys def input(): return sys.stdin.readline().strip() def main(): N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() print("".join(S)) if __name__ == "__main__": main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,688
s949710449
p04044
u418826171
1599441817
Python
Python (3.8.2)
py
Accepted
28
9120
136
n, l = map(int,input().split()) S = [input() for i in range(n)] ans = '' for i in range(n): ans += S.pop(S.index(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,212,689
s474470687
p04044
u384793271
1599439364
Python
Python (3.8.2)
py
Accepted
30
9176
118
n, l = map(int, input().split()) S = sorted([input() for _ in range(n)]) 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,212,690
s751929756
p04044
u710515311
1599432971
Python
PyPy3 (7.3.0)
py
Accepted
60
62520
187
def solve(): N, L = [int(i) for i in input().split()] S = [] for _ in range(N): S.append(input()) print(''.join(sorted(S))) 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,212,691
s849053305
p04044
u138083942
1599420169
Python
PyPy3 (7.3.0)
py
Accepted
73
61992
374
# row = [int(x) for x in input().rstrip().split(" ")] # n = int(input().rstrip()) # s = input().rstrip() def resolve(): import sys input = sys.stdin.readline n, l = [int(x) for x in input().rstrip().split(" ")] s_list = [input().rstrip() for _ in range(n)] s_list = sorted(s_list) print("".joi...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,692
s761731309
p04044
u892797057
1599358364
Python
PyPy3 (7.3.0)
py
Accepted
70
62360
114
N, L = [int(x) for x in input().split()] S = [] for s in range(N): S.append(input()) print(''.join(sorted(S)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,693
s403441281
p04044
u477320129
1599338300
Python
Python (3.8.2)
py
Accepted
25
9180
616
#!/usr/bin/env python3 import sys def solve(N: int, L: int, S: "List[str]"): return "".join(sorted(S)) # Generated by 1.1.7.1 https://github.com/kyuridenamida/atcoder-tools def main(): def iterate_tokens(): for line in sys.stdin: for word in line.split(): yield word t...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,694
s721907305
p04044
u250734103
1599333985
Python
Python (3.8.2)
py
Accepted
25
9044
120
N, L = map(int, input().split()) S = [0] * N for i in range(N): S[i] = input() 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,212,695
s147045285
p04044
u708211626
1599330557
Python
Python (3.8.2)
py
Accepted
28
9164
106
a,b=map(int,input().split()) c=[] for i in range(a): c.append(input()) 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,212,696
s737486074
p04044
u304612256
1599316909
Python
Python (3.8.2)
py
Accepted
26
9176
162
from sys import stdin input = stdin.readline N, L = map(int, input().split()) D = [] for i in range(N): D.append(input().strip()) D.sort() 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,212,697
s836716139
p04044
u014333473
1599255615
Python
Python (3.8.2)
py
Accepted
30
9092
77
n,l=map(int,input().split());print(*sorted(input() for _ in range(n)),sep='')
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,698
s238246335
p04044
u014333473
1599255576
Python
Python (3.8.2)
py
Accepted
28
9088
79
n,l=map(int,input().split());print(*sorted([input() for _ in range(n)]),sep='')
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,699
s825814893
p04044
u174040991
1599246358
Python
Python (3.8.2)
py
Accepted
32
9160
133
a,b = map(int,input().split()) arr = [] for i in range(a): value = input() arr.append(value) arr = "".join(sorted(arr)) print(arr)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,700
s283410094
p04044
u174040991
1599246270
Python
Python (3.8.2)
py
Accepted
28
9112
168
def test(): a,b = map(int,input().split()) arr = [] for i in range(a): value = input() arr.append(value) arr = "".join(sorted(arr)) print(arr) 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,212,701
s347222763
p04044
u973069173
1599230770
Python
Python (3.8.2)
py
Accepted
26
9164
105
a,b = map(int,input().split()) x = [] for i in range(a): x.append(input()) print("".join(sorted(x)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,702
s151053029
p04044
u397496203
1599185231
Python
PyPy3 (7.3.0)
py
Accepted
77
61968
404
import sys # sys.setrecursionlimit(100000) def input(): return sys.stdin.readline().strip() def input_int(): return int(input()) def input_int_list(): return [int(i) for i in input().split()] def main(): N, L = input_int_list() S = [] for _ in range(N): S.append(input()) 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,212,703
s743316654
p04044
u972658925
1599173683
Python
Python (3.8.2)
py
Accepted
30
9020
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,212,704
s677830890
p04044
u393224521
1599167735
Python
PyPy3 (7.3.0)
py
Accepted
60
61740
147
import sys n,k = map(int, sys.stdin.readline().rstrip("\n").split()) l = [line.rstrip("\n") for line in sys.stdin] l.sort() s = ''.join(l) print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,705
s813753140
p04044
u016843859
1599155175
Python
Python (3.8.2)
py
Accepted
28
9096
137
N,L=map(int,input().split()) S=list() for i in range(N): S.append(input()) S.sort() for i in range(N): print(S[i],end="") print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,706
s285156412
p04044
u583507988
1599147860
Python
Python (3.8.2)
py
Accepted
25
9132
85
n,l=map(int,input().split()) s=[input() for i in range(n)] s.sort() print(*s,sep='')
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,707
s165438526
p04044
u028973125
1599105071
Python
Python (3.8.2)
py
Accepted
30
9112
186
import sys N, L = map(int, sys.stdin.readline().split()) S = [] for _ in range(N): S.append(sys.stdin.readline().strip()) S.sort() ans = "" for s_i in S: 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,212,708
s727075601
p04044
u540762794
1599097038
Python
Python (3.8.2)
py
Accepted
26
9048
163
# -*- coding: utf-8 -*- N, L = map(int, input().split()) S = [] for i in range(N): S.append(input()) S_sorted = sorted(S) ans = "".join(S_sorted) 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,212,709
s280758835
p04044
u074220993
1599083053
Python
Python (3.8.2)
py
Accepted
29
9168
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,212,710
s205288406
p04044
u855057563
1599079145
Python
Python (3.8.2)
py
Accepted
29
9152
87
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,212,711
s842051923
p04044
u855057563
1599079114
Python
Python (3.8.2)
py
Accepted
27
9140
85
n,l=map(int,input().split()) s=[input() for _ in range(n)] s.sort() print(*s,sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,712
s238675568
p04044
u705418271
1599078763
Python
Python (3.8.2)
py
Accepted
24
8940
132
n,l=map(int,input().split()) s=[] for i in range(n): x=input() s.append(x) s.sort() a="" for i in range(n): a+=s[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,212,713
s645711576
p04044
u855057563
1599078030
Python
Python (3.8.2)
py
Accepted
25
9156
99
n,l=map(int,input().split()) s=[input() for _ 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,212,714
s278857931
p04044
u792720861
1599010428
Python
Python (3.8.2)
py
Accepted
26
9000
85
n, l = map(int, input().split()) print(*sorted([input() for i in range(n)]), sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,715
s781927518
p04044
u792720861
1599008078
Python
Python (3.8.2)
py
Accepted
25
9160
84
n, l = map(int, input().split()) print(*sorted([input() for i in range(n)]), sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,212,716