submission_id string | problem_id string | status string | code string | input string | output string | problem_description string |
|---|---|---|---|---|---|---|
s774532099 | p04044 | Accepted | def solve():
n, _ = input().split()
print("".join(sorted([input() for i in range(int(n))])))
if __name__=="__main__":
solve() | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s607629923 | p04044 | Accepted | N, L = map(int, input().split())
s = [input() for i in range(N)]
s.sort()
print(''.join(s))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s078201780 | p04044 | Accepted | n,ll = map(int,raw_input().split())
var = []
i = 0
while (n > 0):
var.append(raw_input())
l = len(var[i])
if l > ll:
exit
i = i + 1
n = n - 1
var.sort()
print ''.join(var)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s927442887 | p04044 | Accepted | n, l = (int(s) for s in input().strip().split(' '))
a=[input() for _ in range(n)]
print("".join(sorted(a))) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s701980241 | p04044 | Accepted | N,L = map(int,raw_input().split( ))
words =[]
for i in range(N):
words.append(raw_input())
words.sort()
print ''.join(words) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s096505336 | p04044 | Accepted | n, l = map(int,input().split())
print(''.join(sorted(input() for i in range(n)))) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s064957305 | p04044 | Accepted | def solve():
n, l = map(int, input().split())
s = [input() for _ in range(n)]
s.sort()
print(''.join(s))
def main():
solve()
if __name__ == '__main__':
main()
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s259054465 | p04044 | Accepted | import re
import doctest
class IO_for_Contest(object):
@staticmethod
def my_input():
# return raw_input()
return input()
@staticmethod
def read_from_input():
n, l = IO_for_Contest.read_n_int(2)
raw_s = []
for x in range(n):
raw_s.append(IO_for_Conte... | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s720619513 | p04044 | Accepted | N,L = map(int,input().split())
strs = []
for i in range(N):
strs.append(input())
strs.sort()
ans = ""
for i in strs:
ans += i
print(ans)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s783462885 | p04044 | Accepted | N,L = map(int,raw_input().split( ))
word =[]
for i in range(N):
IN =(raw_input())
word.append(IN)
word.sort()
print ''.join(word)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s138221069 | p04044 | Accepted | N, L = list(map(int, input().split()))
strings = [input() for _ in range(N)]
strings.sort()
print(''.join(strings)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s557501369 | p04044 | Accepted | a = ""
n, l = map(int, raw_input().split())
s = []
for i in xrange(0, n):
s.append(raw_input())
s.sort()
for i in xrange(0, n):
a = a +s[i]
print a | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s826002304 | p04044 | Accepted | n,l = map(int,raw_input().split())
array=[]
for i in range(n):
array.append(raw_input())
array.sort()
print ''.join(array)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s844811528 | p04044 | Accepted | N, L = (int(i) for i in input().split())
String = [input() for s in range(N)]
for i in range(N-1):
start = N - 1
#print("start " + str(start))
for j in range(start-i):
#print(str(start-j-1) + " " + str(start-j))
Left = String[start-j-1]
Right = String[start-j]
if Left > Righ... | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s296159454 | p04044 | Accepted | import sys
def main(lines):
print(''.join(sorted(lines.split())))
next(sys.stdin)
lines = ''
for line in sys.stdin:
lines += line
main(lines)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s265962665 | p04044 | Accepted | n, l = map(int, input().split())
li = [input() for i in range(n)]
li.sort()
print("".join(li))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s952337127 | p04044 | Accepted | n,l = map(int,input().split())
s=[]
for i in range(n):
s.append(input())
s.sort()
print("".join(s))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s657090044 | p04044 | Accepted | N, L = map(int, raw_input().split())
S = [raw_input().split() for _ in range(N)]
r = ''
for i in sorted(S):
r += i[0]
print r | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s733428652 | p04044 | Accepted | N, L = map(int, input().split())
S = []
for _ in range(N):
S.append(input())
S.sort()
print(''.join(S)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s529979024 | p04044 | Accepted | n,m=[int(x) for x in input().split()]
l=sorted([input() for i in range(n)])
str=""
for x in l:
str+=x
print(str)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s484251551 | p04044 | Accepted | #coding: utf-8
#ABC042B
n,l=map(int,raw_input().split())
s=[raw_input() for i in xrange(n)]
s.sort()
res="".join(s)
print res
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s209364959 | p04044 | Accepted | N,L=map(int, input().split())
a=[]
for i in range(N):
a.append(input())
a.sort()
print(''.join(a))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s753563415 | p04044 | Accepted | N, L = map(int, input().split())
S = sorted([input() for i in range(N)])
print("".join(S))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s261187780 | p04044 | Accepted | # coding: utf-8
# Here your code !
ini = [int(x) for x in input().split(" ")]
print("".join(sorted([input() for i in range (ini[0])]))) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s929292932 | p04044 | Accepted | N, L = map(int, raw_input().split())
S = [raw_input() for _ in xrange(N)]
S.sort()
print ''.join(S) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s937047039 | p04044 | Accepted | n,l = map(int,input().split())
arr=[]
for i in range(n):
arr.append(input())
print(''.join(sorted(arr))) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s669954808 | p04044 | Accepted | n, l = map(int, input().split())
moji = []
for _ in range(n):
moji.append(input())
moji.sort()
print(''.join(moji))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s286957387 | p04044 | Accepted | print ''.join(sorted([raw_input() for i in range(int(raw_input().split()[0]))]))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s756478435 | p04044 | Accepted | #!/usr/bin/env python3
# -*- coding:utf-8 -*-
def main():
N, L = map(int, input().split())
S = sorted([input() for _ in range(N)])
# for i in S:
# print(i)
print("".join(S))
if __name__ == "__main__":
main()
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s786873343 | p04044 | Accepted | N = int(input().split()[0])
words = [input().strip() for i in range(N)]
print("".join(sorted(words))) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s763948938 | p04044 | Accepted | n, l = map(int, raw_input().split())
print "".join(sorted(raw_input() for i in xrange(n))) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s747142000 | p04044 | Accepted | N, L = map(int, raw_input().split())
S = [raw_input() for i in range(N)]
print "".join(sorted(S)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s321871970 | p04044 | Accepted | N, L = map(int, input().split())
S = []
for _ in range(N):
S.append(input())
S.sort()
print("".join(S)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s911821308 | p04044 | Accepted | N,L=input().split()
print("".join(sorted(input()for i in range(int(N))))) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s961144916 | p04044 | Accepted | N,L=map(int,input().split())
strs=[]
for i in range(N) : strs.append(input())
print("".join(sorted(strs)))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s452385464 | p04044 | Accepted | n, l = map(int, input().split())
print(''.join(sorted(input() for _ in range(n)))) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s154900489 | p04044 | Accepted | print("".join(sorted([input() for _ in range(int(input().split()[0]))])))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s816864348 | p04044 | Accepted | n,l=map(int,input().split())
s=[]
for i in range(n):
s.append(input())
s=list(sorted(s))
print(''.join(s)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s517291208 | p04044 | Accepted | import sys
f = sys.stdout.write
n,l=map(int,input().split())
s = [];
for _ in range(n):
s.append(input())
s.sort()
for i in range(n):
f(s[i]) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s278943979 | p04044 | Accepted | # coding: utf-8
# Here your code !
N, L = map(int, raw_input().split(" "))
lst = []
ans = ""
for i in xrange(0,N):
S_i = raw_input()
lst.append(S_i)
lst.sort()
for i in lst:
ans += i
print ans | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s046974872 | p04044 | Accepted | N,L = list(map(int, input().split()))
a = [input() for i in range(N)]
a.sort()
print('%s' % ''.join(a))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s311602400 | p04044 | Accepted | ans = ""
def get_input():
flag = 1
cnt = 0
while True:
if flag == 1:
N,L = input().split()
flag = 0
continue
else:
a = input()
yield ''.join(a)
cnt += 1
if cnt >= int(N):
break
if __name__ =... | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s391728140 | p04044 | Accepted | N, L = map(int, input().split())
print("".join(sorted([input() for x in range(N)]))) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s034371078 | p04044 | Accepted | #!/usr/bin/env python2
#encoding: UTF-8
# To change this license header, choose License Headers in Project Properties.
# To change this template file, choose Tools | Templates
# and open the template in the editor.
import math
line=raw_input().rstrip().split(' ')
N=int(line[0])
L=int(line[1])
listo=[]
for i in range(N... | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s460691245 | p04044 | Accepted | n,l = map(int,raw_input().split())
s = []
for i in xrange(n) :
s.append(raw_input())
s.sort()
t = ''
for j in xrange(n) :
t += s[j]
print t
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s291270889 | p04044 | Accepted | moji = []
n, l = map(int, input(). split())
for i in range(n):
moji.append(input())
moji.sort()
for i in moji:
print(i, end = '') | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s518832566 | p04044 | Accepted | n, l = map(int, raw_input().split())
l = []
for i in range(n):
l.append(raw_input())
l.sort()
s = ""
for i in range(n):
s += l[i]
print s | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s013124789 | p04044 | Accepted | N, L = map(int, input().split())
S = [input() for _ in range(N)]
s = ""
S.sort()
for i in range(N):
s += S[i]
print(s)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s956790736 | p04044 | Accepted | N, L = map(int, input().split())
S = []
s = ""
for _ in range(N):
S.append(input())
S.sort()
for i in range(N):
s += S[i]
print(s)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s959810660 | p04044 | Accepted | N, L = map(int, raw_input().split())
res = []
for i in range(N):
res.append(raw_input())
print "".join(sorted(res))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s528450986 | p04044 | Accepted | import numpy as np
N,L = map(int,raw_input().split())
s = []
for i in range(N):
s.append( raw_input())
print reduce((lambda a, b : a + b), np.sort(s)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s651907897 | p04044 | Accepted | N, L = (raw_input().split())
S = []
ans = ""
for i in range(int(N)):
S.append(raw_input())
S.sort()
for i in range(int(N)):
ans += S[i]
print ans | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s824736276 | p04044 | Accepted | N,L=map(int,input().split())
# N,L= 3,3
strs=[input() for i in range(N)]
# strs=["dkx","acx","axx"]
out=""
for s in sorted(strs):
out+=s
print(out)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s712280964 | p04044 | Accepted | N, L = map(int, input().split())
words = []
for i in range (N):
words.append(input())
words.sort()
output = ''
for w in words:
output += w
print(output)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s902539239 | p04044 | Accepted | l = raw_input().split()
a = []
for i in range(int(l[0])):
a.append(raw_input())
a.sort()
print ''.join(a) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s846570861 | p04044 | Accepted | def read():
return map(int, input().split())
n, l = read()
s = []
for _ in range(n):
s.append(input())
print(''.join(sorted(s)))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s042899091 | p04044 | Accepted | n,L=map(int,input().split())
a=[]
for i in range(n):
a.append(str(input()))
b=sorted(a)
ans=''.join(b)
print(ans)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s471146446 | p04044 | Accepted | catch = input()
catch = catch.split(" ")
N = int(catch[0])
S = []
for i in range(N):
S.append(input())
S.sort()
for i in range(N):
print(S[i], end = "")
print()
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s346212398 | p04044 | Accepted | n, l = map(int, raw_input().split())
s = [raw_input() for i in range(n)]
ans = ""
print "".join(sorted(s)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s877795000 | p04044 | Accepted | n, l = [int(i) for i in raw_input().split()]
a = [raw_input() for i in range(n)]
a.sort()
print(''.join(a)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s497081609 | p04044 | Accepted | cond = [int(n) for n in input().split(" ")]
data = []
for a in range(cond[0]):
data.append(input())
data = sorted(data)
print("".join(data)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s322451153 | p04044 | Accepted | #!/usr/bin/python3
N, L = list(map(int, input().split()))
S = []
for i in range(N):
S.append(input())
S.sort()
for i in range(N):
print(S[i], end="")
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s636390466 | p04044 | Accepted | n, l = map(int, input().split())
s = []
for i in range(n):
s.append(input())
s.sort()
print(''.join(s))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s469706146 | p04044 | Accepted | N, L = map(int, raw_input().split())
l = []
for _ in range(N):
l.append(raw_input().strip())
print "".join(sorted(l))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s083855876 | p04044 | Accepted | n, l = map(int, input().split(' '))
s = [input() for i in range(n)]
s.sort()
for t in s:
print(t, end='')
print() | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s513071449 | p04044 | Accepted | n, l = map(int,input().split())
s = [""] * n
for i in range(n):
s[i] = input()
s.sort()
print("".join(s)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s369367513 | p04044 | Accepted | N, L = map(int, raw_input().split())
S = []
for i in xrange(N):
S.append(raw_input())
S.sort()
ans = ""
for s in S:
ans += s
print ans
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s483453628 | p04044 | Accepted | N, L = map(int,input().split())
S = [str(input()) for _ in range(N)]
S.sort()
print("".join(S)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s735550900 | p04044 | Accepted | #coding :utf-8
N, L = map(int, raw_input().split())
s = sorted([raw_input() for i in xrange(N)])
print "".join(s) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s514621595 | p04044 | Accepted | N, _ = [int(x) for x in input().split()]
S = sorted([input() for _ in range(N)])
print(''.join(S))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s223815451 | p04044 | Runtime Error | println(join(sort!(readlines()[2:end]))) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s841280822 | p04044 | Runtime Error | n, l = map(int, input().split())
A = sorted([input() for _ in range(l)])
print("".join(A))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s732640963 | p04044 | Runtime Error | n,l=map(int,input().split())
li=[input() for i in range(n)]
sortli=sorted(li)
print("{}{}{}".format(sortli[0],sortli[1],sortli[2])) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s693480527 | p04044 | Runtime Error | from sys import stdin, stdout
from time import perf_counter
import sys
sys.setrecursionlimit(10**9)
mod = 10**9+7
import sys
sys.stdout = open("e:/cp/output.txt","w")
sys.stdin = open("e:/cp/input.txt","r")
n,l = map(int, input().split())
s = [input() for _ in range(n)]
s.sort()
result = ''.join(s)
print(s)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s677325914 | p04044 | Runtime Error | from sys import stdin
input = stdin.readline
L, N = map(int, input().split())
D = []
for i in range(N):
D.append(input()
D.sort()
print(''.join(D)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s252202671 | p04044 | Runtime Error | n,l=map(int,input().split())
for i in range(n):
list[i] = str(input())
newlist=list.sorted()
print(newlist,sep='') | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s756238971 | p04044 | Runtime Error | n,l = map(int,input().split())
ls = []
for i in range(n):
a = str(input())
ls.append(a)
ls.sort()
tx = ""
for i in range(n):
tx = tx +ls[n]
print(tx) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s740381791 | p04044 | Runtime Error | n,l=map(int,input().split())
s=[int(input()) for _ in range(n)]
s.sort()
for i in s:
print(i,end="")
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s789746483 | p04044 | Runtime Error | n,l=map(int,input().split())
s=[int(input()) for _ in range(n)]
s.sort()
print(i for i in s,end="") | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s751799390 | p04044 | Runtime Error | a,b = list(map(int,input().split(" ")))
l = [input() for i in range(b)]
l.sort()
print("".join(l)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s604471397 | p04044 | Runtime Error | # coding: utf-8
# Your code here!
a,b = list(map(int,input().split(" ")))
l = [input() for i in range(b)]
l = sorted(l)
new_l = ''.join(l)
print(new_l) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s448663633 | p04044 | Runtime Error | #include <iostream>
using namespace std;
int main()
{ int n,l;
cin>>n>>l;
string str[n], temp;
getchar();
for(int i = 0; i < n; ++i)
{
getline(cin, str[i]);
}
for(int i = 0; i < n-1; ++i)
for( int j = i+1; j < n; ++j)
{
if(str[i] > str[j])
{
... | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s543461181 | p04044 | Runtime Error | # bsdk idhar kya dekhne ko aaya hai, khud kr!!!
# import math
# from itertools import *
# import random
# import calendar
import datetime
# import webbrowser
# f = open("input.txt", 'r')
# g = open("output.txt", 'w')
# n, m = map(int, f.readline().split())
n, k = map(int, input().split())
arr = []
for i in range(k):
... | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s454178521 | p04044 | Runtime Error | 5 5 7
Yes
N,L = map(int,input().split())
str_list=[]
final_str = ""
for i in range(N):
str_list.append(input())
new_list = sorted(str_list)
for n in range(N):
final_str += new_list[n]
print(final_str)
3 3 | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s902827800 | p04044 | Runtime Error | l, n = map(int, input().split())
a = []
for i in range(n):
a.append(input())
a.sort()
b = ""
for i in a:
b += a
print(b) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s755169572 | p04044 | Runtime Error | N,L=map(int,input().split())
S=[input() for i in range(N)]
S.sorted()
for i in range(len(S)):
print(S[i]) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s068903521 | p04044 | Runtime Error | L, N = map(int, input().split())
C = [input() for i in range(N)]
C.sort()
i=0
while i < N:
print(C[i] , end ="")
i += 1 | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s482844003 | p04044 | Runtime Error | L, N = map(int, input().split())
C = list(range(N))
i=0
while i < N:
C[i] = input()
if len(C[i]) == L:
i += 1
else:
pass
C.sort()
i=0
while i < N:
print(C[i] , end ="")
i += 1 | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s649817302 | p04044 | Runtime Error | L, N = map(int, input().split())
C = list(range(N))
i=0
while i < N:
C[i] = input()
i += 1
C.sort()
i=0
while i < N:
print(C[i] , end ="")
i += 1
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s835892815 | p04044 | Runtime Error | n, l = map(int, input().split())
sl = []
for i in range(n):
s = input()
sl.append(s)
sl.sort()
"print(sl)
ans = ""
for i in range(n):
ans += sl[i]
print(ans) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s834099902 | p04044 | Runtime Error | n,l = map(int,input().split())
s =[input() for _ in range(n)]
ss = sorted(s)
print(ss[0]+ss[1]+ss[2]) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s066603575 | p04044 | Runtime Error | L,N = map(int,input().split())
S = []
for _ in range(N):
S.append(str(input()))
S.sort()
print(''.join(S)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s908370643 | p04044 | Runtime Error | L,N = map(int,input().split())
list1 = []
for l in range(N):
list1.append(str(input()))
list1.sort()
print(''.join(list1)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s905183989 | p04044 | Runtime Error | L,N = map(int,input().split())
list1 = []
for _ in range(N):
list1.append(str(input()))
list1.sort()
print(''.join(list1)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s740526031 | p04044 | Runtime Error | L,N = map(int,input().split())
list1 = []
for _ in range(N):
list1.append(input())
list1.sort()
print(''.join(list1)) | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s971266680 | p04044 | Runtime Error | first= input()
first = first.split()
N = int(first[0])
L =[]
for i in range(N)
s = input()
L.append(s)
L.sort()
for i in L:
print(i,end="")
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s459668881 | p04044 | Runtime Error | first= input()
first = first.split()
N = int(firsst[0])
L =[]
for i in range(N)
s = input()
L.append(s)
L.sort()
for i in L:
print(i,end="")
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s161223955 | p04044 | Runtime Error | n, l = map(int, input().split())
s = sorted([map(int, input().split()) for _ in range(n)])
print(*s, sep='') | 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s963352784 | p04044 | Runtime Error | N, L = map(int, input().split())
input_line1 = [input() for i in range(N)]
input_line2 = []
for i in range(N):
input_line2.append(min(input_line1))
input_line1.remove(min(input_line1))
print("".join(input_line2))
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
s584018464 | p04044 | Runtime Error | N,L = map(int, input().split())
string_list = [input() for i in range(N)]
string_list.sort()
print(''.join(string_list)
| 3 3
dxx
axx
cxx
| axxcxxdxx
| <span class="lang-en">
<p>Score : <var>200</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>Iroha has a sequence of <var>N</var> strings <var>S_1, S_2, ..., S_N</var>. The length of each string is <var>L</var>.</p>
<p>She will concatenate all of the strings in some order, to produce a long str... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.