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
s565180916
p04044
u558836062
1514064277
Python
Python (3.4.3)
py
Accepted
17
3060
123
N,L = map(int,input().split()) lis = [] for i in range(N): a = input() lis.append(a) lis.sort() print(''.join(lis))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,617
s604406993
p04044
u783255320
1513957744
Python
Python (2.7.6)
py
Accepted
17
3076
162
ri=(raw_input()).split(" ") n=int(ri[0]) l=int(ri[1]) s=[""]*n for i in range(n): s[i]=raw_input() s=sorted(s) r="" for i in range(n): r+=s[i] 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,215,618
s225345622
p04044
u667024514
1513896749
Python
Python (3.4.3)
py
Accepted
17
3060
91
N, L = map(int, input().split()) S = [input() for _ in range(N)] print("".join(sorted(S)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,619
s887318976
p04044
u825528847
1513887064
Python
Python (3.4.3)
py
Accepted
17
3060
91
N, L = map(int, input().split()) S = [input() for _ in range(N)] print("".join(sorted(S)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,620
s506567354
p04044
u482969053
1513480366
Python
Python (3.4.3)
py
Accepted
17
3060
233
def solve(): N, L = list(map(int, input().split())) S_list = [] ans = "" for i in range(N): S_list.append(input()) S_list = sorted(S_list) for str in S_list: ans += str print(ans) 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,215,621
s077656445
p04044
u813450984
1511545797
Python
Python (3.4.3)
py
Accepted
18
3060
108
n, l = map(int, input().split()) li = [] for i in range(n): li.append(input()) print("".join(sorted(li)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,622
s576326414
p04044
u743272507
1510262588
Python
Python (3.4.3)
py
Accepted
17
3064
89
n,l = map(int,input().split()) s = sorted([input() for _ in range(n)]) print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,623
s107337571
p04044
u252745826
1508452778
Python
Python (3.4.3)
py
Accepted
18
3060
146
n, l = list(map(int, input().split(" "))) ss = [] for i in range(n): ss.append(input()) ans = "" for i in sorted(ss): ans += i print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,624
s225148256
p04044
u425351967
1508337195
Python
Python (3.4.3)
py
Accepted
17
3060
114
N, L = [int(n) for n 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,215,625
s687268851
p04044
u190405389
1507861923
Python
Python (3.4.3)
py
Accepted
18
3060
93
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,215,626
s881521402
p04044
u055459962
1507757182
Python
Python (3.4.3)
py
Accepted
44
4336
457
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """042-b""" from queue import PriorityQueue import sys def main(): """Main function.""" pq = PriorityQueue() N, L = map(int, sys.stdin.readline().split(' ')) for l in range(N): pq.put(sys.stdin.readline()[:-1]) while True: sys.std...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,627
s340755308
p04044
u254456372
1507757011
Python
Python (3.4.3)
py
Accepted
19
3060
209
#!/usr/bin/env python3 # -*- coding: utf-8 -*- def main(): N, L = map(int, input().split()) SS = [input() for _ in range(N)] SS.sort() print("".join(SS)) if __name__ == "__main__": main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,628
s174883181
p04044
u663710122
1506621490
Python
Python (3.4.3)
py
Accepted
17
3060
106
N, L = map(int, input().split()) S = [] for _ in range(N): S.append(input()) print(''.join(sorted(S)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,629
s667970795
p04044
u772180901
1506358614
Python
Python (3.4.3)
py
Accepted
17
3060
105
n,l = map(int,input().split()) arr = [] arr = [input() for i in range(n)] arr.sort() print("".join(arr))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,630
s706161052
p04044
u584563392
1506264908
Python
Python (3.4.3)
py
Accepted
17
3060
143
nyuuryoku_num , _ = [int(i) for i in input().split()] test_lists = [input() for i in range(nyuuryoku_num)] print("".join(sorted(test_lists)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,631
s358023886
p04044
u909643606
1505945754
Python
Python (3.4.3)
py
Accepted
17
3060
142
a,b=(int(i) for i in input().split()) c=[] for i in range(a): c.append(input()) c.sort() d="" for i in range(a): d=d+c[i][0:b] print(d)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,632
s627291743
p04044
u598016178
1505697133
Python
Python (3.4.3)
py
Accepted
16
3060
72
n=int(input().split()[0]);print(''.join(sorted([input()for _ in[0]*n])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,633
s625971568
p04044
u525441048
1505602975
Python
Python (3.4.3)
py
Accepted
17
3060
154
N, L = map(int, input().split()) array = [] for i in range(N): array.append(input()) sort = sorted(array) for w in sort: print(w, end="") print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,634
s038635668
p04044
u261886891
1505514360
Python
Python (3.4.3)
py
Accepted
21
3316
97
N, L = list(map(int, input().split())) S = [input() for i in range(N)] S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,635
s365377581
p04044
u444856278
1505108016
Python
Python (3.4.3)
py
Accepted
17
3060
147
N,L = list(map(int,input().split())) memo = [] for i in range(N): memo.append(input()) memo.sort() for j in range(N): print(memo[j],end="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,636
s671415232
p04044
u089230684
1505088708
Python
Python (3.4.3)
py
Accepted
17
3060
85
a,b=map(int,input().split()) S=[input() for i in range(a)] S.sort() print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,637
s708761904
p04044
u182096840
1504452792
Python
Python (2.7.6)
py
Accepted
11
2568
153
n, l = map(int, raw_input().strip().split()) a = [] for x in xrange(n): a.append(raw_input().strip()) a.sort() ans = '' for x in a: ans += x print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,638
s622232001
p04044
u245448626
1503499347
Python
Python (3.4.3)
py
Accepted
17
3060
106
a=input().split() N=int(a[0]) L=int(a[1]) 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,215,639
s084670185
p04044
u255555420
1502826523
Python
Python (3.4.3)
py
Accepted
17
3060
93
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,215,640
s395265985
p04044
u650245944
1502240770
Python
Python (3.4.3)
py
Accepted
17
3060
91
N, L = map(int, input().split()) S = [ input() for i in range(N)] print(''.join(sorted(S)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,641
s075582747
p04044
u596276291
1501780152
Python
Python (3.4.3)
py
Accepted
24
3316
203
from collections import defaultdict def main(): N, L = map(int, input().split()) S_list = [input() for _ in range(N)] print("".join(sorted(S_list))) if __name__ == '__main__': main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,642
s266447133
p04044
u839537730
1501066397
Python
Python (3.4.3)
py
Accepted
17
3060
177
N, L = list(map(int, input().split(" "))) S = [] for i in range(N): S.append(input()) S = sorted(S) ans = "" for i in range(N): ans = ans + S[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,643
s739836105
p04044
u218984487
1500836031
Python
Python (3.4.3)
py
Accepted
17
3060
143
n, l = map(int, input().split()) li = [] for i in range(n): s = input() li.append(s) li.sort() ans = "".join(map(str, li)) print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,644
s348188900
p04044
u996252264
1500660380
Python
Python (3.4.3)
py
Accepted
17
3060
243
def ri(): return int(input()) def rli(): return list(map(int, input().split())) def rls(): return list(input()) def pli(a): return "".join(list(map(str, a))) n, l = rli() s = [] for i in range(n): s.append(input()) s.sort() print(pli(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,645
s991028676
p04044
u214380782
1500426131
Python
Python (3.4.3)
py
Accepted
18
3060
179
nums = input().split() N = int(nums[0]) L = int(nums[1]) s = [] for i in range(N): s.append(input()) sorteds = sorted(s) ans = '' for seq in sorteds: ans += seq print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,646
s213357499
p04044
u276192130
1500412763
Python
Python (3.4.3)
py
Accepted
17
3060
108
n, l = map(int, input().split()) s = [] for i in range(n): s.append(input()) s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,647
s819523472
p04044
u108617242
1500404957
Python
Python (3.4.3)
py
Accepted
19
3060
141
N, L = map(int, input().split()) S = ['x' for x in range(N)] for i in range(N): S[i] = input() S.sort() 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,215,648
s055384948
p04044
u529158664
1498714555
Python
Python (3.4.3)
py
Accepted
17
3060
146
#! python3 N, L = [int(x) for x in input().strip().split(' ')] S = [] for _ in range(N): S.append(input().strip()) S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,649
s916040793
p04044
u993069079
1498295004
Python
Python (2.7.6)
py
Accepted
10
2568
115
n, l = map(int, raw_input().split()) a = [] for i in xrange(n): a.append(raw_input()) a.sort() print "".join(a)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,650
s157800209
p04044
u946386741
1498246876
Python
Python (3.4.3)
py
Accepted
17
3060
102
N, L = map(int, input().split()) S = [input() for i in range(N)] res = sorted(S) print("".join(res))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,651
s284539140
p04044
u809670194
1497571922
Python
Python (3.4.3)
py
Accepted
20
3060
246
n, l = map(int,input().split()) s = [] for i in range(n): s.append(input()) for i in range(len(s)-1): for j in range(len(s)-1): if s[j] > s[j+1]: s[j], s[j+1] = s[j+1], s[j] for i in s: print(i, end = "")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,652
s002944907
p04044
u761320129
1497366164
Python
Python (2.7.6)
py
Accepted
10
2568
103
N,L = map(int, raw_input().split()) arr = [raw_input() for i in range(N)] arr.sort() print ''.join(arr)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,653
s039794994
p04044
u125205981
1497178712
Python
Python (3.4.3)
py
Accepted
18
3060
138
def main(): N, L = map(int, input().split()) S = [input() for _ in range(N)] ans = sorted(S) print(''.join(ans)) main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,654
s657598604
p04044
u172773620
1496075659
Python
Python (3.4.3)
py
Accepted
17
3060
171
nl = [int(i) for i in input().split(" ")] str_list = [] for _ in range(nl[0]): str_list.append(input()) for word in sorted(str_list): print(word,end="") print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,655
s731244156
p04044
u879309973
1495796029
Python
Python (2.7.6)
py
Accepted
10
2568
91
N, L = map(int, raw_input().split()) print "".join(sorted([raw_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,215,656
s168336357
p04044
u667084803
1495148331
Python
Python (3.4.3)
py
Accepted
17
3060
130
N,L=map(int,input().split()) S=[] for i in range(N): S+=[str(input())] S.sort() ans="" for i in range(N): ans+=S[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,657
s970516775
p04044
u058240079
1494344147
Python
Python (2.7.6)
py
Accepted
11
2568
101
n,l = map(int, raw_input().split()) ls = [raw_input() for _ in range(n)] ls.sort() 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,215,658
s879389425
p04044
u677421794
1494120941
Python
Python (2.7.6)
py
Accepted
10
2568
180
# -*- coding: utf-8 -*- n,l = map(int,raw_input().split()) s = ['']*n ans = '' for i in range(n): s[i] = raw_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,215,659
s861858972
p04044
u846552659
1494013136
Python
Python (3.4.3)
py
Accepted
17
3060
118
# -*- coding:utf-8 -*- n, l = map(int, input().split()) s = [ input() for tmp in range(n) ] s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,660
s994098770
p04044
u057586044
1492723817
Python
Python (3.4.3)
py
Accepted
17
3060
83
n = int(input().split()[0]) s = [input() for i in [0]*n] s.sort() print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,661
s179148810
p04044
u559722042
1490063792
Python
Python (3.4.3)
py
Accepted
17
3064
69
print("".join(sorted([input()for _ in[""]*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,215,662
s826865908
p04044
u559722042
1490063738
Python
Python (3.4.3)
py
Accepted
17
3060
84
print("".join(sorted([input()for _ in[""]*int(list(map(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,215,663
s192579366
p04044
u559722042
1490063562
Python
Python (3.4.3)
py
Accepted
17
3060
76
N,L=map(int,input().split()) print("".join(sorted([input()for _ in[""]*N])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,664
s941332149
p04044
u559722042
1490063529
Python
Python (3.4.3)
py
Accepted
17
3060
80
N,L = map(int,input().split()) print("".join(sorted([input() for _ in [""]*N])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,665
s343005886
p04044
u976966750
1490046271
Python
PyPy2 (5.6.0)
py
Accepted
34
27756
108
n,l=map(int,raw_input().split()) l=[] for i in range(n): l.append(raw_input()) l.sort() print ''.join(l)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,666
s218970905
p04044
u819300485
1489852722
Python
Python (3.4.3)
py
Accepted
18
3060
168
import sys n , l = map(int,input().split()) word = [] for i in range(n): word.append(input()) word.sort() for i in range(n): sys.stdout.write(word[i]) print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,667
s924862096
p04044
u481333386
1489314807
Python
Python (3.4.3)
py
Accepted
17
3060
209
n, str_len = [int(e) for e in input().split()] strs = [input() for _ in range(n)] def main(n, str_len, strs): ordered_strs = sorted(strs) return ''.join(ordered_strs) print(main(n, str_len, 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,215,668
s815408217
p04044
u332385682
1488580440
Python
Python (3.4.3)
py
Accepted
17
3060
347
import sys def debug(x, table): for name, val in table.items(): if x is val: print('DEBUG:{} -> {}'.format(name, val), file=sys.stderr) return None def solve(): n, l = map(int, input().split()) S = [input() for i in range(n)] S.sort() print(''.join(S)) if __name__...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,669
s966996220
p04044
u622011073
1487297104
Python
Python (3.4.3)
py
Accepted
17
3060
80
n,_=map(int,input().split()) a=sorted([input() for _ in [0]*n]) 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,215,670
s133595964
p04044
u045939752
1487006701
Python
Python (3.4.3)
py
Accepted
24
3064
84
N,L = map(int,input().split()) print("".join(sorted([ input() for _ in range(N) ])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,671
s889570645
p04044
u788681441
1484261136
Python
Python (3.4.3)
py
Accepted
23
3064
91
n, l = map(int, input().split()) s = [input() for _ in range(n)] print(''.join(sorted(s)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,672
s696853503
p04044
u237316771
1484237282
Python
Python (2.7.6)
py
Accepted
17
2568
115
n, l = map(int, raw_input().split()) s = [] for i in range(n): s.append(raw_input()) s.sort() print "".join(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,673
s438220043
p04044
u122916923
1483912379
Python
Python (3.4.3)
py
Accepted
24
3064
88
N, L = input().split() ss = [input() for _ in range(int(N))] 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,215,674
s823444607
p04044
u386131832
1483331740
Python
Python (3.4.3)
py
Accepted
23
3064
147
import sys n,l=[int(i) for i in input().split()] s=[] for i in range(n): s.append(input()) s.sort() for i in s: sys.stdout.write(i) print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,675
s894207982
p04044
u580920947
1483236782
Python
Python (3.4.3)
py
Accepted
26
3064
178
# -*- coding: utf-8 -*- # problem B N, L = map(int, input().split()) ls = [] for _ in range(N): input_data = input() ls.append(input_data) ls.sort() 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,215,676
s626439253
p04044
u423925725
1483196899
Python
Python (3.4.3)
py
Accepted
23
3064
221
# coding: utf-8; def main(): alphabet = 'abcdefghijklmnopqrstuvwxyz' n, l = map(int, input().split()) s = [input() for _ in range(n)] s.sort() print(''.join(s)) if __name__ == '__main__': main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,677
s899737297
p04044
u646352133
1483101493
Python
Python (3.4.3)
py
Accepted
25
3064
192
n,l = map(int,input().split()) s = [] for i in range(n): s.append(input()) for i in range(n-1): for j in range(n-1,i,-1): if s[j-1] > s[j]: s[j],s[j-1] = s[j-1],s[j] 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,215,678
s092055612
p04044
u317493066
1483047138
Python
Python (3.4.3)
py
Accepted
23
3064
148
N, L = map(int, input().split()) data = [] for _ in range(N): input_data = input() data.append(input_data) data.sort() print(''.join(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,215,679
s866994009
p04044
u637175065
1482706564
Python
Python (3.4.3)
py
Accepted
99
8644
291
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time sys.setrecursionlimit(10**7) inf = 10**20 mod = 10**9 + 7 def main(): n,l = list(map(int,input().split())) a = [input() for _ in range(n)] a.sort() return ''.join(a) print(main())
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,680
s016046898
p04044
u942697937
1482473689
Python
Python (2.7.6)
py
Accepted
16
2568
99
N, L = map(int, raw_input().split()) S = [raw_input() for _ in range(N)] S.sort() print "".join(S)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,681
s353811634
p04044
u123756661
1481508671
Python
Python (2.7.6)
py
Accepted
16
2568
131
n,l=map(int,raw_input().split()) d=[] for i in range(n): d.append(raw_input()) d.sort() ans='' for i in d: ans+=i print ans
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,682
s655073483
p04044
u107077660
1481067955
Python
Python (3.4.3)
py
Accepted
24
3064
153
N, L = map(int, input().split()) S = [] for i in range(N): S.append(input()) S.sort() S.reverse() ans = "" for i in range(N): ans += S.pop() print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,683
s895480559
p04044
u333917945
1480914599
Python
Python (3.4.3)
py
Accepted
24
3064
178
n, l = map(int, input().split()) s = [[i for i in input()] for j in range(n)] #print(s) s.sort() #print(s) for i in range(n): s[i] = "".join(s[i]) s = "".join(s) print(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,684
s325410106
p04044
u596276291
1480864099
Python
Python (3.4.3)
py
Accepted
24
3064
179
def main(): n, l = map(int, input().split()) l = [] for _ in range(n): l.append(input()) print("".join(sorted(l))) if __name__ == '__main__': main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,685
s535008374
p04044
u402953845
1480608626
Python
Python (2.7.6)
py
Accepted
18
2692
176
import sys N,L = map(int,sys.stdin.readline().split()) S = [] for i in xrange(N): S.append(sys.stdin.readline()) S.sort() ret = '' for s in S: ret += s[0:L] print ret
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,686
s651356212
p04044
u582243208
1480112931
Python
Python (3.4.3)
py
Accepted
24
3064
80
n,_=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,215,687
s960933129
p04044
u493916575
1480050336
Python
Python (3.4.3)
py
Accepted
23
3064
140
N,L = map(int, input().split()) S = N*[""] for i in range(N): S[i] = input() S.sort() str = "" for s in S: 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,215,688
s715810804
p04044
u010110540
1479324722
Python
Python (3.4.3)
py
Accepted
23
3064
90
N,L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,689
s684559509
p04044
u831695469
1479011653
Python
Python (3.4.3)
py
Accepted
22
3064
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,215,690
s050192783
p04044
u025504404
1478511768
Python
Python (3.4.3)
py
Accepted
23
3064
113
n, l = list(map(int, input().split())) l = list() while(n): l.append(input()) n -= 1 l.sort() print("".join(l))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,691
s673640440
p04044
u448407332
1478314397
Python
Python (2.7.6)
py
Accepted
11
2572
149
n, m = map(int, raw_input().split()) a = [] for i in range(n): a.append(raw_input()) a = sorted(a) ans = '' for i in a: ans += i print ans
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,692
s334540116
p04044
u778700306
1478182385
Python
Python (2.7.6)
py
Accepted
17
2568
115
N, L = map(int, raw_input().split()) S = [raw_input() for _ in xrange(N)] S.sort() print ''.join([n for n in S])
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,693
s534690858
p04044
u354630369
1477846921
Python
Python (2.7.6)
py
Accepted
17
2568
153
N, L = map(int, raw_input().split()) S = [raw_input() for _ in xrange(N)] # new_list = sorted(S, key=str.lower) S.sort() print ''.join([n for n in S])
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,694
s411623538
p04044
u117095520
1477683565
Python
Python (2.7.6)
py
Accepted
17
2692
190
import heapq N, L = map(int, raw_input().split()) hq = [] for _ in xrange(N): s = raw_input() heapq.heappush(hq, s) ans = '' while len(hq) > 0: ans += heapq.heappop(hq) print ans
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,695
s978393949
p04044
u425448230
1477631124
Python
Python (3.4.3)
py
Accepted
23
3064
95
#B N, L = [int(i) for i in 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,215,696
s790537710
p04044
u272028993
1476912220
Python
Python (2.7.6)
py
Accepted
16
2568
129
n,l=map(int,raw_input().split()) s=[raw_input() for _ in xrange(n)] s.sort() ans="" for i in xrange(n): ans+=s[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,697
s876437026
p04044
u471797506
1476589247
Python
Python (2.7.6)
py
Accepted
36
4392
201
# -*- coding: utf-8 -*- import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll N, L = map(int, raw_input().split()) print "".join(sorted([raw_input() for i in xrange(N)]))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,698
s705300726
p04044
u065683101
1475459312
Python
Python (3.4.3)
py
Accepted
23
3064
210
def read(): return int(input()) def reads(sep=None): return list(map(int, input().split(sep))) def main(): n, l = reads() s = [input() for _ in range(n)] print(''.join(sorted(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,215,699
s471884258
p04044
u867933941
1475104232
Python
Python (2.7.6)
py
Accepted
16
2568
100
N,L = map(int,raw_input().split(" ")) s = [raw_input() for i in range(N)] s.sort() print "".join(s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,700
s942796894
p04044
u820351940
1475031287
Python
Python (3.4.3)
py
Accepted
23
3064
85
print("".join(sorted([input() for x in range(list(map(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,215,701
s544749503
p04044
u454670021
1474758495
Python
Python (3.4.3)
py
Accepted
23
3064
161
import sys n, l = map(int, input().split()) lis = [] for i in range(n): lis.append(input()) lis2 = sorted(lis) for x in lis2: print(x, end="") print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,702
s273172310
p04044
u360101420
1473642732
Python
PyPy2 (5.6.0)
py
Accepted
62
8944
141
n, l = map(int, raw_input().split()) ans = [] for _ in xrange(n): s = raw_input() ans.append(s) ans = sorted(ans) print ''.join(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,703
s950172098
p04044
u098968285
1473619978
Python
Python (3.4.3)
py
Accepted
38
3064
134
n, l = map(int, input().split()) s = [0]*n for i in range(n): s[i] = input() s.sort() for i in range(n): print(s[i], end='') print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,704
s612347228
p04044
u550734883
1473246221
Python
Python (3.4.3)
py
Accepted
39
3064
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,215,705
s290565362
p04044
u411544692
1472837767
Python
Python (2.7.6)
py
Accepted
27
2568
142
N, L = map(int, raw_input().split()) Ss = [raw_input() for i in range(N)] sort_Ss = sorted(Ss) joined_Ss = ''.join(sort_Ss) print joined_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,215,706
s072248194
p04044
u612721349
1472788550
Python
Python (3.4.3)
py
Accepted
41
3064
73
print("".join(sorted([input() for i 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,215,707
s774532099
p04044
u612721349
1472788466
Python
Python (3.4.3)
py
Accepted
41
3316
139
def solve(): n, _ = input().split() print("".join(sorted([input() for i in range(int(n))]))) if __name__=="__main__": solve()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,708
s607629923
p04044
u030110634
1472785956
Python
Python (3.4.3)
py
Accepted
39
3064
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,215,709
s078201780
p04044
u250157310
1472416768
Python
Python (2.7.6)
py
Accepted
27
2568
201
n,ll = map(int,raw_input().split()) var = [] i = 0 while (n > 0): var.append(raw_input()) l = len(var[i]) if l > ll: exit i = i + 1 n = n - 1 var.sort() print ''.join(var)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,710
s927442887
p04044
u163073599
1472070254
Python
Python (3.4.3)
py
Accepted
39
3064
107
n, l = (int(s) for s in input().strip().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,215,711
s701980241
p04044
u438131499
1471979958
Python
Python (2.7.6)
py
Accepted
29
2568
128
N,L = map(int,raw_input().split( )) words =[] for i in range(N): words.append(raw_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,215,712
s096505336
p04044
u824147251
1471956651
Python
Python (3.4.3)
py
Accepted
42
3064
81
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,215,713
s064957305
p04044
u518732500
1471893354
Python
Python (3.4.3)
py
Accepted
39
3064
187
def solve(): n, l = map(int, input().split()) s = [input() for _ in range(n)] s.sort() print(''.join(s)) def main(): solve() if __name__ == '__main__': main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,714
s720619513
p04044
u343675824
1471380717
Python
Python (3.4.3)
py
Accepted
40
3064
145
N,L = map(int,input().split()) strs = [] for i in range(N): strs.append(input()) strs.sort() ans = "" for i in strs: ans += i print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,715
s783462885
p04044
u159043787
1471253730
Python
Python (2.7.6)
py
Accepted
26
2568
139
N,L = map(int,raw_input().split( )) word =[] for i in range(N): IN =(raw_input()) word.append(IN) word.sort() print ''.join(word)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,716