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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s681376565 | p04044 | u957084285 | 1529690039 | 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,215,517 |
s103357684 | p04044 | u724892495 | 1529635260 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 108 | n, l = map(int, input().split())
s = []
for i in range(n):
s.append(input())
s.sort()
print("".join(s))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,518 |
s936514190 | p04044 | u111202730 | 1529628744 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 159 | N, L = map(int, input().split())
s = []
for i in range(N):
s.append(input())
tmp2 = sorted(s)
ans = ""
for i in range(N):
ans += tmp2[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,519 |
s198655029 | p04044 | u108808596 | 1529554054 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 93 | N,L=map(int,raw_input().split())
s = [raw_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,520 |
s961398089 | p04044 | u329709276 | 1529542520 | 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,215,521 |
s281944900 | p04044 | u335295553 | 1529534732 | 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,215,522 |
s329767236 | p04044 | u268318377 | 1529358896 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 121 | N,L = map(int, input().split())
S = [input() for i in range(N)]
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,523 |
s401119591 | p04044 | u153729035 | 1529120339 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 77 | n,l=map(int,input().split())
print(''.join(sorted([input() for _ in [0]*n]))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,524 |
s987890240 | p04044 | u352706022 | 1528923579 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 133 | N, L = map(int, input().split())
S = sorted([input() for _ in range(N)])
res = ''
for i in range(N):
res = 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,215,525 |
s445188378 | p04044 | u506086925 | 1528777951 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 118 | n, l = map(int,input().split())
s = [input() for i in range(n)]
mj = sorted(s)
p = ""
for i in mj:
p += i
print(p) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,526 |
s694587494 | p04044 | u603234915 | 1528773811 | 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,215,527 |
s520455362 | p04044 | u403301154 | 1528773670 | 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())
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,528 |
s772934923 | p04044 | u755591593 | 1528744582 | Python | Python (3.4.3) | py | Accepted | 18 | 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,529 |
s256396974 | p04044 | u459283268 | 1528604673 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 91 | n, l = map(int, input().split())
a = sorted([input() for _ in range(n)])
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,530 |
s660547815 | p04044 | u883792993 | 1528492361 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 201 | N, L=list(map(int, input().split()))
stringList = []
for i in range(N):
stringList.append(input())
stringList.sort()
answer= ""
for i in range(N):
answer = answer + stringList[i]
print(answer) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,531 |
s670303229 | p04044 | u624475441 | 1528416299 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 66 | print(''.join(sorted(input()for _ in[0]*int(input().split()[0])))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,532 |
s908015931 | p04044 | u894440853 | 1528364735 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 73 | print("".join(sorted([input() for _ in range(int(input().split()[0]))]))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,533 |
s675856027 | p04044 | u026788530 | 1528312650 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 154 | l = input().split(' ')
N = int(l[0])
L = int(l[1])
S=[]
for i in range(N):
S.append(input())
S.sort()
for str in S:
print(str,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,534 |
s178866798 | p04044 | u729133443 | 1528302391 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 66 | print(''.join(sorted(input()for _ in[0]*int(input().split()[0])))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,535 |
s414811411 | p04044 | u729133443 | 1528301761 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 152 | n,l = (int(i) for i in input().split())
s = []
for i in range(n):
s.append(input())
s.sort()
ans = ""
for i in range(n):
ans = ans + s[i]
print(ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,536 |
s572393014 | p04044 | u136395536 | 1528299164 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 174 | N,L = (int(i) for i in input().split())
S = []
for i in range(N):
S.append(input())
S.sort(reverse =False)
ans = ""
for i in range(N):
ans = ans + S[i]
print(ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,537 |
s633508374 | p04044 | u136090046 | 1528253939 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 144 | n, l = map(int, input().split())
array = []
for i in range(n):
array.append(input())
sort_array = sorted(array)
print("".join(sort_array))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,538 |
s243628501 | p04044 | u688925304 | 1528168512 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 134 | ln_list = list(map(int, input().split()))
l = []
for list in range(ln_list[0]):
l.append(input())
l.sort()
a = ''.join(l)
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,539 |
s330661368 | p04044 | u679803741 | 1527992757 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 91 | n, l = map(int, input().split())
s = [input() for _ in range(n)]
s.sort()
print(''.join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,540 |
s507944989 | p04044 | u013513417 | 1527722898 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 146 | N,L=map(int,input().split())
mojiretsu=[]
for i in range(N):
mojiretsu.append(input())
mojiretsu.sort()
ans=''.join(mojiretsu)
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,541 |
s724881174 | p04044 | u399280934 | 1527616463 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 103 | n,l=map(int,input().split())
s=[input() for _ in range(n)]
s.sort()
a=''
for i in s:
a=a+i
print(a) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,542 |
s765640233 | p04044 | u112523623 | 1527545928 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 129 | n, l = list(map(int, input().split(' ')))
words = []
for _ in range(n):
words.append(input())
print("".join(sorted(words)))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,543 |
s841665146 | p04044 | u047535298 | 1526681201 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 90 | n, l = map(int, input().split())
S = [input() for i in range(n)]
print("".join(sorted(S))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,544 |
s237335060 | p04044 | u354638986 | 1526592012 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 227 | def main():
n, l = map(int, input().split())
s_lst = []
for i in range(n):
s_lst.append(input())
s_lst.sort()
print("".join(s_lst))
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,545 |
s278775784 | p04044 | u846150137 | 1526353763 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 126 | n,x=[int(i) for i in input().split()]
a=sorted([input().strip() for i in range(n)])
ans=""
for i in a:
ans=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,546 |
s356353449 | p04044 | u675044240 | 1525779745 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 111 | n , l = (int (i) for i in input().split())
text = [input() for i in range(n)]
text.sort()
print(''.join(text)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,547 |
s306911194 | p04044 | u925726015 | 1525682447 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 101 | n, l = map(int, input().split())
a = sorted([input() for i in range(n)])
print(''.join(map(str, 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,548 |
s980468676 | p04044 | u064246852 | 1525632805 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 134 | line = list(map(int,input().split()))
n,l = line[0],line[1]
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,549 |
s015926269 | p04044 | u214617707 | 1525544297 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 164 | n, l = map(int, input().split())
rec = []
for i in range(n):
s = input()
rec.append(s)
rec = sorted(rec)
t = ""
for i in range(n):
t += rec[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,215,550 |
s750341467 | p04044 | u634208461 | 1525358822 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 110 | N, L = map(int, input().split())
S = [input() for i in range(N)]
S.sort()
A = ''
for i in S:
A += i
print(A)
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,551 |
s702928728 | p04044 | u118019047 | 1525191434 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 167 | n,l = map(int,input().split())
dic = list()
ans=""
for i in range(n):
dic.append(input())
dic = sorted(dic)
for word in dic:
ans += word
print(ans) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,552 |
s933680950 | p04044 | u327248573 | 1525053394 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 124 | N, L = map(int, input().split(' '))
string = []
for i in range(N):
string.append(input())
print(''.join(sorted(string))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,553 |
s411027051 | p04044 | u745385679 | 1524976379 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 91 | n, k = map(int, input().split())
l = [input() for i in range(n)]
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,554 |
s050867951 | p04044 | u944209426 | 1524974623 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 91 | n, k = map(int, input().split())
l = [input() for i in range(n)]
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,555 |
s846461111 | p04044 | u709052417 | 1524972633 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 130 | N, L=map(int, input().split())
S=[]
A=""
for i in range(N):
S.append(input())
S.sort()
for i in range(N):
A+=S[i]
print(A) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,556 |
s461584974 | p04044 | u573970531 | 1524630135 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 153 | inn,gab = list(map(int,input().split()))
in1 = []
for i in range(inn):
in1.append(input())
in1.sort()
r = ""
for i in range(inn):
r+= in1[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,557 |
s073555956 | p04044 | u520158330 | 1524590692 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 110 | 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,558 |
s344293464 | p04044 | u268793453 | 1524583641 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 96 | n, m = [int(i) for i in input().split()]
print (str().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,559 |
s070491789 | p04044 | u200239931 | 1524520082 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 655 | import math
import sys
def getinputdata():
# 配列初期化
array_result = []
data = input()
array_result.append(data.split(" "))
flg = 1
try:
while flg:
data = input()
array_temp = []
if(data != ""):
array_re... | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,560 |
s283038142 | p04044 | u226108478 | 1523982794 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 207 | # -*- coding: utf-8 -*-
# AtCoder Beginner Contest
# Problem B
if __name__ == '__main__':
n, length = list(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,561 |
s246677500 | p04044 | u040380068 | 1523912613 | Python | Python (2.7.6) | py | Accepted | 11 | 2568 | 172 | inpt = map(int, raw_input().split())
lst = []
for i in range(0, inpt[0]):
lst.append(raw_input())
lst.sort()
s = ''
for i in range(0, inpt[0]):
s = s + lst[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,562 |
s419765293 | p04044 | u856232850 | 1523839807 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 153 | n, l = list(map(int,input().split()))
a = []
for i in range(n):
a.append(input())
b = sorted(a)
c = b[0]
for i in range(1,n):
c += b[i]
print(c)
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,563 |
s635904786 | p04044 | u826263061 | 1523823949 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 160 | n, l = list(map(int, input().split()))
s = []
for i in range(n):
s.append(input())
#print(s)
s.sort()
sol = ""
for i in range(n):
sol += s[i]
print(sol) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,564 |
s292059142 | p04044 | u218843509 | 1523634313 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 168 | ### -*- coding: utf-8 -*-
N = int(input().split()[0])
S_list = []
for row in range(N):
S_list.append(input())
S_list = sorted(S_list)
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,565 |
s610834598 | p04044 | u281303342 | 1523584610 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 104 | N,L = map(int,input().split())
A = []
for i in range(N):
A.append(input())
print("".join(sorted(A))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,566 |
s588167638 | p04044 | u766407523 | 1523394462 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 133 | N, L = map(int, input().split())
a = []
for i in range(N):
a.append(input())
ans = ''
for i in sorted(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,567 |
s527808137 | p04044 | u417835834 | 1523211367 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 128 | N,L = map(int,input().split())
S = ['']*N
for i in range(N):
S[i] = input()
S.sort()
S_connect = "".join(S)
print(S_connect) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,568 |
s078263552 | p04044 | u978494963 | 1523135466 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 113 | n,l = list(map(int, input().split(" ")))
s = []
for i in range(n):
s.append(input())
s.sort()
print("".join(s)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,569 |
s160226129 | p04044 | u657541767 | 1523035591 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 115 | n, l = map(int, input().split())
str_list = [input() for i in range(n)]
str_list.sort()
print("".join(str_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,570 |
s463584543 | p04044 | u562016607 | 1522826008 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 113 | N,L=map(int,input().split())
S=[input() for i in range(N)]
S.sort()
T=""
for i in range(N):
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,215,571 |
s457901785 | p04044 | u058580040 | 1522628781 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 338 | import sys
import io
def run(input: io.TextIOBase, output: io.TextIOBase):
nl = input.readline().split()
n = int(nl[0])
_ = int(nl[1])
s = []
for _ in range(0, n):
s.append(input.readline().strip())
s.sort()
output.write("".join(s) + '\n')
if __name__ == '__main__':
run(sys.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,572 |
s962368887 | p04044 | u363610900 | 1522615012 | 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,215,573 |
s122866819 | p04044 | u667949809 | 1522546023 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 107 | n,l = input().split()
n = int(n)
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,574 |
s521981472 | p04044 | u027622859 | 1522517375 | 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,215,575 |
s915958653 | p04044 | u562935282 | 1522402548 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 122 | n, l = map(int, input().split())
s = list(input().strip() for _ in range(n))
s_sorted = sorted(s)
print(''.join(s_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,576 |
s420529268 | p04044 | u846877959 | 1522380514 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 113 | n, l = map(int, input().split())
sn = []
for a in range(n):
sn.append(input())
sn.sort()
print(''.join(sn))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,577 |
s698604907 | p04044 | u729707098 | 1521949785 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 135 | n,l = (int(i) for i in input().split())
s = [input() for i in range(n)]
s.sort()
answer = ""
for i in s:
answer += i[:l]
print(answer) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,578 |
s572111378 | p04044 | u553348533 | 1521704164 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 127 | N,L = map(int,input().split())
listA = [input() for i in range(N)]
# main
listA = sorted(listA)
ans = "".join(listA)
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,579 |
s095396250 | p04044 | u109617871 | 1521672075 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 90 | N, L = map(int, input().split())
l = sorted([input() for i in range(N)])
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,580 |
s763394507 | p04044 | u976256337 | 1521346660 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 171 | N, L = map(int, input().split())
S = ["" for i in range(N)]
for i in range(N):
S[i] = input()
S.sort()
result = ""
for i in range(N):
result += S[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,581 |
s453749932 | p04044 | u429843511 | 1521246656 | Python | Python (3.4.3) | py | Accepted | 20 | 3060 | 178 | n, l = map(int, input().split())
#print(n)
#print(l)
s = [[''] for i in range(n)]
for i in range(n):
s[i] = input()
s.sort()
a = ''
for i in range(n):
a+=s[i]
print(a)
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,582 |
s995513475 | p04044 | u429843511 | 1521246610 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 178 | n, l = map(int, input().split())
#print(n)
#print(l)
s = [[''] for i in range(n)]
for i in range(n):
s[i] = input()
s.sort()
a = ''
for i in range(n):
a+=s[i]
print(a)
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,583 |
s804560990 | p04044 | u773981351 | 1521243179 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 98 | n, _ = map(int, input().split())
words = sorted([input() for _ in range(n)])
print(''.join(words)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,584 |
s758402229 | p04044 | u653005308 | 1521165076 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 124 | n,l=map(int,input().split())
list=[input() for i in range(n)]
list.sort()
ans=""
for word in list:
ans+=word
print(ans)
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,585 |
s430321949 | p04044 | u478462004 | 1520991082 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 101 | n, l = map(int,input().split())
s = [str(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,215,586 |
s662714757 | p04044 | u941884460 | 1520958967 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 155 | N,L=map(str,input().split())
line = []
for i in range(int(N)):
tmp = input().rstrip()
line.append(tmp)
line.sort()
result = ''.join(line)
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,587 |
s005533575 | p04044 | u632369368 | 1520749356 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 123 | N, _ = [int(n) for n in input().split()]
S = []
for _ in range(N):
S.append(input())
S = sorted(S)
print(''.join(S))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,588 |
s334361793 | p04044 | u672710370 | 1520490844 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 581 | import sys
debug_mode = True if len(sys.argv) > 1 and sys.argv[1] == "-d" else False
if debug_mode:
import os
inf = open(os.path.basename(__file__).replace(".py", ".in"))
def input():
return inf.readline()
else:
inf = sys.stdin
# ==============================================================
... | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,589 |
s865735062 | p04044 | u391475811 | 1520305594 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 121 | N,L=map(int,input().split())
A=[]
for i in range(N):
s=input().strip()
A.append(s)
A.sort()
ans=''.join(A)
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,590 |
s543915549 | p04044 | u019584841 | 1519854412 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 120 | N, L = map(int, input().split())
a = [input() for i in range(N)]
a.sort()
b = ""
for i in range(N):
b += a[i]
print(b)
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,591 |
s151616661 | p04044 | u019584841 | 1519854399 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 120 | N, L = map(int, input().split())
a = [input() for i in range(N)]
a.sort()
b = ""
for i in range(N):
b += a[i]
print(b)
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,592 |
s532067715 | p04044 | u030726788 | 1519366383 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 148 | import sys
N,L=map(int,input().split())
S=[]
for i in range(N):
S.append(input())
S.sort()
outp=""
for i in range(N):
outp+=S[i]
print(outp) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,593 |
s708929553 | p04044 | u621935300 | 1519362884 | Python | Python (2.7.6) | py | Accepted | 11 | 2568 | 93 | N,L=map(int,raw_input().split())
a=[ raw_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,594 |
s454743660 | p04044 | u954693495 | 1519306558 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 112 | n, l = [int(i) for i in 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,595 |
s478895769 | p04044 | u319612498 | 1519257336 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 115 | n,l=map(int,input().split())
s=[input() for i in range(n)]
s=sorted(s)
a=""
for i in range(n):
a+=s[i]
print(a) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,596 |
s175664626 | p04044 | u586577600 | 1519248429 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 106 | n, l = map(int, input().split())
ss = []
for i in range(n): ss.append(input())
print(''.join(sorted(ss)))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,597 |
s995401375 | p04044 | u601913978 | 1519246305 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 90 | n, l = map(int, input().split())
print(''.join(list(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,598 |
s355984182 | p04044 | u875361824 | 1518429414 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 195 | def main():
N, L = map(int, input().split())
S = [input() for _ in range(N)]
ans = ""
for s in sorted(S):
ans += s
print(ans)
if __name__ == '__main__':
main()
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,599 |
s950984047 | p04044 | u103539599 | 1518242359 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 189 | N,L=map(int,input().split())
S=[input() for i in range(N)]
T=[]
for i in range(N):
s=min(S)
T.append(s)
S.pop(S.index(s))
Ts=""
for i in range(len(T)):
Ts+=T[i]
print(Ts) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,600 |
s030079858 | p04044 | u869835499 | 1518241741 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 134 | import sys
N,L=map(int,input().split())
S=[input() for i in range(N)]
S.sort()
for j in range(N):
sys.stdout.write(S[j])
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,601 |
s555301019 | p04044 | u764600134 | 1517679361 | Python | Python (3.4.3) | py | Accepted | 20 | 3064 | 400 | # -*- coding: utf-8 -*-
"""
https://beta.atcoder.jp/contests/abc042/tasks/abc042_b
"""
import sys
from sys import stdin
input = stdin.readline
def solve(data):
data.sort()
return data
def main(args):
N, L = map(int, input().split())
data = [input().strip() for _ in range(N)]
ans = solve(data)
... | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,602 |
s295562610 | p04044 | u284102701 | 1517514395 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 115 | n,l=map(int,input().split())
s=[input() for i in range(n)]
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,603 |
s882838819 | p04044 | u952708174 | 1517084393 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 103 | N,L = [int(i) for i in input().split()]
S=[input().strip() for j 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,604 |
s607536127 | p04044 | u432780056 | 1516328073 | 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,605 |
s382863582 | p04044 | u257974487 | 1516318099 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 130 | N, L = map(int,input().split())
P = [input() for _ in range(N)]
P.sort()
ans = str()
for i in range(N):
ans += P[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,606 |
s860585062 | p04044 | u811528179 | 1516298117 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 134 | n,l=map(int,input().split())
s=[]
for i in range(n):
s.append(str(input()))
s=sorted(s)
for i in range(n):
print(s[i],end='')
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,607 |
s344973107 | p04044 | u350179603 | 1515872548 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 109 | 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,608 |
s456408590 | p04044 | u124843595 | 1515830868 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 114 | n, l = [int(x) for x in input().split()]
s = []
for _ in range(n):
s.append(input())
print("".join(sorted(s))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,609 |
s987074073 | p04044 | u451017206 | 1515810946 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 84 | n,l=map(int,input().split())
s=[input() for i in range(n)]
print(''.join(sorted(s))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,610 |
s865209917 | p04044 | u075012704 | 1515552138 | Python | Python (3.4.3) | py | Accepted | 18 | 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,611 |
s955984940 | p04044 | u136090046 | 1515356138 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 143 | n, l = map(int, input().split())
array = []
for i in range(n):
array.append(input())
sort_array = sorted(array)
print("".join(sort_array)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</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,612 |
s196423549 | p04044 | u665415433 | 1515121736 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 111 | N,L = map(int,input().split())
s = []
for n in range(N):
s.append(input())
s = sorted(s)
print(''.join(s))
| p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,613 |
s358273345 | p04044 | u143492911 | 1514438088 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 127 | n,l=map(int,input().split())
s=[]
for i in range(n):
s.append(input())
s.sort()
moji=""
for i in s:
moji+=i
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,614 |
s340786067 | p04044 | u550574002 | 1514432878 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 74 | n=int(input().split()[0])
print("".join(sorted([input() for _ in [0]*n]))) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,615 |
s319797015 | p04044 | u854627522 | 1514094172 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 158 | import sys
n, l = map(int, sys.stdin.readline().split())
words = []
for i in range(n):
s = input()
words.append(s)
words.sort()
print(''.join(words)) | p04044 | <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... | 3 3
dxx
axx
cxx
| axxcxxdxx
| 1,215,616 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.