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
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))
Traceback (most recent call last): File "/tmp/tmpund2i6gs/tmppgwu50zj.py", line 1, in <module> N,L=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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="")
Traceback (most recent call last): File "/tmp/tmpo_czrm49/tmpp29nt0gr.py", line 1, in <module> n=int(input()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmp9b85vtus/tmppq0dh5to.py", line 1, in <module> N = int(input()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpetymetwf/tmp38816jw7.py", line 1, in <module> N = int(input()) ^^^^^^^ EOFError: EOF when reading a line
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="")
Traceback (most recent call last): File "/tmp/tmpymz_5cjs/tmp6ampdf20.py", line 2, in <module> s=input() ^^^^^^^ EOFError: EOF when reading a line
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)))
Traceback (most recent call last): File "/tmp/tmpu2glj5_x/tmpj6_n53mq.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpelvj_9gr/tmp023ve8lo.py", line 1, in <module> a = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
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))
File "/tmp/tmpa_aqeogw/tmpm4r3x87k.py", line 5 if x: ^ IndentationError: unindent does not match any outer indentation level
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)
Traceback (most recent call last): File "/tmp/tmpflmt0qk1/tmpsfye350n.py", line 1, in <module> n,l = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpujjjveiv/tmpd1usiqj8.py", line 1, in <module> l, n = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpohaflpab/tmpeo8ulut2.py", line 1, in <module> l, n = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmppqaencae/tmpu09b0_38.py", line 1, in <module> l, n = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpm5cqoee3/tmpx2bhrunl.py", line 1, in <module> l, n = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpp2x7flac/tmp8zqhb4f5.py", line 1, in <module> l, n = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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()))
Traceback (most recent call last): File "/tmp/tmpmjz3p32a/tmpe0c32d68.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmp29xxr3xr/tmptvrx4n3a.py", line 1, in <module> n,l = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmp0_y_9swg/tmprak4f4x2.py", line 1, in <module> N,K = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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='')
Traceback (most recent call last): File "/tmp/tmpbjq75kqt/tmp1nvtafyv.py", line 1, in <module> n, l = map (int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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='')
Traceback (most recent call last): File "/tmp/tmpa7rz5x_k/tmp04zfj2bb.py", line 1, in <module> n, l = map (int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpd4frjuka/tmp13p06012.py", line 1, in <module> N = int(input().splice()[0]) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpx7zr0wqo/tmp35czdkzf.py", line 1, in <module> l, n = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpzvyu9sbo/tmpdoeldk4k.py", line 1, in <module> a = input().split() ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpz03n6hsv/tmpyh41ffwf.py", line 1, in <module> N,L=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpciis6fih/tmpkrjya3s7.py", line 1, in <module> n, l = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s752295747
p04044
u416735281
1578936106
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
print(''.join(sorted(input() for _ in range(int(input())))))
Traceback (most recent call last): File "/tmp/tmpbrzodovo/tmpsoi9sc9_.py", line 1, in <module> print(''.join(sorted(input() for _ in range(int(input()))))) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmp490hgfr2/tmp5j70mh6o.py", line 1, in <module> a , b = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmp5c5pmes7/tmpjoxhlhna.py", line 1, in <module> a , b = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpeepve77p/tmp62qz59ah.py", line 1, in <module> a , b = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpggq9wfac/tmpkrnkj0eu.py", line 1, in <module> a , b = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpp97r4gtf/tmpu85cbpjl.py", line 1, in <module> a , b = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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()))
Traceback (most recent call last): File "/tmp/tmp18lq_pg6/tmpylqhkcex.py", line 1, in <module> n,l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)))
Traceback (most recent call last): File "/tmp/tmpvtbtia5m/tmprwj9xao7.py", line 1, in <module> L, N = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)))
Traceback (most recent call last): File "/tmp/tmpgkcfrxad/tmpegwool_b.py", line 1, in <module> N, L=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)))
Traceback (most recent call last): File "/tmp/tmp46kypi2_/tmpd3cb_fz3.py", line 1, in <module> N, L=map(int, input().split("")) ^^^^^^^ EOFError: EOF when reading a line
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))
File "/tmp/tmpturzo8t8/tmpbrg4hetk.py", line 5 print(''.join(sorted(s)) ^ SyntaxError: '(' was never closed
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))
Traceback (most recent call last): File "/tmp/tmp_or3afk4/tmpjwtaaoku.py", line 1, in <module> L, N = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmprtmvhb3q/tmpvupbl9h9.py", line 1, in <module> num = int(input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpc8olxsrh/tmpgiroczr4.py", line 1, in <module> num = int(input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmp6boik6eg/tmpobv6i0fu.py", line 1, in <module> num = int(input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)))
Traceback (most recent call last): File "/tmp/tmp5ospbjte/tmpl08wyim2.py", line 1, in <module> N,L=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)))
Traceback (most recent call last): File "/tmp/tmpjm6u1ul1/tmpk_c8f3j4.py", line 1, in <module> N,L=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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())))
Traceback (most recent call last): File "/tmp/tmpwcoci322/tmppn6jpyq9.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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="")
Traceback (most recent call last): File "/tmp/tmp6gmc1go6/tmpcneth1cy.py", line 1, in <module> N,L = input().split() ^^^^^^^ EOFError: EOF when reading a line
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="")
Traceback (most recent call last): File "/tmp/tmpnuu4fn22/tmpq14q112k.py", line 1, in <module> N,L = input().split() ^^^^^^^ EOFError: EOF when reading a line
s177033155
p04044
u609814378
1577235800
Python
Python (3.4.3)
py
Runtime Error
17
2940
1
a
Traceback (most recent call last): File "/tmp/tmp5f301jhn/tmp27mz677d.py", line 1, in <module> a NameError: name 'a' is not defined
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)
Traceback (most recent call last): File "/tmp/tmplwcuhxt8/tmpbwtn7h14.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpig7ss3r0/tmp4tfcn254.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpxvz4kgt6/tmplvkb6huc.py", line 1, in <module> n,k=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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="")
Traceback (most recent call last): File "/tmp/tmpfhaq_x2d/tmpy635lm_u.py", line 1, in <module> n,l = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpz63k329v/tmpdwdu17xz.py", line 1, in <module> n,k=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpnaq4x9hr/tmp8arg1w5z.py", line 1, in <module> n,k=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpxhxm6bc8/tmplowtibpp.py", line 1, in <module> n,k=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmp8v6cx5oc/tmprhykz0uz.py", line 1, in <module> N, _ = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmp2yea_bcu/tmpbvx6rrs6.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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(''))
Traceback (most recent call last): File "/tmp/tmp79pa12sv/tmphx5kx4xs.py", line 1, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpa9tqalh_/tmpp6rhdkp6.py", line 1, in <module> ip1 = input().split() ^^^^^^^ EOFError: EOF when reading a line
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
File "/tmp/tmpgtlvxfr8/tmp036tfasz.py", line 1 N, L = gets.split.map(&:to_i) ^ SyntaxError: invalid syntax
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)
Traceback (most recent call last): File "/tmp/tmpsaha3r5f/tmp_gjsrx8l.py", line 1, in <module> N, x = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpy8l8u0my/tmpvbgvk4j0.py", line 1, in <module> N, x = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpjbotuzmt/tmp38kn5di7.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmp7hsbvxiw/tmp9o4x8g1f.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)))
Traceback (most recent call last): File "/tmp/tmpegt4qb6r/tmpzdp4iwje.py", line 1, in <module> n,l=map(int,input()) ^^^^^^^ EOFError: EOF when reading a line
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)))
Traceback (most recent call last): File "/tmp/tmp9bt87wq9/tmpbd378aox.py", line 1, in <module> n,l=map(int,input()) ^^^^^^^ EOFError: EOF when reading a line
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 = "")
File "/tmp/tmp1uwutkyy/tmpb29f9owe.py", line 2 l = [for i in range(n)] ^^^ SyntaxError: invalid syntax
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 = "")
File "/tmp/tmpsezf7a6t/tmpvl4od2i9.py", line 2 l = [for i in range(n)] ^^^ SyntaxError: invalid syntax
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)
Traceback (most recent call last): File "/tmp/tmpao6dtrad/tmppykbqhys.py", line 1, in <module> a=input().split() ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmp3_f7d6fy/tmp1djhn_aj.py", line 1, in <module> a=input().split() ^^^^^^^ EOFError: EOF when reading a line
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())]]
Traceback (most recent call last): File "/tmp/tmpu7_otfvt/tmpb37ds420.py", line 1, in <module> [print("".join(sorted(input() for _ in range(l)))) for n, l in [map(int, input().split())]] ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmps8v2w9g7/tmp3jakbus8.py", line 1, in <module> a = input().rstrip().split() ^^^^^^^ EOFError: EOF when reading a line
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]
Traceback (most recent call last): File "/tmp/tmp81s0ng0d/tmpbu6i3_uj.py", line 1, in <module> n, l = (int(x) for x in input().split()) ^^^^^^^ EOFError: EOF when reading a line
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]
Traceback (most recent call last): File "/tmp/tmp7e5ntwzn/tmpega7sipn.py", line 1, in <module> n, l = (int(x) for x in input().split()) ^^^^^^^ EOFError: EOF when reading a line
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]
Traceback (most recent call last): File "/tmp/tmpz36vh9c4/tmpifmj3p26.py", line 1, in <module> n, l= (int(x) for x in input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpruqp4dr0/tmppvgfe8qf.py", line 1, in <module> N , L = map(int,input().sqlit()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmplwv467wt/tmpzzx8o948.py", line 1, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmp0wdngdbk/tmpu7fck_4s.py", line 1, in <module> a, b = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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="")
Traceback (most recent call last): File "/tmp/tmp05v3u16z/tmp6pr6w4ky.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
File "/tmp/tmpudl3ao01/tmpf50r0inw.py", line 2 for i in 0 to X[0] ^^ SyntaxError: invalid syntax
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))
File "/tmp/tmpeknrhq6_/tmp6m7ofk4d.py", line 3 print("".join(sorted(s)) ^ SyntaxError: '(' was never closed
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()))
Traceback (most recent call last): File "/tmp/tmp0ybhcfaw/tmp7bu_mm94.py", line 1, in <module> N,L=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpvjfnv5kb/tmpfiz4e3cx.py", line 1, in <module> N,L=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpjih9n5vd/tmpv2psvm4l.py", line 1, in <module> n,l=map(int,input().split(" ")) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpehwhvjx9/tmpdn5t4zqw.py", line 1, in <module> arr_len_int = int(input().split(' ')[1]) ^^^^^^^ EOFError: EOF when reading a line
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 ))
Traceback (most recent call last): File "/tmp/tmpyagr2urb/tmp35dksf9x.py", line 1, in <module> arr_len_int = int(input().split(' ')[1]) ^^^^^^^ EOFError: EOF when reading a line
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 ))
Traceback (most recent call last): File "/tmp/tmpt2v8adkf/tmp52xuc17j.py", line 1, in <module> arr_len_int = int(input().split(' ')[1]) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpuocka3ap/tmp2igb3r9z.py", line 1, in <module> L,N = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpg_f075gb/tmpvn79hg8b.py", line 1, in <module> L,N = (int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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="")
Traceback (most recent call last): File "/tmp/tmp7p7o17sr/tmp5jno9dcy.py", line 1, in <module> L,N = (int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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))
Traceback (most recent call last): File "/tmp/tmpy4j1mop_/tmpo_yc56kv.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
File "/tmp/tmp2vx1qu3v/tmp8pj_h_gd.py", line 3 for i range(n): ^^^^^ SyntaxError: invalid syntax
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='')
File "/tmp/tmpo5i0hux4/tmpmhkk3y6s.py", line 2 for i range(n): ^^^^^ SyntaxError: invalid syntax
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)
Traceback (most recent call last): File "/tmp/tmptutp_esr/tmpqh1n4f8k.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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='')
Traceback (most recent call last): File "/tmp/tmp3b5chy2c/tmp891a12tj.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpxg6tdhq1/tmpbgyqoveo.py", line 1, in <module> n,m=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
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)
File "/tmp/tmpkubyud59/tmpshl7omxv.py", line 5 for i in range n: ^ SyntaxError: invalid syntax
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)
Traceback (most recent call last): File "/tmp/tmprdcb41bn/tmpnlwfpha6.py", line 2, in <module> length, count = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
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)
Traceback (most recent call last): File "/tmp/tmpqc05dax5/tmpmss93m4e.py", line 2, in <module> length, count = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
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))))])))
Traceback (most recent call last): File "/tmp/tmpgtw9ytgc/tmp4m1_bj7n.py", line 1, in <module> print("".join(sorted([input() for i in range(int("{}".format(input().split().pop(-1))))]))) ^^^^^^^ EOFError: EOF when reading a line
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()
Traceback (most recent call last): File "/tmp/tmpk_nji135/tmpdw4upyrg.py", line 9, in <module> main() File "/tmp/tmpk_nji135/tmpdw4upyrg.py", line 3, in main N, L, A = map(int, open(0).read().split()) ^^^^^^^ ValueError: not enough values to unpack (expected 3, got 0)
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()
Traceback (most recent call last): File "/tmp/tmpcj9ps3qr/tmpw4gs5soj.py", line 9, in <module> main() File "/tmp/tmpcj9ps3qr/tmpw4gs5soj.py", line 3, in main N, L, A = map(int, open(0).read().split()) ^^^^^^^ ValueError: not enough values to unpack (expected 3, got 0)
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)
Traceback (most recent call last): File "/tmp/tmpv7lyd28u/tmp1jx3_3mk.py", line 1, in <module> input_line = input().split() ^^^^^^^ EOFError: EOF when reading a line