s_id
string
p_id
string
u_id
string
date
string
language
string
original_language
string
filename_ext
string
status
string
cpu_time
string
memory
string
code_size
string
code
string
error
string
stdout
string
s699716782
p04044
u016622494
1562096547
Python
Python (3.4.3)
py
Runtime Error
17
3060
263
N , L= map(int,input().split()) lst = [] Str = '' for i in range(N): lst.append(input()) for k in range(N): for M in range(M-1): if lst[M] > lst[M+1]: lst[M],lst[M+1] = lst[M+1] , lst[M] for j in range(N): Str += lst[j] print(Str)
Traceback (most recent call last): File "/tmp/tmp7uw10dcc/tmpr86nte7a.py", line 1, in <module> N , L= map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s482164906
p04044
u016622494
1562096522
Python
Python (3.4.3)
py
Runtime Error
17
3060
264
N , L= map(int,input().split()) lst = [] Str = '' for i in range(N): lst.append(input()) for k in range(N): for M in range(M-1): if lst[M] > lst[M+1]: lst[M],lst[M+1] ==lst[M+1] , lst[M] for j in range(N): Str += lst[j] print(Str)
Traceback (most recent call last): File "/tmp/tmpfycbnpth/tmpb1i6070m.py", line 1, in <module> N , L= map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s747094372
p04044
u016622494
1562096286
Python
Python (3.4.3)
py
Runtime Error
17
3060
153
N , L= map(int,input().split()) lst = [] Str = '' for i in range(N): lst.append(input()) lst.sort() for j in range(N): Str += Slst[j] print(Str)
Traceback (most recent call last): File "/tmp/tmpp2fmyqvz/tmps3ypu5az.py", line 1, in <module> N , L= map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s623143147
p04044
u016622494
1562096212
Python
Python (3.4.3)
py
Runtime Error
17
2940
146
N , L= map(int,input().split()) lst = list() Str = '' for i in range(n): lst.append(input()) lst.sort() for j in lst: Str += j print(Str)
Traceback (most recent call last): File "/tmp/tmpw2c7kn4a/tmp36sol037.py", line 1, in <module> N , L= map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s348766416
p04044
u016622494
1562096074
Python
Python (3.4.3)
py
Runtime Error
17
3060
146
N , L= map(int,input().split()) lst = list() Str = '' for i in range(L): lst.append(input()) lst.sort() for j in lst: Str += j print(Str)
Traceback (most recent call last): File "/tmp/tmpw5p_my1v/tmpz84n2pti.py", line 1, in <module> N , L= map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s325679270
p04044
u016622494
1562095754
Python
Python (3.4.3)
py
Runtime Error
22
3060
275
N , L= map(int,input().split()) lst = list() Str = '' for i in range(L): lst.append(input()) for k in range(N): for j in range(N-1): if lst[j]+lst[j+1] >= lst[j+1]+lst[j]: lst[j],lst[j+1] = lst[j+1] ,lst[j] for i in lst: Str += i print(Str)
Traceback (most recent call last): File "/tmp/tmpmz_ysjz2/tmp_nvvw_xg.py", line 1, in <module> N , L= map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s604089376
p04044
u016622494
1562095729
Python
Python (3.4.3)
py
Runtime Error
23
3060
275
N , L= map(int,input().split()) lst = list() Str = '' for i in range(L): lst.append(input()) for k in range(N): for j in range(N-1): if lst[j]+lst[j+1] >= lst[j+1]+lst[j]: lst[j],lst[j+1] = lst[j+1] ,lst[j] for i in lst: Str += i print(Str)
Traceback (most recent call last): File "/tmp/tmpzwxggqqz/tmpjqfwq0eh.py", line 1, in <module> N , L= map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s390214191
p04044
u016622494
1562095671
Python
Python (3.4.3)
py
Runtime Error
20
3060
259
N , L= map(int,input().split()) lst = list() Str = '' for i in range(L): lst.append(input()) for k in range(N): for j in range(N-1): if lst[j] >= lst[j+1]: lst[j],lst[j+1] = lst[j+1] ,lst[j] for i in lst: Str += i print(Str)
Traceback (most recent call last): File "/tmp/tmp892q0b31/tmpq0b9oa8q.py", line 1, in <module> N , L= map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s240160672
p04044
u016622494
1562095575
Python
Python (3.4.3)
py
Runtime Error
20
3060
259
N , L= map(int,input().split()) lst = list() Str = '' for i in range(L): lst.append(input()) for k in range(N): for j in range(N-1): if lst[j] >= lst[j+1]: lst[j],lst[j+1] = lst[j+1] ,lst[j] for i in lst: Str += i print(Str)
Traceback (most recent call last): File "/tmp/tmpdvf8ctc6/tmp34bru_78.py", line 1, in <module> N , L= map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s085919607
p04044
u016622494
1562095425
Python
Python (3.4.3)
py
Runtime Error
20
3064
259
N , L= map(int,input().split()) lst = list() Str = '' for i in range(L): lst.append(input()) for k in range(N): for j in range(N-1): if lst[j] >= lst[j+1]: lst[j],lst[j+1] = lst[j+1] ,lst[j] for i in lst: Str += i print(lst)
Traceback (most recent call last): File "/tmp/tmp42ocgk2z/tmpo4t2sls_.py", line 1, in <module> N , L= map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s618676840
p04044
u016622494
1562094670
Python
Python (3.4.3)
py
Runtime Error
17
3060
276
N , L= map(int,input().split()) lst = list() lst2 = '' for i in range(L): lst.append(input()) lst.sort() #for k in range(N): # for j in range(N-1): # if lst[j] > lst[j+1]: # lst[j],lst[j+1] = lst[j+1] ,lst[j] for i in lst: lst2 += i print(lst2)
Traceback (most recent call last): File "/tmp/tmpzeehshdx/tmp2axpbtlx.py", line 1, in <module> N , L= map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s187654757
p04044
u016622494
1562093534
Python
Python (3.4.3)
py
Runtime Error
17
3060
286
N , L= map(int,input().split()) lst = list() lst2 = '' for i in range(L): lst.append(input()) lst.sort() #for k in range(N): # for j in range(N-1): # if lst[j] > lst[j+1]: # lst[j],lst[j+1] = lst[j+1] ,lst[j] for i in range(L): lst2 += lst[i] print(lst2)
Traceback (most recent call last): File "/tmp/tmpwtorx_yp/tmp7rrt9xuz.py", line 1, in <module> N , L= map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s553785634
p04044
u016622494
1562093280
Python
Python (3.4.3)
py
Runtime Error
20
3060
271
N , L= map(int,input().split()) lst = list() lst2 = '' for i in range(L): lst.append(input()) for k in range(N): for j in range(N-1): if lst[j] > lst[j+1]: lst[j],lst[j+1] = lst[j+1] ,lst[j] for M in range(L): lst2 += lst[M] print(lst2)
Traceback (most recent call last): File "/tmp/tmpglagsxkt/tmp79o15vgn.py", line 1, in <module> N , L= map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s035353907
p04044
u016622494
1562093023
Python
Python (3.4.3)
py
Runtime Error
20
3060
270
N , L= map(int,input().split()) lst = list() lst2 = '' for i in range(L): lst.append(input()) for k in range(N): for j in range(N-1): if lst[j] > lst[j+1]: lst[j],lst[j+1] = lst[j+1] ,lst[j] for M in range(L): lst2 += lst[M] print(lst2)
Traceback (most recent call last): File "/tmp/tmp_smsinju/tmp5qnzmtt1.py", line 1, in <module> N , L= map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s739625148
p04044
u537976628
1561779317
Python
Python (3.4.3)
py
Runtime Error
17
3060
123
N, L = map(int, input().split()) S = list(input() for i in range(L)) S.sort() str = "" for i in S: str += i print(str)
Traceback (most recent call last): File "/tmp/tmpj92sw8m9/tmpn8b25s3f.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s124917352
p04044
u671252250
1561748503
Python
Python (3.4.3)
py
Runtime Error
17
3060
176
# coding: utf-8 # Your code here! N, L = map(int, input().split()) arr = [input() for i in range(N)] sort_arr = sorted(arr) for i in range(L): print(sort_arr[i], end = "")
Traceback (most recent call last): File "/tmp/tmpo1cj2nqk/tmpkhu73256.py", line 4, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s317727688
p04044
u879077265
1561603617
Python
Python (3.4.3)
py
Runtime Error
17
2940
170
N,S = map(int, input().split()) strs = [] for i in range(N): strs.append(input()) s1 = min(strs) strs.remove(s1) s2 = min(strs) strs.remove(s2) print(s1+s2+strs[0])
Traceback (most recent call last): File "/tmp/tmpa6cpp69x/tmpk5xl7nz5.py", line 1, in <module> N,S = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s285088118
p04044
u775742948
1561163235
Python
Python (3.4.3)
py
Runtime Error
17
3060
139
N = int(input()) L = int(input()) s_list = [input() for _ in range(N)] s_list.sort() for ele in s_list: print(ele, end = '')
Traceback (most recent call last): File "/tmp/tmp3cnesi4h/tmppe54hmcv.py", line 1, in <module> N = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s713427137
p04044
u775742948
1561163095
Python
Python (3.4.3)
py
Runtime Error
18
3060
133
N = int(input()) L = int(input()) s_list = [input() for _ in range(N)] for ele in sorted(s_list): print(ele, end = '')
Traceback (most recent call last): File "/tmp/tmp_esdz5dh/tmpozcv9g8p.py", line 1, in <module> N = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s693212038
p04044
u775742948
1561158830
Python
Python (3.4.3)
py
Runtime Error
17
2940
141
N = int(input()) L = int(input()) a = [] for i in range(N): a.append(input()) for ele in sorted(a): print(ele, end = '')
Traceback (most recent call last): File "/tmp/tmpykegj97q/tmpiseazct7.py", line 1, in <module> N = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s186971697
p04044
u623687794
1560963093
Python
Python (3.4.3)
py
Runtime Error
20
3060
198
n,l=map(int,input().split()) words=[] for i in range(n): words.append(input()) for i in range(n-1,-1,-1): words.sort(key=lambda x:ord(x[i])) ans="" for i in range(n): ans+=words[i] print(ans)
Traceback (most recent call last): File "/tmp/tmpeuz1u8us/tmpgtkefzt6.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s108394846
p04044
u623687794
1560963011
Python
Python (3.4.3)
py
Runtime Error
20
3060
196
n,l=map(int,input().split()) words=[] for i in range(n): words.append(input()) for i in range(n-1,0,-1): words.sort(key=lambda x:ord(x[i])) ans="" for i in range(n): ans+=words[i] print(ans)
Traceback (most recent call last): File "/tmp/tmpd2lrp9sy/tmpw4bm6h49.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s969287030
p04044
u663014688
1560898312
Python
Python (3.4.3)
py
Runtime Error
17
3064
141
N,L = map(int, input().split()) S = [i for i in input()] S = sorted(S) arr = [] for i in range(N): arr.append(S[i]) print(''.join(arr))
Traceback (most recent call last): File "/tmp/tmp50nrcq84/tmpeal7n2fh.py", line 1, in <module> N,L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s254658945
p04044
u469063372
1560601661
Python
Python (3.4.3)
py
Runtime Error
17
2940
116
n, l = map(int, input().split()) sList = [] for i in range(n): sList.append() sList.sort() print(''.join(sList))
Traceback (most recent call last): File "/tmp/tmpieo_a4hs/tmpf583ycb0.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s825114355
p04044
u874549552
1560183608
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
N,L = map(int,input().split()) s = sortedf([input() for i in range(N)]) print("".join(s))
Traceback (most recent call last): File "/tmp/tmp16dcp2q6/tmpjrb5ke49.py", line 1, in <module> N,L = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s246931080
p04044
u399721252
1559112206
Python
Python (3.4.3)
py
Runtime Error
17
2940
117
n, l = [ v for v in input().split() ] string_list = sorted([ input() for v in range(n) ]) print("".join(string_list))
Traceback (most recent call last): File "/tmp/tmpxw7x8m43/tmpuws9scke.py", line 1, in <module> n, l = [ v for v in input().split() ] ^^^^^^^ EOFError: EOF when reading a line
s947296826
p04044
u802772880
1558798899
Python
Python (3.4.3)
py
Runtime Error
17
2940
83
n,l=map(int,input().split()) s=[input() for i in range(n)] print(''.join(sorted(s))
File "/tmp/tmpoe9i4ktq/tmpa5wg5ego.py", line 3 print(''.join(sorted(s)) ^ SyntaxError: '(' was never closed
s821715399
p04044
u381739460
1558621418
Python
Python (3.4.3)
py
Runtime Error
17
3060
131
N , L = (int(i) for i in input().split()) t = [str(input()) for i in range(N)] t.sort() for x in range(0,L): print(t[x],end="")
Traceback (most recent call last): File "/tmp/tmpr9ud93rk/tmph8zdgejh.py", line 1, in <module> N , L = (int(i) for i in input().split()) ^^^^^^^ EOFError: EOF when reading a line
s200083037
p04044
u706167597
1558327458
Python
Python (3.4.3)
py
Runtime Error
17
3060
127
s, n = map(int,input().split()) a = input() b = input() c = input() ar = [a,b,c] ar.sort() result = ''.join(ar) print(result)
Traceback (most recent call last): File "/tmp/tmp2b1y8gn7/tmpcdsu7ar0.py", line 1, in <module> s, n = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s783465303
p04044
u706167597
1558327207
Python
Python (3.4.3)
py
Runtime Error
17
3060
127
s, n = map(int,input().split()) a = input() b = input() c = input() ar = [a,b,c] ar.sort() result = ''.join(ar) print(result)
Traceback (most recent call last): File "/tmp/tmpwd4ft_a7/tmps_cfg4ec.py", line 1, in <module> s, n = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s502533467
p04044
u262290772
1558321588
Python
Python (3.4.3)
py
Runtime Error
19
2940
204
int main (): N = input('>>') L = input('>>') for i in range(N): dict = [input('>>')] dict.sort() for i in range(N): print(str(dict[i])) if __name__ = '__main__': main()
File "/tmp/tmpqwsizh9n/tmphr6xofug.py", line 1 int main (): ^^^^ SyntaxError: invalid syntax
s548995883
p04044
u507116804
1557710857
Python
Python (3.4.3)
py
Runtime Error
17
2940
117
n,l=map(int,input().split()) k=[] for i in range(n): s=input() k.append(s) x=sort(k) z="".join(x) print(z)
Traceback (most recent call last): File "/tmp/tmpkbszgunu/tmp09f91mm7.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s318216508
p04044
u733348255
1557358130
Python
Python (3.4.3)
py
Runtime Error
17
3060
155
a, b = map(int, input().split()) string = [] for l in range(b): s = input() string.append(s) string.sort() result = ''.join(string) print(result)
Traceback (most recent call last): File "/tmp/tmp7hp_nofc/tmpttv0mflz.py", line 1, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s446489802
p04044
u268470352
1557278816
Python
Python (3.4.3)
py
Runtime Error
18
2940
100
N, L= input().split() s = [] for i in range(int(N)): s.append(input()) print(''.join(s.sort()))
Traceback (most recent call last): File "/tmp/tmp2ppsppji/tmppqtq3ls4.py", line 1, in <module> N, L= input().split() ^^^^^^^ EOFError: EOF when reading a line
s771507802
p04044
u268470352
1557278696
Python
Python (3.4.3)
py
Runtime Error
18
2940
93
N, L= input().split() s = [] for i in range(int(N)): s.append(input()) ''.join(s.sort())
Traceback (most recent call last): File "/tmp/tmplkbn5sue/tmpihwh60eh.py", line 1, in <module> N, L= input().split() ^^^^^^^ EOFError: EOF when reading a line
s426014201
p04044
u799000757
1557198373
Python
Python (3.4.3)
py
Runtime Error
17
2940
111
n,l=map(int,input().split()) moji=[] for i in range(n): moji.appned(input()) moji.sort() print("".join(moji))
Traceback (most recent call last): File "/tmp/tmpdngle54x/tmpipa2pcs3.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s708941440
p04044
u329706129
1557197578
Python
PyPy3 (2.4.0)
py
Runtime Error
170
38256
121
# -*- coding: UTF-8 -*- L, N = map(int, input().split()) a = [input() for i in range(N)] a.sort() b = "".join(a) print(b)
Traceback (most recent call last): File "/tmp/tmp3p4g6l5p/tmpx_ezndms.py", line 2, in <module> L, N = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s143905476
p04044
u329706129
1557197407
Python
PyPy3 (2.4.0)
py
Runtime Error
174
38512
126
# -*- coding: UTF-8 -*- L, N = map(int, input().split()) a = list(input() for i in range(N)) a.sort() b = "".join(a) print(b)
Traceback (most recent call last): File "/tmp/tmpebcusxje/tmpyhppeveg.py", line 2, in <module> L, N = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s086432561
p04044
u329706129
1557197236
Python
PyPy3 (2.4.0)
py
Runtime Error
174
38640
126
# -*- coding: UTF-8 -*- L, N = map(int, input().split()) a = list(input() for i in range(N)) a.sort() b = " ".join(a) print(b)
Traceback (most recent call last): File "/tmp/tmpv6z5ddgf/tmpt9p9ebnb.py", line 2, in <module> L, N = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s588052248
p04044
u166621202
1556909982
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
N,L=map(int,input()) S=[input() for i in range(N)] S.sort() print(*S,sep="")
Traceback (most recent call last): File "/tmp/tmpbm_bsaai/tmpdtumn6dr.py", line 1, in <module> N,L=map(int,input()) ^^^^^^^ EOFError: EOF when reading a line
s028575107
p04044
u166621202
1556909662
Python
Python (3.4.3)
py
Runtime Error
17
2940
96
N,L=map(int,input()) S=sorted(list(map(int,input()))) ans = "" for x in S: ans += x print(ans)
Traceback (most recent call last): File "/tmp/tmpjtc3s4_q/tmpgjxbreiy.py", line 1, in <module> N,L=map(int,input()) ^^^^^^^ EOFError: EOF when reading a line
s063411294
p04044
u592248346
1556821190
Python
Python (3.4.3)
py
Runtime Error
17
2940
500
#include <stdio.h> #include <string.h> int main(void){ // Your code here! char s[110][110],tmp[110]; int l,n,i,j; scanf("%d%d",&n,&l); for(i=0;i<n;i++){ scanf("%s",s[i]); } for(i=0;i<n;i++){ for(j=i+1;j<n;j++){ if(strcmp(s[i],s[j])>=1){ strcpy(tmp,s[i]); strcpy(s[i],s[j]); strcpy(s[j],tmp); } } } for(i=0;i<n;i++){ printf("%s",s[i]); } printf("\n"); }
File "/tmp/tmptqqvclt3/tmpbe8ipgqx.py", line 3 int main(void){ ^^^^ SyntaxError: invalid syntax
s361256301
p04044
u651277159
1556749353
Python
Python (3.4.3)
py
Runtime Error
17
3056
119
N, L = [int(x) for x in input().split()] S = [input() for _ in range(N)] S.sort(key=lambda x: -x) print("".join(S[:L]))
Traceback (most recent call last): File "/tmp/tmp7uycnw5a/tmpsslahlk_.py", line 1, in <module> N, L = [int(x) for x in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s576287855
p04044
u211236379
1556719318
Python
Python (3.4.3)
py
Runtime Error
17
3060
97
L , N = map(int, input().split()) S = [input() for i in range(N)] S = sorted(S) print("".join(S))
Traceback (most recent call last): File "/tmp/tmpm7o5l__2/tmpsg82j9d6.py", line 1, in <module> L , N = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s462623176
p04044
u211236379
1556719182
Python
Python (3.4.3)
py
Runtime Error
17
3060
96
L , N = map(int, input().split()) S = [input() for i in range(N)] S = sorted(S) print(*S,sep="")
Traceback (most recent call last): File "/tmp/tmp75a2kdsb/tmppb8xdrc8.py", line 1, in <module> L , N = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s202709603
p04044
u211236379
1556718938
Python
Python (3.4.3)
py
Runtime Error
17
3060
101
L , N = map(int, input().split()) S = [input() for i in range(N)] S = sorted(S) print(*S,sep='')
Traceback (most recent call last): File "/tmp/tmpdla99392/tmp_3lplevt.py", line 1, in <module> L , N = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s076098013
p04044
u710789518
1556624300
Python
Python (3.4.3)
py
Runtime Error
17
3060
92
L, N = map(int, input().split()) S = [input() for _ in range(N)] S.sort() print("".join(S))
Traceback (most recent call last): File "/tmp/tmp2seoitu1/tmpjqcfabhv.py", line 1, in <module> L, N = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s763347463
p04044
u641722141
1556489521
Python
Python (3.4.3)
py
Runtime Error
17
2940
114
a = int(input()) lists = [] for a in range(a): s = input() lists.append(s) lists.sort() print(''.join(lists))
Traceback (most recent call last): File "/tmp/tmp9s3zvy9q/tmptaf0maqe.py", line 1, in <module> a = int(input()) ^^^^^^^ EOFError: EOF when reading a line
s309494667
p04044
u221345507
1556314289
Python
Python (3.4.3)
py
Runtime Error
17
2940
158
N, L = map(int,input().split()) alphabet = [] for i in range (L): word = input() alphabet.append(word) alphabet.sort() print(''.join(alphabet))
Traceback (most recent call last): File "/tmp/tmp70unkft5/tmp2rs5zsdi.py", line 1, in <module> N, L = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s596943658
p04044
u221345507
1556313905
Python
Python (3.4.3)
py
Runtime Error
21
3060
157
N, L = map(int,input().split()) alphabet = [] for i in range (L): word = input() alphabet.append(word) alphabet.sort() print(''.join(alphabet))
Traceback (most recent call last): File "/tmp/tmpuuytggg7/tmp5ojlimzt.py", line 1, in <module> N, L = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s202505431
p04044
u436982376
1556132936
Python
Python (3.4.3)
py
Runtime Error
17
3064
154
n,l=(int(x) for x in input().split()) mojil=[] for i in range(l): mojil.append(input()) mojil.sort() for i in range(l): print(mojil[i],end="")
Traceback (most recent call last): File "/tmp/tmpzy77xho1/tmpjp8pccm4.py", line 1, in <module> n,l=(int(x) for x in input().split()) ^^^^^^^ EOFError: EOF when reading a line
s870303180
p04044
u403832169
1555912359
Python
Python (3.4.3)
py
Runtime Error
18
3060
123
l,n=map(int,input().split()) s=[] for i in range(n): s.append(input()) order=sorted(s) ans=''.join(order) print(ans)
Traceback (most recent call last): File "/tmp/tmp2u0vbipy/tmpsbioms94.py", line 1, in <module> l,n=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s351037325
p04044
u743848428
1555816452
Python
Python (3.4.3)
py
Runtime Error
17
2940
82
n,l=map(int,input().split()) s=sorted[input() for i in range(n)] print(*s,sep="")
File "/tmp/tmp0yljciwh/tmpdazrn855.py", line 2 s=sorted[input() for i in range(n)] ^^^ SyntaxError: invalid syntax
s448280079
p04044
u476048753
1555465281
Python
Python (3.4.3)
py
Runtime Error
17
2940
98
N, L = map(int, input().split()) s = [input() for i in range(n)] s = sorted(s) print(*s, sep="")
Traceback (most recent call last): File "/tmp/tmp_gkbmobx/tmptashq4vy.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s242138614
p04044
u476048753
1555465200
Python
Python (3.4.3)
py
Runtime Error
17
2940
91
N, L = map(int, input().split()) s = [input() for i in range(n)].sort() print(*s, sep="")
Traceback (most recent call last): File "/tmp/tmp_baxyv16/tmpt36_nfsu.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s690507363
p04044
u297756089
1554657538
Python
Python (3.4.3)
py
Runtime Error
17
2940
112
n,l=input().split() lists=[] for i in range n: lists.append(input()) lists.sort() li=','.join(lists) print(li)
File "/tmp/tmphiyd3149/tmpqt6nu7bs.py", line 3 for i in range n: ^ SyntaxError: invalid syntax
s679255323
p04044
u483151310
1554647297
Python
Python (3.4.3)
py
Runtime Error
18
3060
139
N, L = map(int, input().split()) s = [] for i in range(L): line = input() print(line) s.append(line) s.sort() print("".join(s))
Traceback (most recent call last): File "/tmp/tmp8fm_jnoy/tmpvpok5coc.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s875749453
p04044
u224156735
1554251431
Python
Python (3.4.3)
py
Runtime Error
18
3060
137
n,l=map(int,input().split()) s=[] for i in range(n): s.append(input()) s.sort() for i in range(l): print(s[i],end="")
Traceback (most recent call last): File "/tmp/tmpyj94c5pc/tmpdfx6v7gp.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s649655197
p04044
u966508131
1554238226
Python
Python (3.4.3)
py
Runtime Error
17
2940
126
N,M = map(int, input().split()) words = [input() for i in range(N)] words=words.sort() for word in words: print(word,"")
Traceback (most recent call last): File "/tmp/tmpisi06l01/tmpotizbt00.py", line 1, in <module> N,M = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s744247027
p04044
u224156735
1554233356
Python
Python (3.4.3)
py
Runtime Error
18
3060
132
n,l=map(int,input().split()) s=[] for i in range(n): tmp=input() s.append(tmp) s.sort() for i in range(l): print(s[i],end="")
Traceback (most recent call last): File "/tmp/tmptsp9zpre/tmpjl5jd9jw.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s437173745
p04044
u167097262
1554060739
Python
Python (3.4.3)
py
Runtime Error
18
2940
98
N, L= map(int,input().split()) alldata = sorted([input() for i in range(N)]) print("".join(data))
Traceback (most recent call last): File "/tmp/tmpau46t6u1/tmpx06uyqa4.py", line 1, in <module> N, L= map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s056718954
p04044
u826557401
1553738176
Python
Python (3.4.3)
py
Runtime Error
17
2940
182
N, L = map(int, input().split()) char_list= [] for dummy in range(N): char_list.append(str(input()) answer = "" for char in sorted(char_list): answer += char print(answer)
File "/tmp/tmp7m95x51x/tmppjm7_3tc.py", line 5 char_list.append(str(input()) ^ SyntaxError: '(' was never closed
s688033880
p04044
u013408661
1553653024
Python
Python (3.4.3)
py
Runtime Error
17
3060
149
n,l=map(int,input().split()) ans=[] for i in range(n): s=list(input()) ans.append(s) ans.sort() answer="" for i in ans: answer+=i print(answer)
Traceback (most recent call last): File "/tmp/tmpi1qri1ml/tmp25y5swgg.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s354532634
p04044
u363610900
1553411469
Python
Python (3.4.3)
py
Runtime Error
17
3060
96
L, N = map(int, input().split()) nums = sorted([input() for i in range(N)]) print(''.join(nums))
Traceback (most recent call last): File "/tmp/tmppvsst40r/tmplcixoakk.py", line 1, in <module> L, N = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s081738012
p04044
u860546679
1553295815
Python
Python (3.4.3)
py
Runtime Error
17
2940
234
#include<iostream> #include<algorithm> using namespace std; int main(){ int N,L; cin>>N>>L; string S[N]; string ans; for(int i=0;i<N;++i){ cin>>S[i]; } sort(S,S+N); for(int i=0;i<N;++i){ ans+=S[i]; } cout<<ans<<endl; }
File "/tmp/tmppe5_1mnw/tmp9gxdo6fq.py", line 3 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s350269241
p04044
u363610900
1553060298
Python
Python (3.4.3)
py
Runtime Error
17
3060
183
# -*- coding: utf-8 -*- def main(): n.l = map(int, input().split()) s = [input() for _ in range(n)] s.sort() print(''.join(s)) if __name__ == '__main__': main()
Traceback (most recent call last): File "/tmp/tmp0ev_k60g/tmpvchrbxaz.py", line 11, in <module> main() File "/tmp/tmp0ev_k60g/tmpvchrbxaz.py", line 5, in main n.l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s642838983
p04044
u878138257
1552797146
Python
Python (3.4.3)
py
Runtime Error
18
2940
125
n,l = map(int, input().split()) a = [input() for i in range(n)] a.sorted() k = "" for j in range(n): k = k+a[j] print(k)
Traceback (most recent call last): File "/tmp/tmplzjuddze/tmpvfhcns91.py", line 1, in <module> n,l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s101130437
p04044
u292810930
1552791114
Python
Python (3.4.3)
py
Runtime Error
17
2940
102
N, L = map(int, input().split()) Slist = list(input() for _ in range(N)) print(''.join(Slist.sort()))
Traceback (most recent call last): File "/tmp/tmpgoirywhw/tmp90h4in0r.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s781545419
p04044
u392029857
1551365963
Python
Python (3.4.3)
py
Runtime Error
20
2940
86
N, L = map(int, input().split()) S = sorted([input() for i in range(N)]) print(sum(S))
Traceback (most recent call last): File "/tmp/tmpqoed49cr/tmpp8p34rna.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s455704355
p04044
u952130512
1550484971
Python
Python (3.4.3)
py
Runtime Error
16
3060
108
n,l=input().split() N=int(n) L=int(l) s=[] for i in range(N): s.append(input()) s.sort() print(s.join(""))
Traceback (most recent call last): File "/tmp/tmpxfr_h26b/tmpp1f6_xw1.py", line 1, in <module> n,l=input().split() ^^^^^^^ EOFError: EOF when reading a line
s584138462
p04044
u859897687
1550036054
Python
Python (3.4.3)
py
Runtime Error
21
3064
480
n,l=map(int,input().split()) s =[] for _ in range(n): t = input() s +=[t] def dic(a,b): for i in range(l): if ord(a[i])<ord(b[i]): c =0 break if ord(b[i])<ord(a[i]): c =1 break return c for i in range(1,n): for j in range(i): j = i - j if dic(s[j-1],s[j]): s[j],s[j-1]=s[j-1],s[j] else: break ans ="" for x in s: ans +=x print(ans)
Traceback (most recent call last): File "/tmp/tmppceow17u/tmp3c23esxi.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s907568364
p04044
u367130284
1549741000
Python
Python (3.4.3)
py
Runtime Error
18
3060
237
n,m=map(int,input().split()) A=[] B=list(map(int,input().split())) for t in range(10): if t not in B: A.append(t) A=set(list(map(str,A))) for s in range(n,10001): if set(list(str(s)))<=A: print(s) exit()
Traceback (most recent call last): File "/tmp/tmppsa8v9up/tmp7t533r5s.py", line 1, in <module> n,m=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s225812778
p04044
u132344815
1548529148
Python
Python (3.4.3)
py
Runtime Error
18
3060
134
n, l = map(int, input().split()) s = [input() for i in range(l)] s.sort() mojiretu = '' for x in s: mojiretu += x print(mojiretu)
Traceback (most recent call last): File "/tmp/tmpsd98_0tu/tmppipbm3d5.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s601976631
p04044
u439392790
1548253345
Python
Python (3.4.3)
py
Runtime Error
17
3060
122
N,L=map(input().split()) list=[] i=0 while i<N: S=input() list.append(S) i+=1 list.sort() print(''.join(list))
Traceback (most recent call last): File "/tmp/tmp6qoke200/tmpxcbyw9pv.py", line 1, in <module> N,L=map(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s517425650
p04044
u709630872
1548052429
Python
Python (3.4.3)
py
Runtime Error
18
3060
128
N, L = map(int, input().split()) S = [input() for i in range(L)] S.sort() ans = '' for i in range(N): ans += S[i] print(ans)
Traceback (most recent call last): File "/tmp/tmp0m7whdn9/tmpkxzafx0x.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s246106051
p04044
u709630872
1548052277
Python
Python (3.4.3)
py
Runtime Error
18
3060
118
N, L = map(int, input().split()) S = [input() for i in range(L)] S.sort() ans = "" for i in S: ans += i print(ans)
Traceback (most recent call last): File "/tmp/tmpcu4dqsrz/tmp7ksx4jm_.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s729107848
p04044
u709630872
1548052169
Python
Python (3.4.3)
py
Runtime Error
18
3056
91
N, L = map(int, input().split()) S = [input() for i in range(L)] S.sort() print("".join(S))
Traceback (most recent call last): File "/tmp/tmpyirq56te/tmpxvh8x92p.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s151383900
p04044
u651663683
1547695677
Python
Python (3.4.3)
py
Runtime Error
18
3060
109
n=int(input().split()[0]) l=[] for i in range(n): l.append(input) l.sort() r="" for i in l: r+=i print(r)
Traceback (most recent call last): File "/tmp/tmpl4uj5qk2/tmpb7ca97d0.py", line 1, in <module> n=int(input().split()[0]) ^^^^^^^ EOFError: EOF when reading a line
s220828174
p04044
u811156202
1547624834
Python
Python (3.4.3)
py
Runtime Error
19
3064
536
#最初に入力される情報を整理する str_input_list = input().rstrip().split(' ') int_input_list = [] for a in str_input_list: int_input_list.append(int(a)) length = int_input_list[0] amount = int_input_list[1] #文字列を受け取りリストに格納 mojiretu_list = [] for a in range(amount): mojiretu_list.append(input()) #文字列を小さい順に並べ、結合 sorted_list = sorted(mojiretu_list) min_mojiretu = '' for a in range(amount): min_mojiretu += sorted_list[a] #出力 print(min_mojiretu)
Traceback (most recent call last): File "/tmp/tmplthps12p/tmp13vs9_dj.py", line 2, in <module> str_input_list = input().rstrip().split(' ') ^^^^^^^ EOFError: EOF when reading a line
s550928874
p04044
u811156202
1547622580
Python
Python (3.4.3)
py
Runtime Error
19
3188
535
#最初に入力される情報を整理する str_input_list = input().rstrip().split(' ') int_input_list = [] for a in str_input_list: int_input_list.append(int(a)) length = int_input_list[0] amount = int_input_list[1] #文字列を受け取りリストに格納 mojiretu_list = [] for a in range(amount): mojiretu_list.append(input()) #文字列を小さい順に並べ、結合 sorted_list = sorted(mojiretu_list) min_mojiretu = '' for a in range(amount): min_mojiretu += sorted_list[a] #出力 print(min_mojiretu)
Traceback (most recent call last): File "/tmp/tmppate328t/tmpy2bnmbmd.py", line 2, in <module> str_input_list = input().rstrip().split(' ') ^^^^^^^ EOFError: EOF when reading a line
s216216637
p04044
u850266651
1547616921
Python
Python (3.4.3)
py
Runtime Error
45
3064
464
N, L = [int(i) for i in input().split()] s_list = [] result = "" for _ in range(N): s = input() for l in range(L): s_list.append(ord(s[l])) s_head = s[::l] #print(s_list) for _ in range(N): if s_head.count(min(s_head)) > 1: continue elif s_head.count(min(s_head)) == 1: pop_index = s_list.index(min(s_list)) for l in range(L): tmp = s_list.pop(pop_index) result += chr(tmp) print(result)
Traceback (most recent call last): File "/tmp/tmpl6upztvn/tmp17ae120f.py", line 1, in <module> N, L = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s852126367
p04044
u850266651
1547616844
Python
Python (3.4.3)
py
Runtime Error
45
3188
463
N, L = [int(i) for i in input().split()] s_list = [] result = "" for _ in range(N): s = input() for l in range(L): s_list.append(ord(s[l])) s_head = s[::l] print(s_list) for _ in range(N): if s_head.count(min(s_head)) > 1: continue elif s_head.count(min(s_head)) == 1: pop_index = s_list.index(min(s_list)) for l in range(L): tmp = s_list.pop(pop_index) result += chr(tmp) print(result)
Traceback (most recent call last): File "/tmp/tmpi9yxiqc4/tmpb1gr2crk.py", line 1, in <module> N, L = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s604979615
p04044
u231647664
1547330724
Python
Python (3.4.3)
py
Runtime Error
18
3060
122
n, l = int(input().split()) sn = [] for _ in range(n): sn.append(input()) sn = sorted(sn) sn = join(sn) print(sn)
Traceback (most recent call last): File "/tmp/tmp84jz1dmt/tmpck4xex_6.py", line 1, in <module> n, l = int(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s544573384
p04044
u127856129
1546660281
Python
Python (3.4.3)
py
Runtime Error
17
2940
105
n,l=map(int,input().split()) c=[] for i range(n): c.append(input()) c.sort() print(''.join(c))
File "/tmp/tmp0gd3kc41/tmp91d9uaz9.py", line 3 for i range(n): ^^^^^ SyntaxError: invalid syntax
s912229163
p04044
u127856129
1546660214
Python
Python (3.4.3)
py
Runtime Error
18
2940
105
n,l=map(int,input().split()) c=[] for i range(n): c.append(input()) c.sort() print("".join(c))
File "/tmp/tmp6szlilqb/tmpm46m878u.py", line 3 for i range(n): ^^^^^ SyntaxError: invalid syntax
s997637463
p04044
u127856129
1546660188
Python
Python (3.4.3)
py
Runtime Error
17
2940
105
n,l=map(int,input().split()) c=[] for i range(n): c.append(input()) c.sort() print("",join(c))
File "/tmp/tmpmsnqn48h/tmpdxuldlm4.py", line 3 for i range(n): ^^^^^ SyntaxError: invalid syntax
s029161429
p04044
u127856129
1546660041
Python
Python (3.4.3)
py
Runtime Error
18
2940
99
n,l=map(int.input().split()) c=[] for i in range(n): c.append(input()) c.sort() print("".join(c))
Traceback (most recent call last): File "/tmp/tmp1hqoisie/tmpmngy1gdk.py", line 1, in <module> n,l=map(int.input().split()) ^^^^^^^^^ AttributeError: type object 'int' has no attribute 'input'
s582069273
p04044
u127856129
1546659994
Python
Python (3.4.3)
py
Runtime Error
18
3064
88
n,l=map(int.input().split()) c=[] for i in range(n): c.append(input()) c.sort print(c)
Traceback (most recent call last): File "/tmp/tmp2x_e0hgt/tmp0k25ff02.py", line 1, in <module> n,l=map(int.input().split()) ^^^^^^^^^ AttributeError: type object 'int' has no attribute 'input'
s885247878
p04044
u912158215
1546597004
Python
Python (3.4.3)
py
Runtime Error
18
3060
243
N, L = map(int, input().split()) #標準入力からリストの作成 list = [] for _ in range(N): i = input() list.append(i) #リストのソート list_a = list.sorted() #リストの結合 mojiretu = ''.join(list_a) print(mojiretu)
Traceback (most recent call last): File "/tmp/tmpvnvf9gy2/tmp0bg_a4kb.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s092386876
p04044
u912158215
1546596209
Python
Python (3.4.3)
py
Runtime Error
17
2940
191
N, L = map(int, input().split()) #標準入力からリストの作成 list = [] for _ in (1,N): i = input() list.append(i) #リストの結合 mojiretu = ''.join(list) print(mojiretu
File "/tmp/tmp851dt070/tmp6jlclc9f.py", line 12 print(mojiretu ^ SyntaxError: '(' was never closed
s273796188
p04044
u912158215
1546596181
Python
Python (3.4.3)
py
Runtime Error
17
2940
196
N, L = map(int, input().split()) #標準入力からリストの作成 list = [] for _ in range(1,N): i = input() list.append(i) #リストの結合 mojiretu = ''.join(list) print(mojiretu
File "/tmp/tmpizj9y96c/tmpygylmgze.py", line 12 print(mojiretu ^ SyntaxError: '(' was never closed
s584150287
p04044
u912158215
1546593843
Python
Python (3.4.3)
py
Runtime Error
18
3060
177
N, L = map(int, input().split()) #標準入力からリストの作成 a = map(str, input().split()) a = a.sort() #リストの結合 mojiretu = ''.join(a) print(mojiretu)
Traceback (most recent call last): File "/tmp/tmp_ph1wyxj/tmpe4iq6keq.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s451752033
p04044
u912158215
1546593671
Python
Python (3.4.3)
py
Runtime Error
17
2940
173
N, L = map(int, input().split()) #標準入力からリストの作成 a = map(str, input().split()) a = a.sort() #リストの結合 mojiretu = ''join(a) print(mojiretu)
File "/tmp/tmpci7twv45/tmputqf1j2s.py", line 8 mojiretu = ''join(a) ^^^^ SyntaxError: invalid syntax
s642088500
p04044
u277556971
1546026555
Python
Python (3.4.3)
py
Runtime Error
18
2940
325
#include<iostream> using namespace std; int main() { int n, l; cin >> n >> l; string str[100]; for (int i = 0; i < n; ++i) { string s; cin >> s; str[i] = s; } sort(str, str + n); for (int i = 0; i < n; ++i) { cout << str[i]; } cout << endl; return 0; }
File "/tmp/tmp4_3h0y4l/tmpz3n0fbrd.py", line 2 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s367881886
p04044
u371467115
1545694809
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
n,l=map(int,input().split()) s=[input() for i in n] s.sort print("".join(s))
Traceback (most recent call last): File "/tmp/tmp1l8u_o0x/tmpadkw7uav.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s757891562
p04044
u709630872
1545676456
Python
Python (3.4.3)
py
Runtime Error
17
3060
130
L, N = map(int, input().split()) S = [input() for i in range(N)] S.sort() ans = ''; for j in range(N): ans += S[j] print(ans)
Traceback (most recent call last): File "/tmp/tmpuku6tonw/tmpiu8orvha.py", line 1, in <module> L, N = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s458513382
p04044
u709630872
1545676045
Python
Python (3.4.3)
py
Runtime Error
17
3060
157
L, N = list(map(int, input().split())) S = [] for i in range(N): s = input() S.append(s) S.sort() ans = ""; for j in S: ans += j print(str(ans))
Traceback (most recent call last): File "/tmp/tmpufyd3n1_/tmpbze8m1h0.py", line 1, in <module> L, N = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s021529983
p04044
u709630872
1545675774
Python
Python (3.4.3)
py
Runtime Error
17
3060
152
L, N = list(map(int, input().split())) S = [] for i in range(N): s = input() S.append(s) S.sort() ans = ""; for j in S: ans += j print(ans)
Traceback (most recent call last): File "/tmp/tmpql1e1zjl/tmpslg55h_9.py", line 1, in <module> L, N = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s668482840
p04044
u371467115
1545517111
Python
Python (3.4.3)
py
Runtime Error
18
2940
53
n=int(input()) s=[input() for i in n] print(s.sort())
Traceback (most recent call last): File "/tmp/tmpeqt_h0on/tmpdtxj9au4.py", line 1, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
s843354696
p04044
u371467115
1545294502
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
N=int(input()) s=[input() for i in range(N)] s=sorted(s) s="".join(s) print(s)
Traceback (most recent call last): File "/tmp/tmp0gr6e7r2/tmpgk3da12o.py", line 1, in <module> N=int(input()) ^^^^^^^ EOFError: EOF when reading a line