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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s404304840 | p04044 | u798316285 | 1566104818 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 83 | n,l=map(int,input().split())
S=[input() for i in range(n)]
print(*sorted(S),sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,617 |
s101281022 | p04044 | u428397309 | 1566102279 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 159 | # -*- coding: utf-8 -*-
N, L = map(int, input().split())
S = [None] * N
for i in range(N):
S[i] = input()
sorted_S = sorted(S)
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,214,618 |
s822322901 | p04044 | u714378447 | 1566101002 | 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(*S,sep='') | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,619 |
s976948042 | p04044 | u183896397 | 1566097927 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 164 | N,L = (int(i) for i in input().split())
X = []
for i in range(N):
Y = input()
X.append(Y)
X.sort()
ans = ''
for i in range(N):
ans += X[i]
print(ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,620 |
s516267338 | p04044 | u901582103 | 1566084908 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 100 | n,l=map(int,input().split())
d=[]
for i in range(n):
d.append(input())
d.sort()
print(*d,sep='') | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,621 |
s571341424 | p04044 | u002459665 | 1566082534 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 145 | N, L = map(int, input().split())
S = []
for _ in range(N):
S.append(input())
# print(S)
S.sort()
# print(S)
ans = "".join(S)
print(ans)
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,622 |
s018481077 | p04044 | u957872856 | 1566082266 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 89 | N, L = map(int,input().split())
S = sorted([input() for i in range(N)])
print(*S, sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,623 |
s751322601 | p04044 | u243572357 | 1566074154 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 99 | n, l = map(int, input().split())
s = [input().rstrip() 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,214,624 |
s165516246 | p04044 | u260036763 | 1566064492 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 96 | n, l = map(int, input().split())
s = [input() for i in range(n)]
s = sorted(s)
print(''.join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,625 |
s283103023 | p04044 | u347267726 | 1566063837 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 95 | n,l =map(int,input().split())
list=[input() for i in range(n)]
s=sorted(list)
print("".join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,626 |
s400687782 | p04044 | u284999381 | 1566056793 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 94 | n,l=map(int,input().split())
s = list(input() for i in range(n))
s=sorted(s)
print("".join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,627 |
s796950724 | p04044 | u740767776 | 1566053434 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 104 | n,l = map(int,input().split())
s = []
for i in range(n):
s.append(input())
s.sort()
print(*s,sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,628 |
s205509536 | p04044 | u338929851 | 1566049651 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 199 | # -*- coding: utf-8 -*-
if __name__ == '__main__':
N, L = map(int, input().split(' '))
S = []
S_1 = []
for i in range(N):
S.append(input())
S.sort()
print(''.join(S)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,629 |
s466214668 | p04044 | u643714578 | 1566043661 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 89 | n,l=map(int,input().split())
list=sorted([input() for i in range(n)])
print(*list,sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,630 |
s785759551 | p04044 | u175743386 | 1566014756 | Python | Python (3.4.3) | py | Accepted | 20 | 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,214,631 |
s849057915 | p04044 | u580093517 | 1566010736 | Python | Python (3.4.3) | py | Accepted | 20 | 3060 | 89 | n,l = map(int,input().split())
s = sorted([input() for i in range(n)])
print(*s,sep = "") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,632 |
s328321067 | p04044 | u016622494 | 1566010641 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 152 | N , L = map(int,input().split())
str = []
for i in range(N):
str.append(input())
str.sort()
result = ""
for j in str:
result += j
print(result)
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,633 |
s161807768 | p04044 | u792670114 | 1566003576 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 124 | N, L = map(int, input().split())
Ss = []
for i in range(N):
S = input()
Ss.append(S)
Ss.sort()
r = "".join(Ss)
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,214,634 |
s114224059 | p04044 | u618373524 | 1566003333 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 88 | n,l = map(int,input().split())
s = sorted([input() for i in range(n)] )
print(*s,sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,635 |
s639731395 | p04044 | u853185302 | 1566002740 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 89 | N,L = map(int,input().split())
S = [input() for _ in range(N)]
S.sort()
print(''.join(S)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,636 |
s850760124 | p04044 | u037221289 | 1565987269 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 121 | N, L = map(int,input().split(' '))
S = []
for i in range(N):
x = input()
S.append(x)
X = sorted(S)
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,214,637 |
s721737079 | p04044 | u623735583 | 1565983013 | Python | Python (3.4.3) | py | Accepted | 20 | 3060 | 89 | n,l = map(int,input().split())
a = [input() for i 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,214,638 |
s167286300 | p04044 | u033606236 | 1565977444 | Python | Python (3.4.3) | py | Accepted | 20 | 3060 | 209 | num,strings = map(int,input().split())
result = ""
str_array = []
for i in range (num):
str_array.append(input())
str_array.sort()
for x in range (num):
result = result + str_array[x]
print(result) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,639 |
s994152427 | p04044 | u181195295 | 1565975314 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 129 | N,L = map(int,input().split())
words = list()
for i in range(N):
words.append(input())
words.sort()
print(*words,sep ="")
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,640 |
s172043306 | p04044 | u524870111 | 1565965443 | Python | Python (3.4.3) | py | Accepted | 38 | 5204 | 356 | import sys
from fractions import gcd
import bisect
stdin = sys.stdin
ns = lambda: stdin.readline().rstrip()
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
s = lambda h: [list(map(int, stdin.readline().split())) for i in range(h)]
n, l = na()
st = []
for i in range(n):
st.appen... | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,641 |
s794281812 | p04044 | u736153993 | 1565958622 | 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())
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,214,642 |
s088023193 | p04044 | u029929095 | 1565936703 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 106 | n,l=map(int,input().split())
dl=[input() for i in range(n)]
for i in sorted(dl):
print(i,end="")
print() | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,643 |
s004182284 | p04044 | u791527495 | 1565927920 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 107 | N,L = map(int,input().split())
li = []
for i in range(N):
li.append(input())
li.sort()
print(''.join(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,214,644 |
s216024777 | p04044 | u200887663 | 1565922752 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 135 | n,l=map(int,input().split())
li=[input() for i in range(n)]
ans=sorted(li)
"""
for st in li :
s += st
print(s)
"""
print(*ans,sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,645 |
s510846144 | p04044 | u480568292 | 1565904969 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 88 | n,l = map(int,input().split())
s = sorted([input() for i in range(n)])
print("".join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,646 |
s721661472 | p04044 | u475503988 | 1565897855 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 128 | N, L = map(int, input().split())
S = [input() for _ in range(N)]
S.sort()
ans = ""
for i in range(N):
ans += S[i]
print(ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,647 |
s131678645 | p04044 | u256464928 | 1565883685 | 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,214,648 |
s988574928 | p04044 | u256464928 | 1565883619 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 87 | n,l = map(int,input().split())
s = sorted([input() for _ in range(n)])
print(*s,sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,649 |
s421628540 | p04044 | u256464928 | 1565883407 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 130 | n,l = map(int,input().split())
s = [input() for _ in range(n)]
s_sorted = sorted(s)
for i in range(n):
print(s_sorted[i],end="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,650 |
s826460708 | p04044 | u604231488 | 1565874007 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 126 | n, l = map(int, input().split())
s = [input() for i in range(n)]
s.sort()
t = ''
for i in range(n):
t = t + s[i]
print(t)
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,651 |
s890509566 | p04044 | u842388336 | 1565857925 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 128 | S,L=map(int,input().split())
w_list = []
for _ in range(S):
w_list.append(input())
w_list.sort()
w = "".join(w_list)
print(w) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,652 |
s251116601 | p04044 | u477977638 | 1565849069 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 83 | N,L=map(int,input().split())
s=sorted([input() for i in range(N)])
print(*s,sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,653 |
s878184029 | p04044 | u247922466 | 1565849010 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 192 | def B_IrohaLovesStrings():
N, L = map(int, input().split())
S = [input() for x in range(N)]
S.sort()
print(*S, sep="")
if __name__ == "__main__":
B_IrohaLovesStrings() | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,654 |
s724823836 | p04044 | u830054172 | 1565838294 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 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,214,655 |
s364637151 | p04044 | u842689614 | 1565837782 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 98 | N,L=map(int,input().split())
s=[]
for n 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,214,656 |
s340222092 | p04044 | u484229314 | 1565835749 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 115 | N,L = [int(_) for _ in input().split()]
S = []
for i in range(N):
S.append(input())
S.sort()
print(*S, sep='')
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,657 |
s025812045 | p04044 | u045909335 | 1565833360 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 91 | N, L = map(int, input().split())
S = [input() for _ in range(N)]
S.sort()
print(''.join(S)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,658 |
s442464064 | p04044 | u994988729 | 1565831950 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 117 | n,l=map(int,input().split())
lis=[]
for _ in range(n):
s=input()
lis.append(s)
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,214,659 |
s350885566 | p04044 | u594512144 | 1565827957 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 114 | N, L = map(int, input().split())
S = []
for i in range(N):
S.append(input())
S.sort()
S = ''.join(S)
print(S) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,660 |
s777803099 | p04044 | u675807218 | 1565827012 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 87 | n,l= map(int, input().split())
s= sorted([input() for i in range(n)])
print("".join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,661 |
s475151998 | p04044 | u649558044 | 1565819541 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 164 | inp = input().split(" ")
N = int(inp[0])
L = int(inp[1])
s = []
for i in range(N):
s.append(input())
s.sort()
res = ""
for i in range(N):
res += s[i]
print(res) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,662 |
s851666140 | p04044 | u785470389 | 1565812104 | Python | Python (3.4.3) | py | Accepted | 20 | 3060 | 139 | n, l = map(int, input().split())
s = []
for i in range(n):
s.append(str(input()))
s.sort()
for i in range(n):
print(s[i], end = "") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,663 |
s332060113 | p04044 | u846218099 | 1565809191 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 84 | n,l=map(int,input().split())
s=sorted([input() for i in range(n)])
print("".join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,664 |
s412922967 | p04044 | u325956328 | 1565807084 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 108 | 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,214,665 |
s023042796 | p04044 | u438662618 | 1565804100 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 95 | N, L = map(int, input().split())
S = [input() for i in range(N)]
S.sort()
print(*S, sep = '')
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,666 |
s027767974 | p04044 | u600448929 | 1565803161 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 156 | n, l = tuple(map(int, input().split()))
cadenas = []
for i in range(n):
cad = input()
cadenas.append(cad)
ans = ''.join(sorted(cadenas))
print(ans)
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,667 |
s965724366 | p04044 | u580093517 | 1565802798 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 90 | n,l = map(int,input().split())
s = sorted([input() for i in range(n)])
print(*s,sep = "") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,668 |
s330990494 | p04044 | u774729733 | 1565796773 | Python | Python (3.4.3) | py | Accepted | 20 | 3060 | 83 | n,l=map(int,input().split())
s=sorted([input() for i in range(n)])
print(*s,sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,669 |
s989522340 | p04044 | u906337264 | 1565786196 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 83 | n,l=map(int,input().split())
s=sorted([input() for i in range(n)])
print(*s,sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,670 |
s603585404 | p04044 | u285443936 | 1565785134 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 115 | N, L = map(int,input().split())
S = [input() for i in range(N)]
S.sort()
ans = ""
for s in S:
ans += s
print(ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,671 |
s038205106 | p04044 | u111365362 | 1565758414 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 146 | n,l = map(int,input().split())
raw = []
for i in range(n):
raw.append(input())
raw.sort()
ans = ''
for i in range(n):
ans += raw[i]
print(ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,672 |
s268240361 | p04044 | u936985471 | 1565752123 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 84 | n,l=map(int,input().split())
s=sorted([input() for i in range(n)])
print("".join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,673 |
s866537603 | p04044 | u598229387 | 1565751427 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 96 | n, l = map(int, input().split())
s = [input() for i in range(n)]
s = sorted(s)
print(''.join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,674 |
s248976227 | p04044 | u831873131 | 1565745010 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 103 | n, l = map(int, input().split(' '))
s_list = [input() for i in range(n)]
print(''.join(sorted(s_list))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,675 |
s793049036 | p04044 | u508141157 | 1565733889 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 81 | n,l=map(int,input().split())
s=sorted(input() for i in range(n))
print(*s,sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,676 |
s068426524 | p04044 | u465246274 | 1565733226 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 118 | n, l = map(int, input().split())
s_list = [input() for _ in range(n)]
s_list = sorted(s_list)
print(*s_list, sep='') | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,677 |
s667594747 | p04044 | u131634965 | 1565717736 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 117 | N, L = map(int, input().split())
n=sorted([input() for _ in range(N)])
s=""
for i in range(N):
s += n[i]
print(s) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,678 |
s926149805 | p04044 | u666844906 | 1565716470 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 106 | n, l = map(int, input().split())
s_list = [input() for i in range(n)]
s = sorted(s_list)
print(''.join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,679 |
s896156440 | p04044 | u489315616 | 1565705059 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 123 | n,l = map(int,input().split())
string_list=[input() for i in range(n)]
string_list.sort()
r = ''.join(string_list)
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,214,680 |
s452296857 | p04044 | u184817817 | 1565704917 | Python | Python (3.4.3) | py | Accepted | 25 | 3064 | 95 | 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,214,681 |
s053363587 | p04044 | u184817817 | 1565704889 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 107 | n,l = list(map(int,input().split()))
s = [input() for i in range(n)]
s.sort()
temp = ''.join(s)
print(temp) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,682 |
s111321259 | p04044 | u184817817 | 1565704695 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 135 | n,l = list(map(int,input().split()))
s = [input() for i in range(n)]
s.sort()
temp = ''
for i in range(n):
temp += s[i]
print(temp) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,683 |
s919161039 | p04044 | u044632922 | 1565668002 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 132 | n, l=map(int, input().split())
Lists=[]
for i in range(n):
Lists.append(input())
ListsSort=sorted(Lists)
print(''.join(ListsSort)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,684 |
s245992541 | p04044 | u280552586 | 1565664862 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 90 | n, l = map(int, input().split())
s = sorted([input() for i in range(n)])
print(*s, sep='') | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,685 |
s555514299 | p04044 | u652892331 | 1565660587 | Python | Python (3.4.3) | py | Accepted | 24 | 3060 | 310 | n, l = (int(i) for i in input().split())
word_list = [input() for i in range(n)]
word_list.sort()
ans = 0
for word in range(n):
for letter in range(l):
if ans == 0:
ans = word_list[word][letter]
else:
ans = "{0}{1}".format(ans, word_list[word][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,214,686 |
s322708638 | p04044 | u823044869 | 1565646412 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 190 | n, l = map(int,input().split())
str_lists = []
for i in range(n):
str_lists.append(input())
str_lists.sort()
result_str = ''
for j in str_lists:
result_str += j
print(result_str)
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,687 |
s039393441 | p04044 | u407016024 | 1565641266 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 170 | N, L = map(int, input().split())
S = [input() for _ in range(N)]
# for s in sorted(S):
# print(s,end='')
# print(*S, sep='')
print(''.join(sorted(S)))
# Either is ok | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,688 |
s017987344 | p04044 | u407016024 | 1565640861 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 104 | N, L = map(int, input().split())
S = [input() for _ in range(N)]
for s in sorted(S):
print(s,end='') | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,689 |
s522297803 | p04044 | u433532588 | 1565637233 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 92 |
n, l = map(int, input().split())
s = [input() for _ in range(n)]
s.sort()
print(''.join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,690 |
s124713992 | p04044 | u802963389 | 1565636237 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 91 | N, L = map(int, input().split())
s = [input() for _ in range(N)]
s.sort()
print("".join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,691 |
s400934718 | p04044 | u921027074 | 1565633653 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 84 | n,l =map(int,input().split())
s=sorted([input() for i in range(n)])
print(*s,sep='') | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,692 |
s221094971 | p04044 | u412481017 | 1565627793 | Python | Python (3.4.3) | py | Accepted | 18 | 3188 | 180 | import heapq
n,l =map(int,input().split())
a=[]
for i in range(n):
#print(i)
a.append(str(input()))
a.sort()
result=""
for item in a:
result=result+item
print(result) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,693 |
s341036621 | p04044 | u160659351 | 1565627411 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 102 | N, L = map(int, input().rstrip().split())
li = [input() for x 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,214,694 |
s155364094 | p04044 | u908763441 | 1565620429 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 174 | #! /Library/Frameworks/Python.framework/Versions/3.7/bin/python3
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,214,695 |
s076197468 | p04044 | u872030436 | 1565617475 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 95 | 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,214,696 |
s568483087 | p04044 | u790710233 | 1565612679 | 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,214,697 |
s080296526 | p04044 | u391328897 | 1565588726 | 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,214,698 |
s229053431 | p04044 | u745385679 | 1565587998 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 82 | N, L = map(int, input().split())
print(''.join(sorted(input() for _ in range(N)))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,699 |
s031919030 | p04044 | u847165882 | 1565583646 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 155 | num=input()
N,L=[int(s) for s in num.split(" ")]
list=[]
for i in range(1,N+1,1):
list.append(input())
list.sort()
mozi="".join(list)
print(mozi) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,700 |
s683624325 | p04044 | u491762407 | 1565580846 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 91 | N,L = map(int,input().split())
S = sorted(list(input() for i in range(N)))
print(*S,sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,701 |
s818894765 | p04044 | u946424121 | 1565579902 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 114 | n, l = map(int, input().split())
s = list()
for i in range(n):
s.append(input())
s.sort()
print("".join(s))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,702 |
s755938744 | p04044 | u600402037 | 1565579530 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 92 | n,l=list(map(int, input().split()))
s = sorted([input() for i in range(n)])
print(*s,sep='') | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,703 |
s038781325 | p04044 | u600402037 | 1565578867 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 108 | n,l=list(map(int, input().split()))
s = [input() for i in range(n)]
for i in sorted(s):
print(i, end='') | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,704 |
s626208265 | p04044 | u497326082 | 1565569847 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 84 | n,l=map(int,input().split())
s=sorted([input() for i in range(n)])
print("".join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,705 |
s779838051 | p04044 | u497326082 | 1565569563 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 84 | n,l=map(int,input().split())
s=sorted([input() for i in range(n)])
print("".join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,706 |
s435197786 | p04044 | u383416302 | 1565569003 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 83 | n,l=map(int,input().split())
s=sorted([input() for _ in range(n)])
print(*s,sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,707 |
s955637225 | p04044 | u035424059 | 1565567029 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 142 | min = ""
s = []
n,l = map(int,input().split())
for i in range(n):
s.append(input())
s.sort()
for i in range(n):
min +=s[i]
print(min)
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,708 |
s338879209 | p04044 | u921027074 | 1565565322 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 83 | n,l=map(int,input().split())
s=sorted([input() for i in range(n)])
print(*s,sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,709 |
s566787531 | p04044 | u008992227 | 1565564700 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 88 | n,l = map(int, input().split())
s = sorted([input() for i in range(n)])
print(*s,sep="") | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,710 |
s479269155 | p04044 | u629560745 | 1565562631 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 86 | n,l=map(int,input().split())
s = sorted([input() for i in range(n)])
print(*s,sep="")
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,711 |
s583724755 | p04044 | u867849998 | 1565562092 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 87 | n,l = map(int, input().split())
s = sorted(input() for k in range(n))
print("".join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,712 |
s892163554 | p04044 | u966508131 | 1565561504 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 107 | N, L = map(int, input().split())
S = sorted([input() for i in range(N)])
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,214,713 |
s342734253 | p04044 | u966508131 | 1565561355 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 92 | N, L = map(int, input().split())
S = sorted([input() for i in range(N)])
print(''.join(S))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,714 |
s804671205 | p04044 | u647522078 | 1565561247 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 90 | n,l = map(int, input().split())
s = sorted([input() for i in range(n)])
print("".join(s))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,715 |
s654407654 | p04044 | u820461302 | 1565560552 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 288 | # -*- coding: utf-8 -*-
# スペース区切りの整数の入力
N, L = map(int, input().split())
# 文字列用のリスト
s = []
# N回分のインプットを受け入れる
for i in range(N):
s.append(input())
# リストの昇順の並び替え
s.sort()
# 出力
print(''.join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,214,716 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.