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
s032694779
p04044
u474270503
1538921902
Python
Python (3.4.3)
py
Accepted
17
3060
128
N, L=map(int, input().split()) Slist=list(sorted([input() for _ in range(N)])) S='' for i in range(N): S+=Slist[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,215,417
s143509641
p04044
u233152254
1538860856
Python
Python (3.4.3)
py
Accepted
17
3060
99
N, L = [int(x) for x in 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,418
s111963680
p04044
u513081876
1538854740
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,215,419
s346526093
p04044
u320325426
1538776401
Python
Python (3.4.3)
py
Accepted
17
3060
84
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,420
s690918840
p04044
u596276291
1538762883
Python
Python (3.4.3)
py
Accepted
33
4068
818
from collections import defaultdict, Counter from itertools import product, groupby, count, permutations, combinations from math import pi, sqrt from collections import deque from bisect import bisect, bisect_left, bisect_right from string import ascii_lowercase from functools import lru_cache import sys sys.setrecursi...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,421
s118775143
p04044
u655227110
1538614536
Python
Python (3.4.3)
py
Accepted
17
3060
145
n,l = map(int, input().split()) s = [] for i in range(n): s.append(input()) s.sort() ans = "" for i in range(len(s)): ans += s[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,422
s095349969
p04044
u426108351
1538590105
Python
Python (3.4.3)
py
Accepted
17
3060
107
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,423
s071963443
p04044
u333768710
1538587256
Python
Python (3.4.3)
py
Accepted
17
3060
216
input_list = list(map(int, input().split())) n = input_list[0] l = input_list[1] str_list = [] for i in range(n): str_list.append(input()) str_list = sorted(str_list) ans_str = ''.join(str_list) print(ans_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,424
s261350798
p04044
u320325426
1538576881
Python
Python (3.4.3)
py
Accepted
17
3060
99
n, l = map(int, input().split()) sl = sorted([input() for i in range(1, n + 1)]) 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,215,425
s453447685
p04044
u320325426
1538576806
Python
Python (3.4.3)
py
Accepted
17
3060
118
n, l = map(int, input().split()) sl = sorted([input() for i in range(1, n + 1)]) r = "" for i in sl: r += 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,426
s262583082
p04044
u940102677
1538541640
Python
Python (3.4.3)
py
Accepted
17
3060
97
n,l = map(int,input().split()) a = [] for _ in [0]*n: a += [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,427
s152554761
p04044
u546074985
1538083629
Python
Python (3.4.3)
py
Accepted
17
3064
502
num, length = map(int, input().split(" ")) li = [input() for x in range(num)] li_sort = [] def q_sort(li): left = [] right = [] if len(li) <= 1: return li ref = li[0] ref_count = 0 for ele in li: if ele < ref: left.append(ele) elif ele > ref: ...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,428
s384602016
p04044
u056677140
1538017409
Python
Python (3.4.3)
py
Accepted
18
3060
137
N, L = map(int,input().split()) log = [ input() for i in range(N) ] log.sort() result = '' for i in log: result += i print(result)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,429
s177270560
p04044
u589087860
1537831107
Python
Python (3.4.3)
py
Accepted
17
3060
151
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,215,430
s807045654
p04044
u099918199
1537813466
Python
Python (3.4.3)
py
Accepted
17
3060
193
n, l = map(int, input().split()) list_count = 0 list = [] while list_count < n: list.append(str(input())) list_count += 1 list.sort() ans = "" for letter in list: ans += letter 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,431
s644030717
p04044
u657913472
1537749945
Python
Python (3.4.3)
py
Accepted
17
3060
89
n,l=map(int,input().split()) s=list(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,432
s205520960
p04044
u853900545
1537679167
Python
Python (3.4.3)
py
Accepted
18
3188
107
n,l = map(int,input().split()) c = [0]*n for i in range(n): c[i] = input() c.sort() print(*c,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,433
s357169057
p04044
u457901067
1537591420
Python
Python (3.4.3)
py
Accepted
17
3060
110
N, L = map(int, input().split()) x = [] for i in range(N): x.append(input()) x.sort() print("".join(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,215,434
s165978540
p04044
u879870653
1537578857
Python
Python (3.4.3)
py
Accepted
17
3060
112
N,L = map(int,input().split()) D = [] for i in range(N) : D.append(input()) D = sorted(D) print("".join(D))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,435
s866754298
p04044
u466478199
1537494944
Python
Python (3.4.3)
py
Accepted
17
3060
103
N,L=map(int,input().split()) l=[] for i in range(N): l.append(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,436
s313359639
p04044
u140342018
1537449472
Python
Python (3.4.3)
py
Accepted
17
3060
134
n, l = map(int, input().split()) s = [] for i in range(n): s.append(input()) s.sort() ans = '' for i in s: 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,437
s265922483
p04044
u177040005
1537405925
Python
Python (3.4.3)
py
Accepted
17
3060
134
N,L = map(int, input().split()) S = [input() for _ in range(N)] S = sorted(S) ans = '' for i in range(N): ans += S[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,438
s864091559
p04044
u883048396
1537398797
Python
Python (3.4.3)
py
Accepted
17
3060
89
import sys input() print(''.join( sorted([x.rstrip() for x in sys.stdin.readlines()])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,439
s209999042
p04044
u461636820
1537320692
Python
Python (3.4.3)
py
Accepted
17
3060
91
N, L = map(int, input().split()) s = [input() for i in range(N)] s.sort() print(''.join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,440
s336705102
p04044
u505420467
1537295320
Python
Python (3.4.3)
py
Accepted
17
3060
87
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,441
s285028230
p04044
u611249982
1537161979
Python
Python (3.4.3)
py
Accepted
17
3060
145
#!/usr/bin/python3 # -*- coding: utf-8 -*- n, L = [int(i) for i in 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,442
s958385350
p04044
u608088992
1536954598
Python
Python (3.4.3)
py
Accepted
18
3060
135
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() output = "" for i in range(N): output += S[i] print(output)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,443
s239555796
p04044
u787562674
1536669428
Python
Python (3.4.3)
py
Accepted
17
3060
132
N, L = map(int, input().split()) inputs = [input() for _ in range(N)] orderd_inputs = sorted(inputs) print(''.join(orderd_inputs))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,444
s601829445
p04044
u102126195
1536602594
Python
Python (3.4.3)
py
Accepted
17
3060
133
N, L = map(int, input().split()) S = [] for i in range(N): S.append(input()) S.sort() for i in S: print(i, end = "") print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,445
s263837050
p04044
u439396449
1536506953
Python
Python (3.4.3)
py
Accepted
17
3060
93
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,446
s358951840
p04044
u546959066
1536466983
Python
Python (3.4.3)
py
Accepted
17
3060
98
n, l = list(map(int, input().split())) li = [input() for i in range(n)] 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,447
s422941128
p04044
u017810624
1536368852
Python
Python (3.4.3)
py
Accepted
17
3060
85
n,l=map(int,input().split()) a=[input() for x in range(n)] 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,448
s181016250
p04044
u394853232
1536178299
Python
Python (3.4.3)
py
Accepted
17
3060
151
N, L = map(int,input().split()) AAA = [] for i in range(N): AAA.append(input()) AAA.sort() ans = "" for i in range(N): ans += AAA[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,449
s163685197
p04044
u461636820
1536016942
Python
Python (3.4.3)
py
Accepted
17
3060
119
N, L = map(int, input().split()) nums = [] for i in range(N): nums.append(input()) nums.sort() print(''.join(nums))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,450
s449174064
p04044
u863841238
1535849203
Python
Python (3.4.3)
py
Accepted
17
3060
143
n,l = map(int,input().split()) s_list = [] for i in range(n): s_list.append(input()) s_list.sort() for st in s_list: print(st,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,451
s093851433
p04044
u513081876
1535477410
Python
Python (3.4.3)
py
Accepted
17
3060
108
N, L = map(int, input().split()) S = ['']*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,215,452
s004190199
p04044
u525423408
1535433585
Python
Python (3.4.3)
py
Accepted
17
3060
85
N,L=map(int,input().split()) S=[input() for i in range(N)] S.sort() print("".join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,453
s146672183
p04044
u138486156
1535423156
Python
Python (3.4.3)
py
Accepted
17
3060
136
n, l = map(int, input().split()) s = [input() for i in range(n)] s.sort() ans = '' for i in range(n): print(s[i], end = '') print()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,454
s145356929
p04044
u162370698
1535264075
Python
Python (3.4.3)
py
Accepted
17
3060
85
N,L=map(int,input().split()) S=[input() for i in range(N)] S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,455
s994203559
p04044
u476418095
1535083325
Python
Python (2.7.6)
py
Accepted
10
2568
138
n = int(raw_input().split()[0]) a = [] for i in range(n): a.append(raw_input()) a.sort() 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,456
s932553024
p04044
u005260772
1535083297
Python
Python (2.7.6)
py
Accepted
11
2568
138
n = int(raw_input().split()[0]) a = [] for i in range(n): a.append(raw_input()) a.sort() 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,457
s424148601
p04044
u076564993
1534393083
Python
Python (3.4.3)
py
Accepted
17
3060
123
n,L=map(int,input().split()) l=[] for i in range(n): l.append(input()) l.sort() ans='' for i in l: 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,458
s133591937
p04044
u485716382
1534378017
Python
Python (3.4.3)
py
Accepted
17
3060
231
def solve(): n, l = map(int, input().split()) lists = [input() for _ in range(n)] # for _ in range(l): # lists.append(input()) lists = sorted(lists) for s in lists: print(s, end="") 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,459
s656530535
p04044
u270681687
1534330092
Python
Python (3.4.3)
py
Accepted
33
3892
549
n, l = map(int, input().split()) s = [] for i in range(n): S = input() s.append(S) import string ALPHABETS = string.ascii_uppercase def chars_to_int(chars): chars = chars.upper() size = len(chars) result = 0 for pos, c in enumerate(chars): i = ALPHABETS.index(c) + 1 exp = si...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,460
s935684445
p04044
u631277801
1534328873
Python
Python (3.4.3)
py
Accepted
17
3060
114
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,215,461
s016536457
p04044
u692632484
1534328872
Python
Python (3.4.3)
py
Accepted
17
3060
115
N,L=[int(i) for i in input().split()] S=[input() for i in range(N)] S.sort() for m in S: print(m,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,462
s358576034
p04044
u761320129
1534328785
Python
Python (3.4.3)
py
Accepted
17
3060
95
N,L = map(int,input().split()) src = [input() for i in range(N)] src.sort() print(''.join(src))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,463
s367549110
p04044
u759651152
1534218067
Python
Python (3.4.3)
py
Accepted
17
3060
188
#-*-coding:utf-8-*- def main(): n, l = map(int, input().split()) arry = [input() for _ in range(n)] arry.sort() print(''.join(arry)) 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,464
s931026868
p04044
u317785246
1534214572
Python
Python (3.4.3)
py
Accepted
17
3060
97
n, l = map(int, input().split()) lst = [input() for _ in range(n)] lst.sort() print("".join(lst))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,465
s007761650
p04044
u052347048
1534119699
Python
Python (3.4.3)
py
Accepted
17
3060
100
num,lengh = map(int,input().split()) lis = [input() for i in range(num)] print("".join(sorted(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,466
s066645672
p04044
u756569003
1534113877
Python
Python (3.4.3)
py
Accepted
17
3060
94
N, L = map(int, input().split()) S = [input() for i in range(N)] S.sort() print(''.join(S))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,467
s640999075
p04044
u277802731
1534014842
Python
Python (3.4.3)
py
Accepted
17
3060
110
#42b 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,215,468
s161427702
p04044
u181668771
1533940913
Python
Python (3.4.3)
py
Accepted
18
3060
149
N,L = map(int,input().split()) strList = [] for i in range(N): strList.append(input()) strList.sort() for str in strList: print(str,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,469
s596440556
p04044
u690536347
1533357626
Python
Python (3.4.3)
py
Accepted
17
3060
85
n,l=map(int,input().split()) m=sorted([input() for _ in range(n)]) print("".join(m))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,470
s587977920
p04044
u278864208
1533346746
Python
Python (3.4.3)
py
Accepted
18
3060
115
N, L = map(int, input().split()) S = [input() for i in range(N)] for i in range(N): print(sorted(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,215,471
s868659688
p04044
u574050882
1533268472
Python
Python (3.4.3)
py
Accepted
17
3060
175
def main(): t = input().split(" ") N, L = int(t[0]), int(t[1]) s = [] for i in range(N): s.append(input()) s.sort() print("".join(s)) main()
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,472
s966495106
p04044
u761989513
1533200250
Python
Python (3.4.3)
py
Accepted
17
3060
96
n, l = map(int, input().split()) s = list([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,473
s772086903
p04044
u115682115
1533181699
Python
Python (3.4.3)
py
Accepted
17
3060
85
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,474
s124876404
p04044
u653642801
1533176751
Python
Python (3.4.3)
py
Accepted
17
3060
183
def main(): n, l = map(int,input().split()) s =[] for i in range(n): s.append(input()) print("".join(sorted(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,475
s554662401
p04044
u653642801
1533175668
Python
Python (3.4.3)
py
Accepted
17
3060
183
def main(): n, l = map(int,input().split()) s =[] for i in range(n): s.append(input()) print("".join(sorted(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,476
s234576125
p04044
u415905784
1533175661
Python
Python (3.4.3)
py
Accepted
17
3060
84
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,477
s005811077
p04044
u419686324
1533175659
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,215,478
s375151040
p04044
u006657459
1533175459
Python
Python (3.4.3)
py
Accepted
17
3060
107
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,479
s415185659
p04044
u780364430
1533164509
Python
Python (3.4.3)
py
Accepted
17
3060
84
n, l = map(int, input().split()) print("".join(sorted([input() for _ in range(n)])))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,480
s220263801
p04044
u004025573
1533091092
Python
Python (3.4.3)
py
Accepted
17
3060
111
n,m=map(int,input().split()) k=[] for i in range(n): s=input() k.append(s) k.sort() print(''.join(k))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,481
s638205188
p04044
u065923107
1532981817
Python
Python (3.4.3)
py
Accepted
17
3060
112
n,l=map(int,input().split()) a=[] for i in range(n): a+=list(input().split()) a.sort() a=''.join(a) 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,215,482
s177047117
p04044
u599547273
1532884990
Python
Python (3.4.3)
py
Accepted
17
3060
94
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,483
s392485251
p04044
u832039789
1532662456
Python
Python (3.4.3)
py
Accepted
17
3060
98
n,l=map(int,input().split()) s=[] for i in range(n): s.append(input()) print(''.join(sorted(s)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,484
s425076476
p04044
u916743460
1532623619
Python
Python (3.4.3)
py
Accepted
18
3060
147
n = list(map(int, input().split())) a = [] for i in range(n[0]): a.append(input()) a.sort() for i in range(n[0]): print(a[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,485
s847577420
p04044
u718096172
1532433390
Python
Python (3.4.3)
py
Accepted
17
3060
129
N, L = [int(i) for i in input().split()] sList = sorted([input() for _ in range(N)], key=lambda s: s) s = ''.join(sList) 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,486
s748658068
p04044
u443569380
1532318924
Python
Python (3.4.3)
py
Accepted
17
3060
143
N, L = map(int,input().split()) L = [] for i in range(N): S = input() L.append(S) sorted_L = sorted(L) print("".join(sorted_L))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,487
s887130706
p04044
u816732092
1531775792
Python
Python (3.4.3)
py
Accepted
17
3064
144
n , l = map(int, input().split()) s = [] for i in range(n): s.append(input()) s.sort() for i in range(n): print(s[i],end = "") print("")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,488
s764694721
p04044
u384679440
1531449738
Python
Python (3.4.3)
py
Accepted
17
3060
130
N, L = map(int, input().split()) S = [input() for _ in range(N)] S.sort() ans = "" for i in range(len(S)): ans += S[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,489
s199542065
p04044
u029169777
1531418709
Python
Python (3.4.3)
py
Accepted
17
3060
122
N,L=map(int,input().split()) S=[] for i in range(N): S.append(input()) S.sort() for i in range(N): print(S[i],end="")
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,490
s228142363
p04044
u215065194
1531354685
Python
Python (3.4.3)
py
Accepted
17
3060
101
n,l=map(int,input().split()) ss=[input() for _ in range(n)] ss=sorted(ss) print(''.join(ss))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,491
s170447531
p04044
u232852711
1531298939
Python
Python (3.4.3)
py
Accepted
17
3060
146
n, l = list(map(int, input().split())) s = [input().strip() for i in range(n)] # print(s) ans = '' for ss in sorted(s): ans += ss print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,492
s359857227
p04044
u099566485
1531290270
Python
Python (3.4.3)
py
Accepted
17
3060
134
N,L=map(int,input().split()) a=[] for i in range(N): a.append(input()) a.sort() s="" for i in range(len(a)): s=s+a[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,215,493
s978143931
p04044
u333945892
1531248717
Python
Python (3.4.3)
py
Accepted
17
3060
141
N,L = map(int,input().split()) li = [] for i in range(N): li.append(input()) li.sort() ans = '' for s in li: ans = 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,215,494
s836727425
p04044
u050428930
1531173971
Python
Python (3.4.3)
py
Accepted
17
3060
84
n,m=map(int,input().split()) s=sorted([input() for i in range(n)]) print("".join(s))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,495
s159517567
p04044
u622255286
1531172604
Python
Python (2.7.6)
py
Accepted
10
2568
136
n, l = map(int, raw_input().split()) s_list = [] for i in range(n): s_list.append(raw_input()) 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,215,496
s022637484
p04044
u029315034
1531104986
Python
Python (3.4.3)
py
Accepted
17
3060
100
n, l = [int(i) for i in 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,497
s932624175
p04044
u627417051
1531065739
Python
Python (3.4.3)
py
Accepted
17
3060
123
N, L = list(map(int, input().split())) word = [] for i in range(N): word.append(input()) 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,498
s782069237
p04044
u572271833
1530946673
Python
Python (3.4.3)
py
Accepted
17
3060
151
n,l = map(int,input().split( )) line = [] for i in range(n): line.append(str(input())) #print(line) line.sort() #print(line) print(''.join(line))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,499
s463096577
p04044
u050428930
1530938809
Python
Python (3.4.3)
py
Accepted
17
3060
104
N,M=map(int,input().split()) s=[] for i in range(N): s.append(input()) print("".join(sorted(s)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,500
s564276590
p04044
u785220618
1530918292
Python
Python (3.4.3)
py
Accepted
18
3060
117
# -*- coding: utf-8 -*- 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,501
s028691641
p04044
u597436499
1530821342
Python
Python (3.4.3)
py
Accepted
17
3060
134
n,l = map(int, input().split()) s = [] for _ in range(n): s.append(input()) s.sort() ans = "" for i in s: 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,502
s467117233
p04044
u280512618
1530754978
Python
Python (3.4.3)
py
Accepted
17
3060
139
if __name__ == "__main__": n, l = [int(s) for s in input().split()] ss = sorted(input() for i in range(n)) 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,215,503
s672921537
p04044
u109256064
1530737858
Python
Python (2.7.6)
py
Accepted
10
2568
82
print "".join(sorted([raw_input() for _ in xrange(int(raw_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,504
s583245503
p04044
u109256064
1530737834
Python
Python (2.7.6)
py
Accepted
10
2568
101
n, l = (int(x) for x in raw_input().split()) print "".join(sorted([raw_input() for _ 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,505
s335209039
p04044
u102547855
1530722239
Python
Python (3.4.3)
py
Accepted
17
3060
153
N, L = map(int,input().split()) S = [] for i in range(N): S.append(input()) S.sort() s = "" for i in range(N): s += S[i] print (s)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,506
s116717340
p04044
u064408584
1530675330
Python
Python (3.4.3)
py
Accepted
17
3060
86
n,l=map(int, input().split()) a=[input() for i in range(n)] 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,507
s006388279
p04044
u118605645
1530669971
Python
Python (3.4.3)
py
Accepted
17
3060
177
n, l = (int(i) for i in input().split()) str_ary = [input() for i in range(n)] str_ary = sorted(str_ary) str_sorted = "" for s in str_ary: str_sorted += s print(str_sorted)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,508
s334268665
p04044
u588341295
1530633590
Python
Python (3.4.3)
py
Accepted
17
3060
177
# -*- coding: utf-8 -*- N, L = map(int, input().split()) str_list = [input() for i in range(N)] str_list.sort() ans = "" for i in range(N): ans += str_list[i] print(ans)
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,509
s443565939
p04044
u409064224
1530545575
Python
Python (3.4.3)
py
Accepted
17
3060
351
n,l = map(int,input().split()) S = list() for i in range(n): S.append(input()) else: S.sort() print("".join(S)) """ 文字列もlist.sort()で並べ替えができるよ!!! あとは、joinメソッドを使うか、 for i in range(len(S)): str_print = str_print + S[i] else: print(str_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,510
s756310925
p04044
u409064224
1530545243
Python
Python (3.4.3)
py
Accepted
17
3060
119
n,l = map(int,input().split()) S = list() for i in range(n): S.append(input()) else: 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,511
s867702500
p04044
u735891571
1530507581
Python
Python (3.4.3)
py
Accepted
18
3060
131
n, l = map(int,input().split()) s = [input() for i in range(n)] moji = "" s_s = sorted(s) for x in s_s: moji += x 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,215,512
s902129293
p04044
u905715926
1530366738
Python
Python (3.4.3)
py
Accepted
17
3060
153
n,m = map(int,input().split()) list = [] for i in range(n): list.append(input()) list.sort() str="" for i in range(n): str=str+list[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,215,513
s509721837
p04044
u552122040
1530047470
Python
Python (3.4.3)
py
Accepted
18
3060
366
n, l = list(map(int, input().split())) wordlist = [] output_word = "" for i in range(n): wordlist.append(input()) while wordlist: minimumword = wordlist[0] for i in range(len(wordlist)): minimumword = wordlist[i] if wordlist[i] < minimumword else minimumword output_word += minimumword del wordlist[wor...
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,514
s045333152
p04044
u333139319
1529795684
Python
Python (3.4.3)
py
Accepted
18
3060
130
[n,l]=[int(i) for i in input().split()] s=[input() for i in range(n)] a="" s.sort() for j in range(len(s)): a=a+s[j] 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,215,515
s460015836
p04044
u641406334
1529722487
Python
Python (3.4.3)
py
Accepted
17
3060
103
N,L = map(int,input().split()) S = [] for i in range(N): S.append(input()) print("".join(sorted(S)))
p04044
<span class="lang-en"> <p>Score : <var>200</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p> <p>She will concatenate all of the strings in some order, to produce a long str...
3 3 dxx axx cxx
axxcxxdxx
1,215,516