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
s669830517
p04044
u057964173
1588958307
Python
Python (3.4.3)
py
Accepted
17
3060
188
import sys def input(): return sys.stdin.readline().strip() def resolve(): n,l=map(int, input().split()) l=[input() for i in range(n)] l.sort() print(''.join(l)) resolve()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,317
s157277391
p04044
u701077471
1588951557
Python
Python (3.4.3)
py
Accepted
18
3060
158
n, l = (int(x) for x in input().split()) apple = [] for _ in range(n): s = str(input()) apple.append(s) orange = sorted(apple) print("".join(orange))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,318
s666973903
p04044
u321035578
1588940649
Python
Python (3.4.3)
py
Accepted
17
3060
155
n,m = map(int,input().split()) s = [] for i in range(n): ss = input() s.append(ss) s.sort() ans = '' for i, ss in enumerate(s): ans += ss 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,319
s250498142
p04044
u408958033
1588927670
Python
Python (3.4.3)
py
Accepted
18
3060
122
n,m = map(int,input().split()) l = [] for _ in range(n): l.append(input()) l.sort() s = "" for i in l: s += i print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,320
s928412952
p04044
u444722572
1588908511
Python
Python (3.4.3)
py
Accepted
17
3060
125
N,L=map(int,input().split()) S=[] for _ in range(N): S.append(input()) S.sort() for i in range(N): print(S[i],end="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,321
s971677550
p04044
u612223903
1588885307
Python
Python (3.4.3)
py
Accepted
17
3060
105
N,L = map(int,input().split()) s = [] for i in range(N): s.append(input()) s.sort() print(*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,322
s641097779
p04044
u329565519
1588878754
Python
Python (3.4.3)
py
Accepted
20
3060
114
N, L = map(int, input().split()) S = [None] * N for i in range(N): S[i] = 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,323
s587332743
p04044
u470497486
1588877243
Python
Python (3.4.3)
py
Accepted
17
3060
226
# -*- coding: utf-8 -*- # 1行目 N,L = map(int,input().split()) mylist = [] for i in range(N): val = input() if val: mylist.append(val) else: break s = "" mylist.sort() for a in mylist: s += a 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,324
s115128283
p04044
u339503988
1588865407
Python
Python (3.4.3)
py
Accepted
18
3060
84
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,325
s069473391
p04044
u737718679
1588859903
Python
Python (3.4.3)
py
Accepted
17
3060
136
N,L=map(int,input().split()) S=[] for i in range(N): S.append(input()) S.sort() str='' for i in range(N): str=str+S[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,326
s328914708
p04044
u124212130
1588824783
Python
Python (3.4.3)
py
Accepted
18
3060
157
N, M = map(int, input().split()) Mylist = [] for i in range(N): S = input() Mylist.append(S) ANSlist = sorted(Mylist) ANS = ''.join(ANSlist) 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,327
s017752080
p04044
u914797917
1588815616
Python
Python (3.4.3)
py
Accepted
17
3060
115
N,L=map(int, input().split()) S=[input() for i in range(N)] S=sorted(S) c='' for i in range(N): c+=S[i] print(c)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,328
s253820178
p04044
u119478372
1588812012
Python
Python (3.4.3)
py
Accepted
17
3060
90
N, L = map(int, input().split()) S = [input() for _ in range(N)] print("".join(sorted(S)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,329
s572354384
p04044
u318946509
1588807360
Python
Python (3.4.3)
py
Accepted
17
3060
87
a, b = map(int, input().split()) s=sorted([input() for i in range(a)]) 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,330
s972996116
p04044
u927870520
1588798889
Python
Python (3.4.3)
py
Accepted
17
3060
99
n,l=list(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,331
s234504865
p04044
u483748949
1588798620
Python
Python (3.4.3)
py
Accepted
17
3060
113
N, L = list(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,332
s005142397
p04044
u453642820
1588795773
Python
Python (3.4.3)
py
Accepted
18
3060
88
n,l = map(int, input().split()) s = sorted([input() for i in range(n)]) print(*s,sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,333
s920781463
p04044
u207241407
1588791869
Python
Python (3.4.3)
py
Accepted
19
3060
92
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,334
s056370235
p04044
u821588465
1588789675
Python
Python (3.4.3)
py
Accepted
18
3060
90
n, l = map(int, input().split()) s = [input() for i in range(n)] print(*sorted(s), sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,335
s647537565
p04044
u593401678
1588734711
Python
Python (3.4.3)
py
Accepted
17
3060
173
def constructString(strs): return "".join(sorted(strs)) strs = [] n, l = map(int, input().split()) for _ in range(n): strs.append(input()) print(constructString(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,213,336
s522195046
p04044
u730257868
1588734182
Python
Python (3.4.3)
py
Accepted
19
3064
323
n, l = map(int, input().split()) i = 0 s = list() while i<n: s.append(str(input())) i+=1 i=0 while i<n: w = "z"*l j = 0 while j < n: if s[j] <w: x = j w = s[j] j+=1 if i == 0: ans = w else: ans += w s[x] = "z"*l i += 1 print(an...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,337
s680942131
p04044
u246661425
1588725161
Python
Python (3.4.3)
py
Accepted
18
3060
126
n, l = map(int, input().split()) lists = sorted([input() for _ in range(n)]) word = "" for i in lists: word += i print(word)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,338
s694333279
p04044
u029000441
1588715892
Python
Python (3.4.3)
py
Accepted
22
3316
815
import sys input = sys.stdin.readline sys.setrecursionlimit(10**7) from collections import Counter, deque from collections import defaultdict from itertools import combinations, permutations, accumulate, groupby, product from bisect import bisect_left,bisect_right from heapq import heapify, heappop, heappush from math ...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,339
s927455963
p04044
u551109821
1588714412
Python
Python (3.4.3)
py
Accepted
17
3060
89
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,340
s296647109
p04044
u301679431
1588711245
Python
Python (3.4.3)
py
Accepted
17
3060
84
N,L=map(int, input().split()) S=[input()for i in range(N)] print(''.join(sorted(S)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,341
s761515684
p04044
u943057856
1588706183
Python
Python (3.4.3)
py
Accepted
17
3060
84
n,l=map(int,input().split()) s=sorted([input() for i in range(n)]) print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,342
s181840247
p04044
u653883313
1588705887
Python
Python (3.4.3)
py
Accepted
17
3060
90
n, l = map(int, input().split()) s = sorted([input() for i in range(n)]) print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,343
s429463645
p04044
u113750443
1588691327
Python
Python (3.4.3)
py
Accepted
17
3060
185
def nyu(): H,W = map(int,input().split()) S = [input() for _ in range(H)] S.sort() return S S = nyu() ans ="" for s in range(len(S)): ans += S[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,344
s831905640
p04044
u091489347
1588664798
Python
Python (3.4.3)
py
Accepted
19
3060
113
n, le = map(int, input().split()) s = [] for i in range(n): s += [input()] s.sort() s = ''.join(s) print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,345
s421563968
p04044
u085334230
1588652350
Python
Python (3.4.3)
py
Accepted
17
3060
90
N, L = map(int, input().split()) S = [input() for i in range(N)] print(''.join(sorted(S)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,346
s729892785
p04044
u344813796
1588648319
Python
Python (3.4.3)
py
Accepted
17
3060
103
n,l=map(int, input().split()) #a1 a2 a3 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,347
s933122284
p04044
u912652535
1588633889
Python
Python (3.4.3)
py
Accepted
17
3060
96
n, l = map(int,input().split()) s = [input() for _ in range(n)] i = sorted(s) print(''.join(i))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,348
s897056280
p04044
u318127926
1588618764
Python
Python (3.4.3)
py
Accepted
17
3060
130
n, l = map(int, input().split()) s = [] for _ in range(n): s.append(input()) s.sort() for i in s: print(i, end='') print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,349
s944928391
p04044
u276204978
1588614634
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,350
s194602373
p04044
u774598729
1588614081
Python
Python (3.4.3)
py
Accepted
17
3060
49
print(*sorted(open(0).read().split()[2:]),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,351
s577702222
p04044
u188827677
1588612205
Python
Python (3.4.3)
py
Accepted
17
3060
89
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,352
s820453244
p04044
u277641173
1588607222
Python
Python (3.4.3)
py
Accepted
18
3060
105
n,l=map(int,input().split()) s=[] for i in range(n): s.append(input()) s.sort() kk="" print(kk.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,353
s602601252
p04044
u712445873
1588605371
Python
Python (3.4.3)
py
Accepted
18
3060
138
N, L = map(int, input().split()) words =[] t = "" for _ in range(N): words.append(input()) for i in sorted(words): t += i print(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,213,354
s820118705
p04044
u846226907
1588578527
Python
Python (3.4.3)
py
Accepted
17
3060
205
import sys input = sys.stdin.readline MOD = 1000000007 N,L = map(int,input().split()) S = [] for _ in range(N): S.append(input()[:-1]) 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,213,355
s902186304
p04044
u962170423
1588558504
Python
Python (3.4.3)
py
Accepted
17
3060
172
n , m = map(int,input().split()) mojiretsu ='' str_list = [input() for _ in range(n)] str_listss = sorted(str_list) for i in str_listss: mojiretsu += i print(mojiretsu)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,356
s535660481
p04044
u614181788
1588553036
Python
Python (3.4.3)
py
Accepted
18
3060
153
n,l = map(int,input().split()) s = [0]*n for i in range(n): s[i] = input() s = sorted(s) ans = [] 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,213,357
s398079802
p04044
u702208001
1588552280
Python
Python (3.4.3)
py
Accepted
17
3060
99
n, l = [int(a) for a in 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,358
s875133278
p04044
u197300260
1588547106
Python
Python (3.4.3)
py
Accepted
17
3064
778
# Problem: https://atcoder.jp/contests/abc042/tasks/abc042_b # Python 3rd Try import sys # from collections import defaultdict # import heapq,copy # from collections import deque def II(): return int(sys.stdin.readline()) def MI(): return map(int, sys.stdin.readline().split()) def LI(): return list(map(int, sys....
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,359
s786083329
p04044
u106797249
1588542996
Python
Python (3.4.3)
py
Accepted
17
3060
167
def resolve(): N, L = list(map(int, input().split())) S = sorted([input() for i in range(N)]) print("".join(S)) if '__main__' == __name__: resolve()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,360
s977016164
p04044
u589047182
1588539958
Python
Python (3.4.3)
py
Accepted
18
3060
168
N, L = map(int,input().split()) list_S = [] for i in range(N): S = input() list_S.append(S) sorted_list_S = sorted(list_S) ans = ''.join(sorted_list_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,361
s334436252
p04044
u082945913
1588539144
Python
Python (3.4.3)
py
Accepted
17
3064
133
mNL = map(int, input().split()) lNL = list(mNL) lStr = [input() for i in range(lNL[0])] lStr.sort() ans = ''.join(lStr) 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,362
s011648934
p04044
u131264627
1588535659
Python
Python (3.4.3)
py
Accepted
18
3068
98
n, l = map(int, input().split()) sss = [input() for _ in range(n)] sss.sort() print(''.join(sss))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,363
s286207180
p04044
u260764792
1588530946
Python
Python (3.4.3)
py
Accepted
17
3060
85
n,l=map(int,input().split()) s=[input() for i in range(n)] s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,364
s632357609
p04044
u006880673
1588479200
Python
Python (3.4.3)
py
Accepted
18
3064
121
n, l = map(int, input().split()) s = [input() for _ in range(n)] 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,213,365
s913015936
p04044
u535423069
1588465040
Python
Python (3.4.3)
py
Accepted
18
3064
657
import sys stdin = sys.stdin inf = 1 << 60 mod = 1000000007 ni = lambda: int(ns()) nin = lambda y: [ni() for _ in range(y)] na = lambda: list(map(int, stdin.readline().split())) nan = lambda y: [na() for _ in range(y)] nf = lambda: float(ns()) nfn = lambda y: [nf() for _ in range(y)] nfa ...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,366
s199223828
p04044
u428891594
1588456411
Python
Python (3.4.3)
py
Accepted
17
3060
173
#!/usr/bin/env python3 def main(): *N, = map(str, open(0).read().split()) S = N[2:] L = int(N[1]) N = int(N[0]) S.sort() print(''.join(S)) 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,367
s171258851
p04044
u638902622
1588455653
Python
Python (3.4.3)
py
Accepted
22
3316
1,586
import sys ## io ## def IS(): return sys.stdin.readline().rstrip() def II(): return int(IS()) def MII(): return list(map(int, IS().split())) def MIIZ(): return list(map(lambda x: x-1, MII())) ## dp ## def DD2(d1,d2,init=0): return [[init]*d2 for _ in range(d1)] def DD3(d1,d2,d3,init=0): return [DD2(d2,d3,init) for _ in...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,368
s706870408
p04044
u922851354
1588454945
Python
Python (3.4.3)
py
Accepted
17
3060
131
n, l=map(int, input().split()) s=[] for i in range(n): s_tmp=input() s.append(s_tmp) s.sort() res=''.join(s) print(res)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,369
s622880411
p04044
u205046116
1588425439
Python
Python (3.4.3)
py
Accepted
17
3060
92
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,370
s609356546
p04044
u459150945
1588393044
Python
Python (3.4.3)
py
Accepted
17
3060
122
N, L = map(int, input().split()) sn = [input() for _ in range(N)] sn.sort() ans = '' for s in sn: 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,371
s710489145
p04044
u380534719
1588369593
Python
Python (3.4.3)
py
Accepted
17
3060
90
n,l = map(int, input().split()) s = sorted([input() for i in range(n)]) print(*s, sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,372
s056640274
p04044
u449514925
1588343119
Python
Python (3.4.3)
py
Accepted
18
3060
292
# -*- coding: utf-8 -*- # スペース区切りの整数の入力 N, L = map(int, input().split()) # 文字列の入力 #s = input() #print(s[0:K-1]+s[K-1].lower()+s[K:N]) list = [] for i in range(N): s = input() list.append(s) list = sorted(list) ans = "".join(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,213,373
s272273351
p04044
u691896522
1588296824
Python
Python (3.4.3)
py
Accepted
18
3060
129
n,l = map(int, input().split()) data = [] for i in range(n): data.append(input()) data.sort() for i in data: 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,374
s474893695
p04044
u272522520
1588279755
Python
Python (3.4.3)
py
Accepted
18
3060
129
N,L = map(int, input().split()) s = [input() for i in range(N)] s.sort() S = "" for i in range(N): S = S + s[i] print(S)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,375
s132647828
p04044
u681323954
1588251500
Python
Python (3.4.3)
py
Accepted
17
3060
89
n,l = map(int, input().split()) s = sorted([input() for i in range(n)]) print(*s, sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,376
s342871886
p04044
u431068320
1588249348
Python
Python (3.4.3)
py
Accepted
17
3060
188
if __name__ == '__main__': n, l = map(int, input().split()) lst = [] for i in range(n): lst.append(input()) lst.sort() for s in lst: print(s,end="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,377
s168010575
p04044
u190079347
1588220603
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,378
s609782028
p04044
u767821815
1588217472
Python
Python (3.4.3)
py
Accepted
17
3060
166
N,L = map(int,input().split()) words = [] for _ in range(N): words.append(input()) sor_words =sorted(words) for i in range(N): print(sor_words[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,379
s358687925
p04044
u969850098
1588205196
Python
Python (3.4.3)
py
Accepted
17
3060
224
import sys readline = sys.stdin.readline def main(): N, L = map(int, readline().rstrip().split()) S = [readline().rstrip() for _ in range(N)] S.sort() print(*S, sep='') 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,380
s102001835
p04044
u681323954
1588200489
Python
Python (3.4.3)
py
Accepted
17
3060
84
n,l=map(int,input().split()) s=sorted([input() for i in range(n)]) print(*s,sep="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,381
s966315727
p04044
u681323954
1588200280
Python
Python (3.4.3)
py
Accepted
17
3060
84
n,l=map(int,input().split()) s=sorted([input() for i in range(n)]) print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,382
s927224417
p04044
u726872801
1588191989
Python
Python (3.4.3)
py
Accepted
24
3572
338
import sys import heapq, math from itertools import zip_longest, permutations, combinations, combinations_with_replacement from itertools import accumulate, dropwhile, takewhile, groupby from functools import lru_cache from copy import deepcopy N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() ...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,383
s674616407
p04044
u320763652
1588190887
Python
Python (3.4.3)
py
Accepted
18
3060
183
n,l = map(int, input().split()) input_list=[] for i in range(n): input_list.append(input()) input_list.sort() out ='' for i in range(n): out += input_list[i] print(out)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,384
s886877067
p04044
u417959834
1588189400
Python
Python (3.4.3)
py
Accepted
18
3060
193
#! python3 def main(): n, l = map(int, input().split()) slist = [] for i in range(n): s = input() slist.append(s) slist.sort() print("".join(slist)) 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,385
s704371344
p04044
u821775079
1588180398
Python
Python (3.4.3)
py
Accepted
18
3060
86
N,L=map(int,input().split()) s=[input() for i in range(N)] s.sort() print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,386
s890631324
p04044
u197300260
1588178512
Python
Python (3.4.3)
py
Accepted
17
3064
863
# Problem: https://atcoder.jp/contests/abc042/tasks/abc042_b # Python 2nd Try import sys # from collections import defaultdict # import heapq,copy # from collections import deque def II(): return int(sys.stdin.readline()) def MI(): return map(int, sys.stdin.readline().split()) def LI(): return list(map(str, sys....
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,387
s789655314
p04044
u121698457
1588119629
Python
Python (3.4.3)
py
Accepted
18
3060
121
N, L = map(int,input().split()) S = [input() for i in range(N)] S.sort() r = "" for x in range(N): r += S[x] print(r)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,388
s381161728
p04044
u770077083
1588119611
Python
Python (3.4.3)
py
Accepted
18
3060
84
n, l = map(int, input().split()) print("".join(sorted([input() for _ in range(n)])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,389
s321799884
p04044
u185393907
1588119403
Python
Python (3.4.3)
py
Accepted
17
3060
123
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,390
s205856610
p04044
u197300260
1588112817
Python
Python (3.4.3)
py
Accepted
17
3064
757
# Problem: https://atcoder.jp/contests/abc042/tasks/abc042_b # Python 1st Try import sys # from collections import defaultdict # import heapq,copy # from collections import deque def II(): return int(sys.stdin.readline()) def MI(): return map(int, sys.stdin.readline().split()) def LI(): return list(map(int, sys....
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,391
s134626195
p04044
u352402050
1588110441
Python
Python (3.4.3)
py
Accepted
17
3060
92
N, L = map(int, input().split()) S = [input() for i in range(N)] S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,392
s672251797
p04044
u126844573
1588110200
Python
Python (3.4.3)
py
Accepted
18
3060
85
n, _ = 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,213,393
s504073287
p04044
u266569040
1588099380
Python
Python (3.4.3)
py
Accepted
18
3060
94
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,394
s185759576
p04044
u188745744
1588094259
Python
Python (3.4.3)
py
Accepted
18
3060
123
N,L = list(map(int,input().split())) listA = [] for i in range(N):listA.append(input()) listA.sort() print("".join(listA))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,395
s377354642
p04044
u263933075
1588086141
Python
Python (3.4.3)
py
Accepted
17
3060
106
a=list(map(int,input().split())) b=[] for i in range(a[0]): b.append(input()) b.sort() 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,213,396
s904629378
p04044
u641722141
1588058810
Python
Python (3.4.3)
py
Accepted
17
3060
107
n, l=map(int,input().split()) s = [] for i in range(n): s += [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,397
s553814328
p04044
u752898745
1588054196
Python
Python (3.4.3)
py
Accepted
17
3060
84
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,398
s543372526
p04044
u502731482
1588041810
Python
Python (3.4.3)
py
Accepted
17
3060
152
n, l = map(int, input().split()) s = [""] * n ans = "" for i in range(n): s[i] = input() s = sorted(s) 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,399
s064920752
p04044
u624613992
1588041562
Python
Python (3.4.3)
py
Accepted
17
3060
89
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,400
s918351646
p04044
u095094246
1588040420
Python
Python (3.4.3)
py
Accepted
17
3064
125
n,l=map(int,input().split()) s=[] for i in range(n): s.append(input()) s=sorted(s) 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,401
s169128770
p04044
u309716323
1588031731
Python
Python (3.4.3)
py
Accepted
18
3060
309
def read_int(): return int(input().strip()) def read_ints(): return list(map(int, input().strip().split(' '))) def solve(): N, L = read_ints() S = [] for _ in range(N): S.append(input().strip()) S.sort() return ''.join(S) if __name__ == '__main__': print(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,402
s069985702
p04044
u103178403
1588018609
Python
Python (3.4.3)
py
Accepted
18
3060
79
n,l=map(int,input().split()) print("".join(sorted([input()for i in range(n)])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,403
s115951033
p04044
u199459731
1588007075
Python
Python (3.4.3)
py
Accepted
18
3060
194
number, length = map(int, input().split()) dict_list = [] for i in range(number): dict_list.append(input()) new_dict_list = sorted(dict_list) answer = ''.join(new_dict_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,404
s565257671
p04044
u487594898
1588002644
Python
Python (3.4.3)
py
Accepted
17
3060
87
n,l = map(int,input().split()) A =[input() for _ in range(n)] 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,405
s433882028
p04044
u193264896
1588000430
Python
Python (3.4.3)
py
Accepted
17
3064
421
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines sys.setrecursionlimit(10 ** 8) INF = float('inf') MOD = 10 ** 9 + 7 def main(): N, L = map(int, readline().split()) S = [] for _ in range(N): S.append(input()) S.sort() 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,406
s444792281
p04044
u277312083
1587999904
Python
Python (3.4.3)
py
Accepted
17
3060
116
n, l = map(int, input().split()) S = sorted([input() for _ in range(n)]) for s in S: print(s, 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,407
s491637071
p04044
u214462690
1587996891
Python
Python (3.4.3)
py
Accepted
17
3060
237
# coding: utf-8 # Your code here! input_line = input().split() vertical = int(input_line[0]) row = int(input_line[1]) line = list() for i in range(vertical): line.append(input()) line.sort() for i in line: 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,408
s289922544
p04044
u940533000
1587954449
Python
Python (3.4.3)
py
Accepted
18
3060
164
N, L = map(int, input().split()) S = [] for i in range(N): S.append(input()) #print(S) S = sorted(S) out = '' for i in range(len(S)): out += S[i] print(out)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,409
s225471239
p04044
u236317938
1587943664
Python
Python (3.4.3)
py
Accepted
20
3060
260
N, L = tuple(map(int, input().split())) lis = [] for n in range(N): lis.append(input()) j = n if not n == 0: while lis[j-1]>lis[j] and j>0: lis[j-1:j+1] = [lis[j], lis[j-1]] j -= 1 ans = '' for e in lis: 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,410
s600645299
p04044
u047485390
1587936911
Python
Python (3.4.3)
py
Accepted
17
3060
124
n = [int(tmp) for tmp in input().split()] a = [] for i in range(n[0]) : s = input() a.append(s) 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,411
s804861373
p04044
u047485390
1587936653
Python
Python (3.4.3)
py
Accepted
17
3060
124
n = [int(tmp) for tmp in input().split()] a = [] for i in range(n[0]) : s = input() a.append(s) 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,412
s704835747
p04044
u549161102
1587933428
Python
Python (3.4.3)
py
Accepted
18
3060
140
N,L = map(int, input().split()) S = [] for i in range(N): S.append(input()) S.sort() ans = '' for i in range(N): ans += S[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,413
s565953807
p04044
u816265237
1587932613
Python
Python (3.4.3)
py
Accepted
17
3060
152
line =input().split(' ') ln = [] for i in range(int(line[0])): ln.append(input()) outline= '' for i in sorted(ln): outline += i print (outline)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,414
s858036092
p04044
u934442292
1587921185
Python
Python (3.4.3)
py
Accepted
17
3060
259
import sys input = sys.stdin.readline def main(): N, L = map(int, input().split()) S = [None] * N for i in range(N): S[i] = input().rstrip() S = sorted(S) 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,213,415
s790208283
p04044
u486814557
1587886720
Python
Python (3.4.3)
py
Accepted
17
3060
150
H, W = map(int, input().split()) S = [] for _ in range(H): S.append(input()) S.sort() str1='' for i in range (H): str1=str1+S[i] print(str1)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,213,416