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 stringlengths 1 5 | memory stringlengths 1 7 | code_size stringlengths 1 6 | code stringlengths 1 539k |
|---|---|---|---|---|---|---|---|---|---|---|---|
s225387233 | p04044 | u422267382 | 1580839213 | Python | Python (3.4.3) | py | Runtime Error | 280 | 3064 | 306 | N,L=map(int,input().split())
S=[input() for n in range(N)]
for num in range(L):
ans1=S[num]
for num2 in range(L):
ans2=S[num2]
for i in range(L):
if ans1[i]>ans2[i]:
True
else :
S[num],S[num2]=S[num2],S[num]
print("".join(S)) |
s111139172 | p04044 | u018679195 | 1580545177 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 151 | n=int(input())
l=int(input())
arr = ["" for x in range(n)]
for i in range(n):
arr[i]=input()
arr.sort()
for i in range(n):
print(arr[i],end="") |
s159885410 | p04044 | u863370423 | 1580540246 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 137 | N = int(input())
L = int(input())
l=[]
for _ in range(0,N):
s=input()
l.append(s)
s=""
l.sort()
for i in l:
s = s+i
print(s) |
s935428097 | p04044 | u018679195 | 1580540167 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 129 | N = int(input())
L = int(input())
l=[]
for _ in range(0,N):
l.append(input())
s=""
l.sort()
for i in l:
s = s+i
print(s) |
s770770162 | p04044 | u089230684 | 1580538886 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 180 | # cook your dish here
s=input()
m=s.split()
n=int(s[0]);
l=int(s[2]);
list=[]
for i in range(n):
st=input()
list.append(st)
list.sort()
for i in list:
print(i,end="")
|
s465676771 | p04044 | u081475068 | 1580354159 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 116 | N, L = map(int, input().split())
result = []
for i in range(N):
result.append(i)
print("".join(sorted(result))) |
s009584036 | p04044 | u479868443 | 1580169614 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 125 | a = list(map(int, input().split()))
b = []
for i in sys.stdin:
b.append(i)
b.sort()
c = ""
for j in b:
c += j
print(c) |
s111247871 | p04044 | u857070771 | 1580165748 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | s=input()
a=[]
for i in s:
if i == 'B':
if x:
a.pop()
else:
a.append(i)
print(''.join(a)) |
s886841667 | p04044 | u857070771 | 1580146232 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 120 | n,l = map(int,input().split())
s=[]
for i in range(n):
i=input()
s.append(i)
s.sort()
result=''.join(s)
print(reault)
|
s125840151 | p04044 | u437860615 | 1580066237 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 113 | l, n = map(int, input().split())
st = []
for _ in range(n):
st.append(str(input()))
st.sort()
print("".join(st)) |
s679256001 | p04044 | u437860615 | 1580066168 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 116 | l, n = map(int, input().split())
st = []
for _ in range(n):
st.append(str(input()))
st.sort()
print("".join(st)) |
s594174696 | p04044 | u437860615 | 1580066080 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 120 | l, n = map(int, input().split())
st = []
for _ in range(n):
st.append(str(input()))
st.sort()
print(''.join(st))
|
s456333249 | p04044 | u437860615 | 1580066022 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 146 | l, n = map(int, input().split())
st = []
for _ in range(n):
st.append(str(input()))
st.sort()
ans = ''
for s in st:
ans += s
print(ans)
|
s871567861 | p04044 | u437860615 | 1580065525 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 141 | l, n = map(int, input().split())
st = []
for _ in range(n):
st.append(input())
st.sort()
ans = ''
for s in st:
ans += s
print(ans)
|
s970146447 | p04044 | u686036872 | 1580016535 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 119 | N, L = map(int, input().split())
list=[]
for i in range(N):
list.append(str(input()))
print("".join(sorted.list())) |
s551568415 | p04044 | u127499732 | 1579998036 | Python | PyPy3 (2.4.0) | py | Runtime Error | 169 | 38640 | 84 | n,l = map(int,input().split())
l = sorted([str(input()) for _ in range(l)])
print(l) |
s558584054 | p04044 | u541294527 | 1579833360 | Python | PyPy3 (2.4.0) | py | Runtime Error | 173 | 38640 | 114 | N,K = map(int, input().split())
lst = []
for z in range(K):
lst.append(input())
lst.sort()
print("".join(lst)) |
s118009604 | p04044 | u329049771 | 1579805106 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | n, l = map (int, input().split())
s = sorted([input() for i in ratnge(n)])
print(*s, sep='') |
s952218315 | p04044 | u329049771 | 1579805028 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 90 | n, l = map (int, input().split())
s = sorted(input() for i in ratnge(n))
print(*s, sep='') |
s873770106 | p04044 | u790048565 | 1579778884 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 260 | N = int(input().splice()[0])
L = int(input().splice()[1])
Ss = []
for i in range(N):
Ss[i] = input()
for i, a in enumerate(Ss):
key = a
j = i - 1
while j >= 0 and Ss[j] > a:
Ss[j + 1] = Ss[j]
j = j - 1
Ss[j + 1] = key
print(' '.join(Ss)) |
s024347633 | p04044 | u909851424 | 1579399277 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 117 | l, n = map(int, input().split())
s = []
sort = []
for i in range(n):
s.append(input())
s.sort()
print(''.join(s)) |
s955275542 | p04044 | u293459994 | 1579177264 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 166 | a = input().split()
l = a[0]
n = a[1]
s = []
for i in range(int(n)):
s.append(input())
s.sort()
ret = ""
for i in range(int(n)):
ret = ret + s[i]
print(ret) |
s936646284 | p04044 | u093683571 | 1579128894 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 96 | N,L=map(int,input().split())
s=[list(input()) for i in range(N)]
p=sorted(s)
print("".joint(p)) |
s311762432 | p04044 | u218487926 | 1578971612 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 113 | n, l = list(map(int, input().split()))
t = []
for i in range(l):
t.append(input())
t.sort()
print(("").join(t)) |
s752295747 | p04044 | u416735281 | 1578936106 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 60 | print(''.join(sorted(input() for _ in range(int(input()))))) |
s966633366 | p04044 | u772062359 | 1578893999 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 96 | a , b = map(int,input().split())
c_list = [input() for i in range(a)]
c.sort()
print("".join(c)) |
s219064228 | p04044 | u772062359 | 1578893973 | Python | PyPy3 (2.4.0) | py | Runtime Error | 173 | 38384 | 96 | a , b = map(int,input().split())
c_list = [input() for i in range(a)]
c.sort()
print("".join(c)) |
s207175073 | p04044 | u772062359 | 1578893811 | Python | PyPy3 (2.4.0) | py | Runtime Error | 179 | 38640 | 148 | a , b = map(int,input().split())
list = []
papa = ""
for i in range(b):
list.append(input())
c = sorted(list)
for x in c:
papa += x
print(papa) |
s053240032 | p04044 | u772062359 | 1578893212 | Python | PyPy3 (2.4.0) | py | Runtime Error | 188 | 38640 | 154 | a , b = map(int,input().split())
list = []
papa = ""
for i in range(b):
list.append(input())
list.sort()
for x in list:
papa += x
print(papa) |
s855064086 | p04044 | u772062359 | 1578893011 | Python | PyPy3 (2.4.0) | py | Runtime Error | 169 | 38256 | 121 | a , b = map(int,input().split())
list = []
for i in range(b):
list.append(input())
list.sort()
print(join(list))
|
s887537091 | p04044 | u585819925 | 1578880011 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 88 | n,l = map(int, input().split())
s = [input() for i in range(N)]
print("".join(s.sort())) |
s646434565 | p04044 | u710907926 | 1578788180 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 91 | L, N = map(int, input().split())
s = [input() for i in range(N)]
print("".join(sorted(s)))
|
s344762185 | p04044 | u686036872 | 1578730033 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 100 | N, L=map(int, input().split())
s=[]
for i in range(n):
s.append(input())
print(''.join(sorted(s))) |
s498475365 | p04044 | u686036872 | 1578729950 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 102 | N, L=map(int, input().split(""))
s=[]
for i in range(n):
s.append(input())
print(''.join(sorted(s))) |
s928735811 | p04044 | u686036872 | 1578729792 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 104 | N, L=map(int, input().split(""))
s=[]
for i in range(n):
s.append(input())
print(''.join(sorted(s))
|
s256606791 | p04044 | u805045107 | 1578609071 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 121 | L, N = map(int,input().split())
words = []
for i in range(N):
words.append(input())
words.sort()
print(''.join(words)) |
s420207343 | p04044 | u427984570 | 1578325687 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 172 | num = int(input().split())
str = input()
strc = ''
for i in range(num[0]-1):
strc = input()
if str > strc:
str = strc + str
else:
str = str + strc
print(str) |
s050403625 | p04044 | u427984570 | 1578325564 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 167 | num = int(input().split())
str = ''
strc = ''
for i in range(num[0]-1):
strc = input()
if str > strc:
str = strc + str
else:
str = str + strc
print(str) |
s143646801 | p04044 | u427984570 | 1578325343 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 164 | num = int(input().split())
str = ''
strc = ''
for i in range(num[0]):
strc = input()
if str > strc:
str = strc + str
else:
str = str + strc
print(str) |
s135491377 | p04044 | u792512290 | 1577896777 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 124 | N,L=map(int, input().split())
str_lists = []
for i in ange(N):
str_lists.append(input())
print(''.join(sorted(str_lists))) |
s482377001 | p04044 | u792512290 | 1577896651 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 126 | N,L=map(int, input().split())
str_lists = []
for i in xrange(N):
str_lists.append(input())
print(''.join(sorted(str_lists))) |
s846716818 | p04044 | u963468276 | 1577714282 | Python | PyPy3 (2.4.0) | py | Runtime Error | 165 | 38256 | 93 | N, L = map(int, input().split())
S = [input() for i in range(N)]
print((''.join(S.sorted()))) |
s331282411 | p04044 | u029935728 | 1577266888 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 117 | N,L = input().split()
L=int(L)
S=[]
for i in range (L):
S.append(input())
S.sort()
for j in S :
print(j ,end="") |
s021586616 | p04044 | u029935728 | 1577266759 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 117 | N,L = input().split()
L=int(L)
S=[]
for i in range (L):
S.append(input())
S.sort()
for j in S :
print(j ,end="") |
s177033155 | p04044 | u609814378 | 1577235800 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 1 | a |
s873119169 | p04044 | u355137116 | 1577221757 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 111 | n, l = map(int, input().split())
S = []
for i in range(n):
S[i] = input()
ans = ''.jion(sorted(S))
print(ans) |
s044363994 | p04044 | u355137116 | 1577221640 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 104 | n, l = map(int, input().split())
S = []
for i in n:
S[i] = input()
ans = ''.jion(sorted(S))
print(ans) |
s875488742 | p04044 | u311669106 | 1577211499 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 96 | n,k=map(int,input().split())
ln=map(str(input()) for _ in range(n))
ln.sort()
print("".join(ln)) |
s016616472 | p04044 | u235280114 | 1577156861 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 87 | n,l = map(int,input().split())
s = sorted([input() for i in range(n)])
print(*s,seq="") |
s690306068 | p04044 | u311669106 | 1577136624 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 95 | n,k=map(int,input().split())
ln=map(str(input())for _ in range(n))
ln.sort()
print("".join(ln)) |
s910923958 | p04044 | u311669106 | 1577136609 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 95 | n,k=map(int,input().split())
ln=map(int(input())for _ in range(n))
ln.sort()
print("".join(ln)) |
s585788449 | p04044 | u311669106 | 1577136417 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 119 | n,k=map(int,input().split())
ln=map(int(input())for _ in range(n))
ln.sort()
for l in ln:
ans="".join(l)
print(ans) |
s821024177 | p04044 | u624689667 | 1577113636 | Python | PyPy3 (2.4.0) | py | Runtime Error | 168 | 38256 | 108 | N, _ = [int(i) for i in input().split()]
S = [input() for _ in range(N)]
ans = "".join(sorted(s))
print(ans) |
s211311864 | p04044 | u243572357 | 1576883586 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 90 | n, l = map(int, input().split())
a = sorted([input() for i in range(n)])
print("".join(s)) |
s887362562 | p04044 | u243572357 | 1576882447 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 112 | a, b = map(int, input().split())
lists = []
for i in range(a):
lists.add(input())
print(lists.sort.join(''))
|
s118150913 | p04044 | u919978322 | 1576869739 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 201 | ip1 = input().split()
N = int(ip1[0])
L = int(ip1[1])
strings = []
for i in range(N):
strings.append(input())
strings.sort()
ans = ""
for i in range(len(strings)):
ans += string[i]
print(ans)
|
s752812548 | p04044 | u243075416 | 1576866479 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | N, L = gets.split.map(&:to_i)
arr = []
N.times do
arr.push(gets.chomp)
end
arr.sort!
print arr.join |
s881422409 | p04044 | u469700628 | 1576821958 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 208 | N, x = list(map(int, input().split()))
li = sorted(list(map(int, input().split())))
res = 0
for i in li:
x -= i
if x < 0:
break
else:
res += 1
if x > 0:
res -= 1
print(res)
|
s369667233 | p04044 | u469700628 | 1576821904 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 215 | N, x = list(map(int, input().split()))
li = sorted(list(map(int, input().split())))
print(li)
res = 0
for i in li:
x -= i
if x < 0:
break
else:
res += 1
if x > 0:
res -= 1
print(res) |
s441215734 | p04044 | u469700628 | 1576819954 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 103 | N, L = map(int, input().split())
lix = sorted(input() for i in range(L))
res = "".join(lix)
print(res) |
s264663583 | p04044 | u469700628 | 1576819743 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 93 | N, L = map(int, input().split())
lix = sorted(input() for i in range(L))
print("".join(lix)) |
s830498248 | p04044 | u417014669 | 1576639841 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 89 | n,l=map(int,input())
s=[]
for i in range(n):
s.append(input())
print("",join(sorted(s))) |
s666487581 | p04044 | u417014669 | 1576639756 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 83 | n,l=map(int,input())
s=[]
for i in range(n):
s.append(i)
print("",join(sorted(s))) |
s558328512 | p04044 | u477343425 | 1576634230 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 89 | n, l = map(int(input().split()))
l = [for i in range(n)]
s = sorted(l)
print(*s,sep = "") |
s271345731 | p04044 | u477343425 | 1576634051 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | n, l = map(int(input()))
l = [for i in range(n)]
s = sorted(l)
print(*s,sep = "") |
s574086758 | p04044 | u680851063 | 1576355876 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 118 | a=input().split()
b=int(a[0])
data = [input() for i in range(+1)]
sort(data)
for j in data:
c=c+j
print(c)
|
s297040134 | p04044 | u680851063 | 1576355752 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 115 | a=input().split()
b=int(a[0])
data = [input() for i in range(b)]
sort(data)
for j in data:
c=c+j
print(c) |
s013661235 | p04044 | u638282348 | 1575792582 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 92 | [print("".join(sorted(input() for _ in range(l)))) for n, l in [map(int, input().split())]]
|
s559552108 | p04044 | u235376569 | 1575736788 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3064 | 168 | a = input().rstrip().split()
N=int(a[0])
L=int(a[1])
l=[]
for i in range(N):
b=input()
l.append()
l.sort()
ans=""
for i in range(N):
ans+=l[i]
print(ans) |
s839668386 | p04044 | u328090531 | 1575736526 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 137 | n, l = (int(x) for x in input().split())
s = list(str(x) for x in input().split())
s.sort()
ans = 0
while range(n + 1):
ans += s[n]
|
s802220687 | p04044 | u328090531 | 1575736276 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 153 | n, l = (int(x) for x in input().split())
while range(n + 1):
s = list(x for x in input.split())
s.sort()
ans = 0
while range(n + 1):
ans += s[n] |
s897098632 | p04044 | u328090531 | 1575736170 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 129 | n, l= (int(x) for x in input().split())
s = list(x for x in input.split())
s.sort()
ans = 0
while range(n + 1):
ans += s[n]
|
s361986804 | p04044 | u301331835 | 1575694944 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 119 | N , L = map(int,input().sqlit())
S.list()
for i in range(N):
S.append(input())
S.sort()
for i in range(S):
print(i) |
s739677770 | p04044 | u653792857 | 1575250950 | Python | Python (3.4.3) | py | Runtime Error | 27 | 3316 | 160 | a, b = map(int, input().split())
c =[]
for i in range(b-1):
c.append(str(input()))
c = sorted(c)
mojiretu = ''
for x in c:
mojiretu += x
print(mojiretu) |
s998811262 | p04044 | u653792857 | 1575250823 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3316 | 159 | a, b = map(int, input().split())
c =[]
for i in range(b):
c.append(str(input()))
c = sorted(c)
mojiretu = ''
for x in c:
mojiretu += x
print(mojiretu)
|
s264631493 | p04044 | u492447501 | 1573952003 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 93 | N, L = map(int, input().split())
A = sorted([input for _ in range(N)])
print(*A, sep="") |
s109914626 | p04044 | u855421552 | 1573449345 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 111 | x = list(map(int,input().split()))
for i in 0 to X[0]
A.append(input())
result = ''.join(A)
print(result)
|
s791951912 | p04044 | u053035261 | 1573360174 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 79 | a = input().split(" ")
s = [input() for i in range(a)]
print("".join(sorted(s)) |
s712227679 | p04044 | u633548583 | 1573258753 | Python | Python (3.4.3) | py | Runtime Error | 19 | 3060 | 84 | N,L=map(int,input().split())
S=[input() for i in range(N)]
print(''.join(S.sort()))
|
s153326839 | p04044 | u633548583 | 1573258659 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | N,L=map(int,input().split())
S=[input() for i in range(N)]
print(''.join(S.sort)) |
s256219763 | p04044 | u633000076 | 1572218978 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 114 | n,l=map(int,input().split(" "))
words=[input() for i in range(0,l)]
words.sort()
words="".join(words)
print(words) |
s826759521 | p04044 | u100418016 | 1572013429 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 160 | arr_len_int = int(input().split(' ')[1])
if (arr_len_int==1):
print(input())
else:
a = [input() for i in range(arr_len_int)]
a.sort()
print(''.join(a))
|
s466621461 | p04044 | u100418016 | 1572013179 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 110 | arr_len_int = int(input().split(' ')[1])
a = [input() for i in range(arr_len_int)]
a.sort()
print(''.join(a )) |
s030799048 | p04044 | u100418016 | 1572013006 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 121 | arr_len_int = int(input().split(' ')[1])
a = [input() for i in range(arr_len_int)]
a.sort()
b = set(a)
print(''.join(b )) |
s203940000 | p04044 | u897436032 | 1571790404 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 89 | L,N = map(int, input().split())
s = sorted([input() for i in range(N)])
print("".join(s)) |
s949515040 | p04044 | u897436032 | 1571790319 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 86 | L,N = (int, input().split())
s = sorted([input() for i in range(N)])
print("".join(s)) |
s193459856 | p04044 | u897436032 | 1571790234 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | L,N = (int, input().split())
s = sorted([input() for i in range(N)])
print(s,end="") |
s711510567 | p04044 | u997346103 | 1571622101 | Python | PyPy3 (2.4.0) | py | Runtime Error | 177 | 38512 | 83 | n, l = map(int, input().split())
s = sorted([input() for i in n])
print("".join(s)) |
s091335046 | p04044 | u506858457 | 1571488745 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 118 | n,l=map(int,input().split())
s=[]
for i range(n):
s.append(input())
s.sort()
ans=''
for x in s:
ans+=x
print(ans)
|
s891938576 | p04044 | u506858457 | 1571488497 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | n,l=map(int,input().split())
for i range(n):
s=input()
s=s.sort()
print(*s,sep='') |
s716165116 | p04044 | u506858457 | 1571453802 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 125 | N, L = map(int, input().split())
s=[]
for i in range(N):
s.append(i)
s.sort()
ans = ''
for x in s:
ans += x
print(ans)
|
s357342507 | p04044 | u396553339 | 1571403113 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 112 | n, l = map(int, input().split())
s = []
for i in range(l) :
s.append(input())
s.sort()
print(*s, sep='') |
s499110495 | p04044 | u593590006 | 1571364547 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 154 | n,m=map(int,input().split())
mat=[]
for i in range(n):
mat.append(list(input()))
mat.sort(key=lambda x:x)
ans=''
for i in mat:
ans+=i
print(ans) |
s310509484 | p04044 | u574483499 | 1571338218 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 143 | n = int(input())
l = int(input())
ln = []
for i in range n:
ln.append(input())
ln.sort()
s = ""
for word in ln:
s += word
print(s) |
s272670764 | p04044 | u088552457 | 1571265199 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 226 | # -*- coding: utf-8 -*-
length, count = list(map(int, input().split()))
words = []
for i in range(count):
s = input()
if len(s) != length:
continue
words.append(s)
words = sorted(words)
r = ''.join(words)
print(r) |
s227269250 | p04044 | u088552457 | 1571264253 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 182 | # -*- coding: utf-8 -*-
length, count = list(map(int, input().split()))
words = []
for i in range(count):
words.append(input())
words = sorted(words)
r = ''.join(words)
print(r) |
s357945869 | p04044 | u357630630 | 1571247376 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 92 | print("".join(sorted([input() for i in range(int("{}".format(input().split().pop(-1))))])))
|
s655428559 | p04044 | u077291787 | 1571153064 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 230 | # ABC042B - 文字列大好きいろはちゃんイージー / Iroha Loves Strings (ABC Edition)
def main():
N, L, A = map(int, open(0).read().split())
A.sort()
print("".join(A))
if __name__ == "__main__":
main() |
s026116412 | p04044 | u077291787 | 1571153042 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 240 | # ABC042B - 文字列大好きいろはちゃんイージー / Iroha Loves Strings (ABC Edition)
def main():
N, L, A = map(int, open(0).read().split())
A.sort()
print("".join(map(str, A)))
if __name__ == "__main__":
main() |
s490834471 | p04044 | u849398110 | 1570920560 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 183 | input_line = input().split()
list_str = []
ans_str = ''
for i in range(int(input_line[1])):
list_str.append(input())
list_str.sort()
for i in list_str:
ans_str += i
print(ans_str) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.