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
s084864203
p04044
u828766688
1563592406
Python
Python (3.4.3)
py
Accepted
17
3060
122
N,L = map(int,input().split()) S = [] for i in range(N): s = input() S.append(s) 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,214,817
s281467231
p04044
u797016134
1563587846
Python
Python (3.4.3)
py
Accepted
17
3060
122
n,l = map(int, input().split()) li = sorted([input() for x in range(n)]) s = "" for i in range(n): s += li[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,214,818
s288492626
p04044
u948524308
1563575827
Python
Python (3.4.3)
py
Accepted
17
3060
122
N,L = map(int,input().split()) S =[input() for i in range(N)] S.sort() A = "" for i in range(N): A = 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,214,819
s168715681
p04044
u129750996
1563506390
Python
Python (3.4.3)
py
Accepted
17
3060
110
N, L = map(int, input().split()) A = map(str,list(input() for _ 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,214,820
s957680073
p04044
u591016708
1563487083
Python
Python (3.4.3)
py
Accepted
17
3060
106
N, L = map(int, input().split()) string = [input() for _ in range(N)] string.sort() print("".join(string))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,821
s898148596
p04044
u087129172
1563438060
Python
Python (3.4.3)
py
Accepted
17
3060
228
# -*- coding: utf-8 -*- number, length = map(int, input().split()) lst = [] for n in range(number): s = input() #print(s) lst.append(s) #print(lst) lst.sort() moji = "" for n in lst: moji += n print(moji)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,822
s630031184
p04044
u256031597
1563417268
Python
Python (3.4.3)
py
Accepted
17
3060
117
N, L = map(int, input().split()) S = [] for i in range(N): s = input() S.append(s) 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,214,823
s589244864
p04044
u480138356
1563374943
Python
Python (3.4.3)
py
Accepted
17
3060
98
N, L = map(int, input().split()) S = [input() for i in range(N)] S = sorted(S) print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,824
s422985574
p04044
u123745130
1563314775
Python
Python (3.4.3)
py
Accepted
18
3060
80
x,y=map(int,input().split()) print("".join(sorted([input() for _ in range(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,214,825
s961104089
p04044
u593938737
1563274520
Python
Python (3.4.3)
py
Accepted
17
3060
196
import sys def main(): N, L = map(int, input().split()) S = [] for i in range(N): S.append(input()) 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,214,826
s928048565
p04044
u800258529
1563250295
Python
Python (3.4.3)
py
Accepted
17
3060
93
n,L=map(int,input().split()) l=sorted([input() for i in range(n)]) for t in l:print(t,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,214,827
s720906321
p04044
u201234972
1563239986
Python
Python (3.4.3)
py
Accepted
17
3060
214
#import sys #input = sys.stdin.readline def main(): N, L = map( int, input().split()) S = [ input() for _ in range(N)] S.sort() V = [1]*N 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,214,828
s432409617
p04044
u282657760
1563239656
Python
Python (3.4.3)
py
Accepted
17
3060
124
N, L = map(int, input().split()) L = [str(input()) for i in range(N)] L.sort() A = str() for word in L: A += word 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,214,829
s426707261
p04044
u169711213
1563227929
Python
Python (3.4.3)
py
Accepted
17
3060
210
ilist = input().split(' ') n = int(ilist[0]) l = int(ilist[1]) strlist = list() for i in range(0,n): strlist.append(input()) strlist.sort() answer = '' for s in strlist: answer = answer + s 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,214,830
s381553826
p04044
u405256066
1563151063
Python
Python (3.4.3)
py
Accepted
19
3316
164
from sys import stdin N,L = [int(x) for x in stdin.readline().rstrip().split()] data = [] for _ in range(N): data.append((input())) print("".join(sorted(data)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,831
s174661687
p04044
u416758623
1563120844
Python
Python (3.4.3)
py
Accepted
17
3060
91
n,l = map(int, input().split()) ls = sorted([input() for i in range(n)]) print(''.join(ls))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,832
s939581727
p04044
u103341055
1563052674
Python
Python (3.4.3)
py
Accepted
17
3060
127
Num = [int(n) for n in input().rstrip().split()] Str = [input().rstrip() for _ in range(Num[0])] print("".join(sorted(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,214,833
s796224514
p04044
u537782349
1562980578
Python
Python (3.4.3)
py
Accepted
17
3060
108
a, b = map(int, input().split()) c = [] for i in range(a): c.append(input()) c.sort() print("".join(c))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,834
s606807143
p04044
u314050667
1562965915
Python
Python (3.4.3)
py
Accepted
17
3060
88
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,214,835
s002763558
p04044
u675073679
1562959724
Python
Python (3.4.3)
py
Accepted
17
3060
82
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,214,836
s572320342
p04044
u239342230
1562911072
Python
Python (3.4.3)
py
Accepted
17
3060
72
print("".join(sorted([input()for _ in range(int(input().split()[0]))])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,837
s335264926
p04044
u239342230
1562910874
Python
Python (3.4.3)
py
Accepted
17
3060
80
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,214,838
s808532744
p04044
u265304824
1562893323
Python
Python (3.4.3)
py
Accepted
17
3060
116
N, L = [int(s) for s in input().split(' ')] S = [input() for i in range(N)] S = ''.join(list(sorted(S))) print(S)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,839
s248379261
p04044
u567434159
1562888702
Python
Python (3.4.3)
py
Accepted
17
3060
84
n, _ = 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,214,840
s969336401
p04044
u680004123
1562862703
Python
Python (3.4.3)
py
Accepted
17
3060
96
n, l = map(int, input().split()) s = [input() for i in range(n)] s = sorted(s) print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,841
s700304265
p04044
u123824541
1562810209
Python
Python (3.4.3)
py
Accepted
18
3060
149
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,214,842
s848169947
p04044
u172873334
1562759987
Python
Python (3.4.3)
py
Accepted
17
3060
115
n, l = map(int, input().split()) s = [input() for _ in range(n)] s.sort() for i in s: print(i, end='') print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,843
s225388726
p04044
u790812284
1562746927
Python
Python (3.4.3)
py
Accepted
18
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,214,844
s379478645
p04044
u292735000
1562717429
Python
Python (3.4.3)
py
Accepted
17
3060
134
n, l = map(int, input().split()) s_list = [input() for i in range(n)] sum_s = '' for s in sorted(s_list): sum_s += s print(sum_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,214,845
s214664383
p04044
u448655578
1562655804
Python
Python (3.4.3)
py
Accepted
17
3060
109
N, L = map(int,input().split()) a = [] for i in range(N): a.append(input()) a = sorted(a) 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,214,846
s491118222
p04044
u576712004
1562628138
Python
Python (3.4.3)
py
Accepted
17
3060
170
def main(): N, L = list(map(int, input().split())) s = [input() for _ in range(N)] s = "".join(sorted(s)) print(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,214,847
s006143813
p04044
u630096262
1562481495
Python
Python (3.4.3)
py
Accepted
17
3060
85
n, l = input().split() s = "".join(sorted([input() for _ in range(int(n))])) print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,848
s247270175
p04044
u413019025
1562471537
Python
Python (3.4.3)
py
Accepted
17
3060
290
#!/usr/bin/env python3 def read_h(typ=int): return list(map(typ, input().split())) def read_v(n, typ=int): return [typ(input()) for _ in range(n)] def main(): n, l = read_h() s = ''.join(sorted(read_v(n, typ=str))) print(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,214,849
s767545779
p04044
u516687307
1562458280
Python
Python (3.4.3)
py
Accepted
18
3060
141
n,l=map(int,input().split()) s=[] for i in range(n): s.append(input()) s.sort() sums='' for i in range(n): sums=sums+s[i] print(sums)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,850
s352763793
p04044
u787456042
1562455033
Python
Python (3.4.3)
py
Accepted
29
3700
163
from operator import add from functools import reduce n, l = list(map(int, input().split())) s = [input() for _ in range(n)] s.sort() ss = reduce(add, s) print(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,214,851
s333141700
p04044
u888512581
1562384385
Python
Python (3.4.3)
py
Accepted
18
3060
189
n, l = (int(x) for x in input().split()) s_list = [] s = '' for i in range(n): s_list.append(input()) for i in range(n): s += s_list.pop(s_list.index(min(x for x in s_list))) 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,214,852
s678341150
p04044
u672475305
1562281618
Python
Python (3.4.3)
py
Accepted
17
3060
123
n,l = map(int,input().split()) lst = [input() for i in range(n)] lst.sort() ans = '' for l in lst: ans += l print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,853
s009095013
p04044
u516811325
1562276638
Python
Python (3.4.3)
py
Accepted
17
3060
158
N, L = [int(i) for i in input().split()] s = [] for i in range(N): s.append(input()) # print(s) s_sort = sorted(s) concat = ''.join(s_sort) print(concat)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,854
s549952116
p04044
u927534107
1562268763
Python
Python (3.4.3)
py
Accepted
19
3064
106
n,l = map(int,input().split()) l=[] for i in range(n):l.append(str(input())) l=sorted(l) print(''.join(l))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,855
s762947138
p04044
u792217717
1562267859
Python
Python (3.4.3)
py
Accepted
17
3060
98
n, l = map(int, input().split(" ")) ss = [input() for i in range(n)] ss.sort() print(''.join(ss))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,856
s248075002
p04044
u093500767
1562259953
Python
Python (3.4.3)
py
Accepted
17
3060
151
N , L= map(int,input().split()) lst = [] for i in range(N): lst.append(input()) lst.sort() Str = '' for j in range(N): Str += lst[j] 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,214,857
s013470351
p04044
u093500767
1562259569
Python
Python (3.4.3)
py
Accepted
19
3316
101
a = list(map(int,input().split())) b = [input() for i in range(a[0])] c = sorted(b) print("".join(c))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,858
s628402783
p04044
u093500767
1562259187
Python
Python (3.4.3)
py
Accepted
19
3316
167
n, l = map(int, input().split()) list = [] for _ in range(n): list.append(input()) list.sort() string = "" for s in list: string += s print("".join(string))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,859
s807884239
p04044
u093500767
1562258975
Python
Python (3.4.3)
py
Accepted
21
3316
149
n, l = map(int, input().split()) list = [] for _ in range(n): list.append(input()) list.sort() str = "" for s in list: str += s print(str)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,860
s560688407
p04044
u539517139
1562254005
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,214,861
s471293819
p04044
u473291366
1562201469
Python
Python (3.4.3)
py
Accepted
17
3064
157
N, L = map(int, input().split()) list = [] for _ in range(N): list.append(input()) list.sort() string = "" for l in list: string += l print(string)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,862
s613647777
p04044
u170077602
1562184142
Python
Python (3.4.3)
py
Accepted
17
3060
184
row = input().split() N = int(row[0]) L = int(row[1]) row2 = [input().split() for i in range(N)] s = [] for i in range(N): s.append(row2[i][0]) 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,214,863
s756435862
p04044
u759412327
1562124258
Python
Python (3.4.3)
py
Accepted
17
3060
102
a = list(map(int,input().split())) b = [input() for i in range(a[0])] c = sorted(b) print("".join(c))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,864
s206137693
p04044
u862296914
1562109552
Python
Python (3.4.3)
py
Accepted
18
3060
122
from sys import stdin N, L = map(int,input().split()) S = sorted([s for s in stdin.read().splitlines()]) 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,214,865
s069999024
p04044
u016622494
1562096394
Python
Python (3.4.3)
py
Accepted
17
3060
152
N , L= map(int,input().split()) lst = [] for i in range(N): lst.append(input()) lst.sort() Str = '' for j in range(N): Str += lst[j] 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,214,866
s565707556
p04044
u016622494
1562096171
Python
Python (3.4.3)
py
Accepted
18
3060
149
N,L=map(int, input().split()) S=[] for i in range(N): S.append(input()) S.sort() result='' for j in range(N): result+=S[j] print(result)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,867
s920792749
p04044
u952467214
1562080779
Python
Python (3.4.3)
py
Accepted
17
3060
125
N, L = list(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,214,868
s193116288
p04044
u265116141
1562077474
Python
Python (3.4.3)
py
Accepted
17
3060
83
n,l=map(int,input().split()) t=sorted([input() for i in range(n)]) print(*t,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,214,869
s259552183
p04044
u982594421
1562041978
Python
Python (3.4.3)
py
Accepted
17
3060
101
n, l = map(int, input().split()) s = [input().rstrip() for _ in range(n)] s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,870
s445929840
p04044
u463655976
1562026133
Python
Python (3.4.3)
py
Accepted
18
3060
85
N, L = map(int, input().split()) print("".join(sorted((input() for _ in range(N)))))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,871
s590504965
p04044
u394794741
1561956920
Python
Python (3.4.3)
py
Accepted
18
3064
353
N,L = map(int,input().split()) Strings = list() for i in range(N): Strings.append(input()) ansString="" for i in range(len(Strings)): for j in range(len(Strings)-1,i,-1): if Strings[j] < Strings[j-1]: Strings[j], Strings[j-1] = Strings[j-1], Strings[j] for k in Strings: 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,214,872
s301252183
p04044
u970449052
1561943933
Python
Python (3.4.3)
py
Accepted
17
3060
92
n,l=map(int,input().split()) sl=[input() for _ in range(n)] sl=sorted(sl) print(''.join(sl))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,873
s917844509
p04044
u116670634
1561938326
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,214,874
s856030396
p04044
u633914031
1561914255
Python
Python (3.4.3)
py
Accepted
18
3060
141
N,L=map(int, input().split()) S=[] for i in range(N): S.append(input()) S.sort() result='' for j in range(N): result+=S[j] print(result)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,875
s341152009
p04044
u334260611
1561838771
Python
Python (3.4.3)
py
Accepted
26
4596
212
N, L = list(map(int, input().split(' '))) #print(N, L) S = [] for i in range(N): S.append(list(input())) #print(S) S.sort() #print(S) for word in S: for char in word: print(char, 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,214,876
s229355747
p04044
u375823148
1561837537
Python
Python (3.4.3)
py
Accepted
17
3060
125
N, L = map(int, input().split()) s = [] for i in range(N): s += [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,214,877
s761755032
p04044
u537976628
1561831184
Python
Python (3.4.3)
py
Accepted
17
3060
123
N, L = map(int, input().split()) S = list(input() for i in range(N)) S.sort() str = "" for i in S: str += i print(str)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,878
s532034645
p04044
u537976628
1561830962
Python
Python (3.4.3)
py
Accepted
23
3060
243
N, L = map(int, input().split()) S = list(input() for i in range(N)) str = "" for i in range(N-1): for j in range(N-1): if S[j+1] + S[j] <= S[j] + S[j+1]: S[j], S[j+1] = S[j+1], S[j] for i in S: str += i print(str)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,879
s232441642
p04044
u513081876
1561823699
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,214,880
s909700663
p04044
u671252250
1561749207
Python
Python (3.4.3)
py
Accepted
17
3060
188
# coding: utf-8 # Your code here! N, L = map(int, input().split()) arr = [input() for i in range(N)] sort_arr = sorted(arr) for i in range(len(sort_arr)): print(sort_arr[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,214,881
s969150092
p04044
u373499377
1561674645
Python
Python (3.4.3)
py
Accepted
18
3060
248
def main(): n, l = map(int, input().split()) words = [input() for i in range(n)] # words = [] # for i in range(n): # words.append(input()) words.sort() print(''.join(words)) 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,214,882
s762151112
p04044
u373499377
1561674470
Python
Python (3.4.3)
py
Accepted
20
3064
202
def main(): n, l = map(int, input().split()) words = [] for i in range(n): words.append(input()) words.sort() print(''.join(words)) 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,214,883
s359101630
p04044
u905268546
1561555329
Python
Python (3.4.3)
py
Accepted
17
3060
92
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,884
s114066811
p04044
u293523199
1561507677
Python
Python (3.4.3)
py
Accepted
17
3060
94
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,214,885
s255634973
p04044
u714300041
1561485694
Python
Python (3.4.3)
py
Accepted
17
3060
108
N, L = map(int, input().split()) S = [] for _ 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,214,886
s892471225
p04044
u723590269
1561481219
Python
Python (3.4.3)
py
Accepted
17
3060
151
n,l = map(int,input().split()) s = ["" for i in range(n)] for i in range(n): s[i] = input() s.sort() a ="" for i in s: a += i print(a)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,887
s606801588
p04044
u471212175
1561439989
Python
Python (3.4.3)
py
Accepted
17
3060
135
N,L = map(int,input().split()) S = [input() for i in range(N)] S = sorted(S) str = '' for i in range(N): 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,214,888
s565601045
p04044
u290211456
1561362224
Python
Python (3.4.3)
py
Accepted
18
3060
110
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,214,889
s116168848
p04044
u827141374
1561337209
Python
Python (3.4.3)
py
Accepted
17
3060
122
n, l = [int(x) for x in input().split()] s = [0] * 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,214,890
s700856194
p04044
u450339194
1561273802
Python
Python (3.4.3)
py
Accepted
18
3060
205
nl = lambda: list(map(int, input().split())) sl = lambda: input().split() n = lambda: int(input()) s = lambda: input() N, L = nl() Ss = [] for i in range(N): Ss.append(s()) print(''.join(sorted(Ss)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,891
s094679998
p04044
u059210959
1561179878
Python
Python (3.4.3)
py
Accepted
59
6604
790
# encoding:utf-8 import copy import random import bisect #bisect_left これで二部探索の大小検索が行える import fractions #最小公倍数などはこっち import math import sys mod = 10**9+7 sys.setrecursionlimit(mod) # 再帰回数上限はでdefault1000 def LI(): return list(map(int, sys.stdin.readline().split())) def LLI(): return [list(map(int, l.split())) for l 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,214,892
s084763881
p04044
u970308980
1561173547
Python
Python (3.4.3)
py
Accepted
17
3060
160
def abc(): n, l = map(int, input().split()) s = [] for i in range(n): s.append(input().rstrip()) s.sort() print(''.join(s)) abc()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,893
s103548902
p04044
u775742948
1561158715
Python
Python (3.4.3)
py
Accepted
17
3060
139
n, l = map(int, input().strip().split()) s_list = [input() for _ in range(n)] s_list.sort() for s in s_list: 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,214,894
s784276325
p04044
u243699903
1561151860
Python
Python (3.4.3)
py
Accepted
17
3060
131
n, l = map(int, input().split()) s_list = [input() for _ in range(n)] s_list.sort() for s in s_list: 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,214,895
s407173672
p04044
u334222621
1561148878
Python
Python (3.4.3)
py
Accepted
18
3060
163
N, L=map(int, input().split()) lst = [] ans = "" for i in range(N): lst.append(input()) lst.sort() for i in range(len(lst)): ans += lst[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,214,896
s443942758
p04044
u015316911
1561143467
Python
Python (3.4.3)
py
Accepted
17
3060
148
N, L = list(map(int, input().split())) S = [] for i in range(N): S.append(input()) S.sort() S2 = "" for item in S: S2 += item print(S2)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,897
s311983357
p04044
u494927057
1561087214
Python
Python (3.4.3)
py
Accepted
17
3060
111
N, L = map(int, input().split()) S_list = list(input() for i in range(N)) S_list.sort() print(''.join(S_list))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,898
s920092180
p04044
u494927057
1561083594
Python
Python (3.4.3)
py
Accepted
17
3060
140
N, L = map(int, input().split()) S_list = list(input() for i in range(N)) S_list.sort() ans = '' for s in S_list: 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,214,899
s390953746
p04044
u534308356
1561046157
Python
Python (3.4.3)
py
Accepted
17
3060
178
# B - 文字列大好きいろはちゃんイージー / Iroha Loves Strings (ABC Edition) 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,214,900
s488603751
p04044
u623687794
1560963145
Python
Python (3.4.3)
py
Accepted
20
3060
198
n,l=map(int,input().split()) words=[] for i in range(n): words.append(input()) for i in range(l-1,-1,-1): words.sort(key=lambda x:ord(x[i])) ans="" for i in range(n): ans+=words[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,214,901
s481920769
p04044
u497046426
1560910179
Python
Python (3.4.3)
py
Accepted
18
3060
90
N, L = map(int, input().split()) S = sorted([input() for _ in range(N)]) print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,902
s669172888
p04044
u663014688
1560898742
Python
Python (3.4.3)
py
Accepted
17
3060
143
N,L = map(int, input().split()) S = [input() for _ in range(N)] S = sorted(S) string = '' for i in range(N): string += S[i] print(string)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,903
s776253590
p04044
u170650966
1560825454
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(''.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,214,904
s271851924
p04044
u648452607
1560800185
Python
Python (3.4.3)
py
Accepted
17
3060
110
[n,l]=[int(_) for _ in 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,214,905
s217224246
p04044
u580904613
1560688528
Python
Python (3.4.3)
py
Accepted
17
3060
138
n, l = map(int, input().split()) strings = [input() for _ in range(n)] strings.sort() s = '' for i in range(n): s += strings[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,214,906
s079029955
p04044
u671455949
1560646962
Python
Python (3.4.3)
py
Accepted
20
3060
140
n, l = map(int, input().split()) s = [] for i in range(n): s.append(input()) s.sort() ans = "" for word in s: ans += word print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,907
s989018457
p04044
u245870380
1560632127
Python
Python (3.4.3)
py
Accepted
17
3060
108
N, L = map(int,input().split()) S = list(input() for _ in range(N)) for i in sorted(S): print(i,end="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,908
s204649663
p04044
u430223993
1560619451
Python
Python (3.4.3)
py
Accepted
17
3060
105
n, l = map(int, input().split()) s = [input() for _ in range(n)] for i in sorted(s): print(i, end='')
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,909
s172062363
p04044
u073549161
1560614507
Python
Python (3.4.3)
py
Accepted
17
3060
133
n, l = map(int, input().split()) dat_s = [] for i in range(n): s = input() dat_s.append(s) dat_s.sort() print("".join(dat_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,214,910
s883072364
p04044
u469063372
1560602366
Python
Python (3.4.3)
py
Accepted
17
3060
123
n, l = map(int, input().split()) sList = [] for i in range(n): sList.append(input()) sList.sort() print(''.join(sList))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,911
s316079377
p04044
u701318346
1560432047
Python
Python (3.4.3)
py
Accepted
17
3060
92
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,912
s310060129
p04044
u744563031
1560404540
Python
Python (3.4.3)
py
Accepted
17
3060
80
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,214,913
s243105295
p04044
u259861571
1560393594
Python
Python (3.4.3)
py
Accepted
17
3060
151
n, l = [int(i) for i in input().split()] lst = [] for i in range(n): lst.append(input()) lst.sort() ans = "" for i in lst: 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,214,914
s611078617
p04044
u181126404
1560375223
Python
Python (3.4.3)
py
Accepted
17
3060
94
n, l =list(map(int,input().split())) a = [input() for i in range(n)] a.sort() print(*a,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,214,915
s365021331
p04044
u696048490
1560368281
Python
Python (3.4.3)
py
Accepted
17
3060
126
n,l = map(int,input().split()) s = [] for i in range(n): w = input() s.append(w) for i in sorted(s): print(i, end='')
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,214,916