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
s743720192
p04044
u252160635
1594174352
Python
Python (3.8.2)
py
Runtime Error
23
9096
132
# 入力 N,L = list(map(int, input().split())) S = [] for _ in range(N): S.add(str(input())) # 出力 print(''.join(sorted(S)))
Traceback (most recent call last): File "/tmp/tmphu6d1fl3/tmpq14cjpuv.py", line 2, in <module> N,L = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s329607102
p04044
u551857719
1594050926
Python
Python (3.8.2)
py
Runtime Error
25
8880
234
#!/usr/bin/python # -*- coding: UTF-8 -*- import sys def input(): return sys.stdin.readline().strip() def _main(): input() s = sorted(list(input().split())) print("".join(s)) if __name__ == "__main__": _main()
File "/tmp/tmp5yx1zcp8/tmp20tudr52.py", line 13 s = sorted(list(input().split())) ^ IndentationError: unindent does not match any outer indentation level
s392224385
p04044
u578580291
1593740767
Python
Python (3.8.2)
py
Runtime Error
25
9096
187
def lexi(): n, l = [int(i) for i in input().split()] arr = [] for i in range(n): arr.append(input(i)) a = arr.sorted() ans = ''.join(a) print(ans) lexi()
Traceback (most recent call last): File "/tmp/tmp00y4tph0/tmpdmhj__k9.py", line 11, in <module> lexi() File "/tmp/tmp00y4tph0/tmpdmhj__k9.py", line 2, in lexi n, l = [int(i) for i in input().split()] ^^^^^^^ EOFError: EOF when reading a line
s221175131
p04044
u710398282
1593536464
Python
Python (3.8.2)
py
Runtime Error
29
9160
153
N, L = map(int, input().split()) str_list = [input() for _ in range(N)] str_list.sort() a = str_list[0] b = str_list[1] c = str_list[2] print(a+b+c)
Traceback (most recent call last): File "/tmp/tmplwx6dqn3/tmpds6beb2m.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s291195702
p04044
u710398282
1593532006
Python
Python (3.8.2)
py
Runtime Error
28
9100
154
N, L = map(int, input().split()) str_list = [input() for _ in range(N)] str_list.sort() a = str_list[0] b = str_list[1] c = str_list[2] print(a+b+c)
Traceback (most recent call last): File "/tmp/tmpnkndgcgn/tmpn0w_vscg.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s632008943
p04044
u819135704
1593520394
Python
Python (3.8.2)
py
Runtime Error
26
9152
119
n, l = map(int, input().split()) s = [int(input()) for i in range(n)] s.sort() S = "" for i in s: S += i print(S)
Traceback (most recent call last): File "/tmp/tmp09zmdnqe/tmpi8v4v4j9.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s020057962
p04044
u279005807
1593383314
Python
Python (3.8.2)
py
Runtime Error
24
9052
116
n, l = (map(int, input().split())) ss = [] for i in range(n): ss.append(input()) ss.sort() print(str.join(ss))
Traceback (most recent call last): File "/tmp/tmp5zhz4cjx/tmpwp166xjk.py", line 1, in <module> n, l = (map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s938641411
p04044
u212242633
1593104184
Python
Python (3.8.2)
py
Runtime Error
28
9152
144
N, L = map(int, input().split()) S = [] for l in range(L): S.append(str(input())) S.sort() sum_ = '' for s in S: sum_ += s print(sum_)
Traceback (most recent call last): File "/tmp/tmpbjma034l/tmpgghs_e53.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s965656015
p04044
u981898278
1593023363
Python
Python (3.8.2)
py
Runtime Error
24
9156
92
N, L = map(int, input().split()) S = [input() for i in range(L)] print(''.join(sorted(S)))
Traceback (most recent call last): File "/tmp/tmpsq3a3wtx/tmpa8o89qd_.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s872737461
p04044
u981898278
1593022939
Python
Python (3.8.2)
py
Runtime Error
27
9116
84
N, L = map(int, input().split()) S = [input() for i in range(L)] print("axxcxxdxx")
Traceback (most recent call last): File "/tmp/tmp3mzur9nn/tmp4wb9end0.py", line 1, in <module> N, L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s820178607
p04044
u245641078
1592844939
Python
Python (3.8.2)
py
Runtime Error
24
9100
89
record = sorted([input() for i in range(int(input().split()[1]))]) print("".join(record))
Traceback (most recent call last): File "/tmp/tmpuluvw95z/tmpqzzpn9og.py", line 1, in <module> record = sorted([input() for i in range(int(input().split()[1]))]) ^^^^^^^ EOFError: EOF when reading a line
s565513629
p04044
u793430793
1592800762
Python
Python (3.8.2)
py
Runtime Error
27
8908
121
#ABC042B n,l=map(int,input().split()) a=[] for i in range(n) a.append(input()) a.sort() print(''.join(mylist))
File "/tmp/tmp52in621j/tmpla3b9lbp.py", line 5 for i in range(n) ^ SyntaxError: expected ':'
s032143236
p04044
u793430793
1592800282
Python
Python (3.8.2)
py
Runtime Error
28
9136
153
n,l=(int(x) for x in input().split()) sente1=input() sente2=input() sente3=input() mylist=[sente1,sente2,sente3] mylist.sort() a=''.join(mylist) print(a)
Traceback (most recent call last): File "/tmp/tmpli5g5b3i/tmp9l4xhjlx.py", line 1, in <module> n,l=(int(x) for x in input().split()) ^^^^^^^ EOFError: EOF when reading a line
s604563552
p04044
u793430793
1592799943
Python
Python (3.8.2)
py
Runtime Error
27
9140
149
l,n=(int(x) for x in input().split()) sente1=input() sente2=input() sente3=input() mylist=[sente1,sente2,sente3] mylist.sort() print(''.join(mylist))
Traceback (most recent call last): File "/tmp/tmpn3yaapiw/tmpyxav44p0.py", line 1, in <module> l,n=(int(x) for x in input().split()) ^^^^^^^ EOFError: EOF when reading a line
s468945322
p04044
u793430793
1592799569
Python
Python (3.8.2)
py
Runtime Error
31
9128
149
n,l=(int(x) for x in input().split()) sente1=input() sente2=input() sente3=input() mylist=[sente1,sente2,sente3] mylist.sort() print(''.join(mylist))
Traceback (most recent call last): File "/tmp/tmpc4kpdv8x/tmpb1028yv0.py", line 1, in <module> n,l=(int(x) for x in input().split()) ^^^^^^^ EOFError: EOF when reading a line
s472006426
p04044
u793430793
1592799432
Python
Python (3.8.2)
py
Runtime Error
27
9168
149
l,n=(int(x) for x in input().split()) sente1=input() sente2=input() sente3=input() mylist=[sente1,sente2,sente3] mylist.sort() print(''.join(mylist))
Traceback (most recent call last): File "/tmp/tmpaaz3aajg/tmpctrxmiz6.py", line 1, in <module> l,n=(int(x) for x in input().split()) ^^^^^^^ EOFError: EOF when reading a line
s062576758
p04044
u793430793
1592799371
Python
Python (3.8.2)
py
Runtime Error
28
9180
158
#ABC042B l,n=(int(x) for x in input().split()) sente1=input() sente2=input() sente3=input() mylist=[sente1,sente2,sente3] mylist.sort() print(''.join(mylist))
Traceback (most recent call last): File "/tmp/tmpgvo3x2ix/tmp16s3yz05.py", line 2, in <module> l,n=(int(x) for x in input().split()) ^^^^^^^ EOFError: EOF when reading a line
s075564224
p04044
u506996808
1592522932
Python
Python (3.8.2)
py
Runtime Error
21
9060
83
a,b=map(int,input().split()) s=sorted([input() for i in range(n)]) print(*s,sep="")
Traceback (most recent call last): File "/tmp/tmpqpmirl_q/tmprvgtdgxl.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s639014337
p04044
u506996808
1592522720
Python
Python (3.8.2)
py
Runtime Error
24
9160
83
a,b=map(int,input().split()) s=sorted([input() for i in range(N)]) print(*s,sep="")
Traceback (most recent call last): File "/tmp/tmpmqq3trjx/tmpmljhtb8o.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s880464122
p04044
u506996808
1592522671
Python
Python (3.8.2)
py
Runtime Error
27
9032
83
a,b=map(int,input().split()) s=sorted([input() for i in range(n)]) print(*s,sep="")
Traceback (most recent call last): File "/tmp/tmpinxbhat4/tmp3sewcc88.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s544024221
p04044
u506996808
1592522656
Python
Python (3.8.2)
py
Runtime Error
27
9100
84
a,b=map(int,input().split()) s=sorted([input() for i in range(n)]) print(*s,sep="")
Traceback (most recent call last): File "/tmp/tmpovzcg7it/tmpoi7pxkfp.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s013299862
p04044
u506996808
1592522457
Python
Python (3.8.2)
py
Runtime Error
25
9188
101
a,b=map(int,input().split()) s=[] for i in range(n): s.append(input()) s.sort() print("".join(s))
Traceback (most recent call last): File "/tmp/tmp4zjo529j/tmpb00j4iir.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s624565557
p04044
u506996808
1592522345
Python
Python (3.8.2)
py
Runtime Error
24
9124
110
a,b=map(int,input().split()) c=input() s=[] for i in range(N): s.append(input()) s.sort() print(*s,sep="")
Traceback (most recent call last): File "/tmp/tmpsotit0px/tmpecwuj4m8.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s171227061
p04044
u506996808
1592522290
Python
Python (3.8.2)
py
Runtime Error
28
9060
112
a,b=map(int,input().split()) c=input() s=[] for i in range(N): s.append(input()) s.sort() print("".join(s))
Traceback (most recent call last): File "/tmp/tmpe2vt1bpd/tmp0tj8l5bk.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s763317872
p04044
u736577709
1592519684
Python
Python (3.8.2)
py
Runtime Error
22
9096
81
n,l=map(int,input().split) s=sorted([input() for i in range(n)]) print(*s,sep="")
Traceback (most recent call last): File "/tmp/tmpihb3qblt/tmpn4le6xki.py", line 1, in <module> n,l=map(int,input().split) ^^^^^^^ EOFError: EOF when reading a line
s769494888
p04044
u854685063
1592519044
Python
Python (3.8.2)
py
Runtime Error
24
8956
103
n,l = map(int,input(),split()) s = [input() for _ in range(n)] s.sort() for k in s: print(k, end ="")
Traceback (most recent call last): File "/tmp/tmpteoobd8q/tmpj7k2d3zy.py", line 1, in <module> n,l = map(int,input(),split()) ^^^^^^^ EOFError: EOF when reading a line
s145486748
p04044
u440478998
1592443915
Python
Python (3.4.3)
py
Runtime Error
19
3060
123
n,l = map(int,input().split()) s = [input() for _ in range(l)] s.sort() ss = "" for i in range(n): ss += s[i] print(ss)
Traceback (most recent call last): File "/tmp/tmpa3n6kf40/tmpmbak3a02.py", line 1, in <module> n,l = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s706745479
p04044
u440478998
1592443474
Python
Python (3.4.3)
py
Runtime Error
17
3060
136
n,l = map(int,input().split()) s = [list(int(input())) for i in range(l)] s.sort() ss = "" for i in range(n): ss += s[i] print(ss)
Traceback (most recent call last): File "/tmp/tmp2_9oa79j/tmp5h5rcvig.py", line 1, in <module> n,l = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s510759996
p04044
u778348725
1592341574
Python
Python (3.4.3)
py
Runtime Error
17
3060
89
N,L = map(int,input().split()) S = [input() for i in range(L)] print("".join(sorted(S)))
Traceback (most recent call last): File "/tmp/tmp5r_wck81/tmph1xyn9ve.py", line 1, in <module> N,L = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s777863496
p04044
u778348725
1592341011
Python
Python (3.4.3)
py
Runtime Error
17
3060
88
N,L = map(int,input().split()) S = [input() for i in range(L)] print(''.join(sorted(S)))
Traceback (most recent call last): File "/tmp/tmpe3h8qg3t/tmpdnwgd_o3.py", line 1, in <module> N,L = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s229806763
p04044
u778348725
1592340955
Python
Python (3.4.3)
py
Runtime Error
17
3060
89
N,L = map(int,input().split()) S = [input() for i in range(L)] print(''.join(sorted(S)))
Traceback (most recent call last): File "/tmp/tmpd58rxfz5/tmp0ywuil48.py", line 1, in <module> N,L = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s364533164
p04044
u376754170
1591887112
Python
Python (3.4.3)
py
Runtime Error
17
3060
121
n, l = map(int, input().split()) strs = [] for i in range(l): strs.append(input()) strs.sort() print(''.join(strs))
Traceback (most recent call last): File "/tmp/tmpb2xdz8jq/tmp9d4w9hd9.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s999232806
p04044
u376754170
1591887019
Python
Python (3.4.3)
py
Runtime Error
18
3060
125
n, l = map(int, input().split()) strs = [] for i in range(l): strs.append(input()) strs.sort() print(''.join(strs[:n]))
Traceback (most recent call last): File "/tmp/tmpka6ortfz/tmpmhyx0epv.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s340711417
p04044
u706433263
1591839852
Python
Python (3.4.3)
py
Runtime Error
17
3060
125
n,l=map(int,input().split) s=[input() for _ in range (n)] s.sort() ans=s[0] for i in range (1,n): ans+=s[i] print(ans)
Traceback (most recent call last): File "/tmp/tmp3au9_60e/tmp6b9pkn8v.py", line 1, in <module> n,l=map(int,input().split) ^^^^^^^ EOFError: EOF when reading a line
s452810498
p04044
u713914478
1591362013
Python
Python (3.4.3)
py
Runtime Error
18
2940
87
N,L = map(int,input().split()) S = [input() for i in range(N)] print("".join(S.sort()))
Traceback (most recent call last): File "/tmp/tmpsefr4lk5/tmp21qc7w44.py", line 1, in <module> N,L = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s206789049
p04044
u757274384
1591330553
Python
Python (3.4.3)
py
Runtime Error
17
2940
168
# -*- coding : utf-8 -*- n,l = map(int, input().split()) L = list([input() for i in range(n)]) L.sort() word = "" for i in len(L): word = word + L[i] print(word)
Traceback (most recent call last): File "/tmp/tmpsmoyhjz4/tmp09voz9ag.py", line 3, in <module> n,l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s959215913
p04044
u757274384
1591330422
Python
Python (3.4.3)
py
Runtime Error
17
2940
178
# -*- coding : utf-8 -*- n,l = map(int, input().split()) L = list(map(int, [input() for i in range(n)])) L.sort() word = "" for i in len(L): word = word + L[i] print(word)
Traceback (most recent call last): File "/tmp/tmpysneh1we/tmphy6735m0.py", line 3, in <module> n,l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s170862419
p04044
u757274384
1591330157
Python
Python (3.4.3)
py
Runtime Error
17
3056
172
# -*- coding : utf-8 -*- n,l = map(int, input().split()) L = map(int, [input() for i in range(n)]) L.sort() word = "" for i in len(L): word = word + L[i] print(word)
Traceback (most recent call last): File "/tmp/tmp_gquix8e/tmpbmszbqf5.py", line 3, in <module> n,l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s603633149
p04044
u757274384
1591329979
Python
Python (3.4.3)
py
Runtime Error
17
3060
194
# -*- coding : utf-8 -*- n,l = map(int, input().split()) L = map(int, [input() for i in range(n)]) word = "" for i in len(L): L.sort() word = word + L[0] L = L.remove(L[0]) print(word)
Traceback (most recent call last): File "/tmp/tmphtzruwk4/tmpn5c6ime2.py", line 3, in <module> n,l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s685040288
p04044
u736474437
1591213520
Python
Python (3.4.3)
py
Runtime Error
17
2940
104
N,L=map (str(), input().split()) a=[str(i) for i in input().split()] b=a.sort(a) c=b.join() print(c)
File "/tmp/tmp8h3fgc1b/tmp7f97071r.py", line 2 a=[str(i) for i in input().split()] ^ SyntaxError: invalid character '[' (U+FF3B)
s230441844
p04044
u730769327
1591176354
Python
PyPy3 (2.4.0)
py
Runtime Error
169
38512
147
n,l=map(int,input().split()) s=[[]] for i in range(n): dumy=inout() s.append(dumy) n_s=sorted(s) b='' for i in range(n): b+=n_s[i] print(b)
Traceback (most recent call last): File "/tmp/tmp_97yua3o/tmp0wjxwk_j.py", line 1, in <module> n,l=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s618498018
p04044
u611090896
1591115817
Python
Python (3.4.3)
py
Runtime Error
17
3060
88
n,l = map(int,input().ssplit()) s = sorted([input() for i in range(n)]) print(*s,sep="")
Traceback (most recent call last): File "/tmp/tmp_avpd7aa/tmpylqjxxwi.py", line 1, in <module> n,l = map(int,input().ssplit()) ^^^^^^^ EOFError: EOF when reading a line
s491085015
p04044
u611090896
1591115775
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
n,l = map(int,input().ssplit()) s = sorted([int(input()) for i in range(n)]) print(*s,sep="")
Traceback (most recent call last): File "/tmp/tmpanbb2ki3/tmpavh_hfix.py", line 1, in <module> n,l = map(int,input().ssplit()) ^^^^^^^ EOFError: EOF when reading a line
s133487824
p04044
u611090896
1591115499
Python
Python (3.4.3)
py
Runtime Error
17
3060
93
N,L = map(int,input().split()) s = sorted([int(innput()) for i in range(N)]) print(*s,sep="")
Traceback (most recent call last): File "/tmp/tmph1u8dejd/tmp2v5p2uct.py", line 1, in <module> N,L = map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s218371266
p04044
u579015878
1590883689
Python
Python (3.4.3)
py
Runtime Error
17
3060
114
L,N=map(int,input().split()) l=list() for i in range(N): S=input() l.append(S) ll=sorted(l) print(''.join(ll))
Traceback (most recent call last): File "/tmp/tmpur3na17w/tmp77uk5p34.py", line 1, in <module> L,N=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s922730622
p04044
u579015878
1590883458
Python
Python (3.4.3)
py
Runtime Error
18
3060
114
L,N=map(int,input().split()) l=list() for i in range(N): S=input() l.append(S) ll=sorted(l) print(''.join(ll))
Traceback (most recent call last): File "/tmp/tmpxly94n2h/tmp92tga6x1.py", line 1, in <module> L,N=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s504449498
p04044
u767545760
1590717750
Python
Python (3.4.3)
py
Runtime Error
18
3064
113
N = list(map(int, input().split())) string = [input() for s in range(N[1])] string.sort() print(''.join(string))
Traceback (most recent call last): File "/tmp/tmp5dervxnz/tmpbw6ymtta.py", line 1, in <module> N = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s709230966
p04044
u767545760
1590717647
Python
Python (3.4.3)
py
Runtime Error
18
3060
108
N = list(map(int, input().split())) string = [input() for s in range(N[1])] string.sort() print(string)
Traceback (most recent call last): File "/tmp/tmpf6l77u8k/tmpwhk987m5.py", line 1, in <module> N = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s370792099
p04044
u816265237
1590687168
Python
Python (3.4.3)
py
Runtime Error
18
3060
153
n,l = list(map(int, input().split())) ln = [] for n in range(l): ln.append(input()) output = '' for i in sorted(ln): output += i print(output)
Traceback (most recent call last): File "/tmp/tmpalh6dwwk/tmphyb4_66n.py", line 1, in <module> n,l = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s275506202
p04044
u924845460
1590643867
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
n,l=map(int, input().split()) ss=[input() for i in range(n)] ss=ss.sort() print(''.join(ss))
Traceback (most recent call last): File "/tmp/tmps2kl4o6d/tmphzchukc0.py", line 1, in <module> n,l=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s868754618
p04044
u924845460
1590643819
Python
Python (3.4.3)
py
Runtime Error
17
3060
86
n,l=map(int, input().split()) ss=[input() for i in range(n)] print(''.join(ss.sort()))
Traceback (most recent call last): File "/tmp/tmp4__s91yw/tmp43dtl5k8.py", line 1, in <module> n,l=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s565040167
p04044
u924845460
1590641061
Python
PyPy3 (2.4.0)
py
Runtime Error
174
38480
120
n,l=map(int, input().split()) ss=[] for i in range(len(n)): ss.append(input()) a=sorted(list(ss)) print(''.join(a))
Traceback (most recent call last): File "/tmp/tmp3rpgo74w/tmpmzshv67m.py", line 1, in <module> n,l=map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s993547719
p04044
u574464625
1590463931
Python
Python (3.4.3)
py
Runtime Error
17
3060
160
#文字列大好き n,l = map(int, input().split()) s=[input() for _ in range(n)] s=s.sort() print(''.join(s)) #ans='' #for i in s: # ans=ans+i #print(ans)
Traceback (most recent call last): File "/tmp/tmpq3oruzep/tmp_ol2go2f.py", line 2, in <module> n,l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s790471990
p04044
u588163461
1590462086
Python
Python (3.4.3)
py
Runtime Error
17
3060
372
#!/usr/bin/env python3 """ Lの文字列N個(s1-sN) N個の文字列を辞書順にしたあと,くっつけて出力する """ def main(): l, n = map(int, input().split()) input_list = [] for i in range(n): input_list.append(input()) result_list = sorted(input_list) print("".join(result_list)) if __name__ == "__main__": main()
Traceback (most recent call last): File "/tmp/tmpnq5dvdqp/tmpr9za3oal.py", line 21, in <module> main() File "/tmp/tmpnq5dvdqp/tmpr9za3oal.py", line 10, in main l, n = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s102371120
p04044
u588163461
1590462005
Python
Python (3.4.3)
py
Runtime Error
18
3060
379
#!/usr/bin/env python3 """ Lの文字列N個(s1-sN) N個の文字列を辞書順にしたあと,くっつけて出力する """ def main(): l, n = map(int, input().split()) input_list = [] for i in range(n): input_list.append(input().strip()) result_list = sorted(input_list) print("".join(result_list)) if __name__ == "__main__": main()
Traceback (most recent call last): File "/tmp/tmpaquchs_5/tmpctlz3wr6.py", line 21, in <module> main() File "/tmp/tmpaquchs_5/tmpctlz3wr6.py", line 10, in main l, n = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s113463939
p04044
u900848560
1590453026
Python
PyPy3 (2.4.0)
py
Runtime Error
183
38384
163
a=input().split(" ") list1=[] for i in range(int(a[0])): b=input() list1.append(b) list2=sorted(list1) for j in range(int(a[0])+1): c=c+list2[j] print(c)
Traceback (most recent call last): File "/tmp/tmpzm02a0z3/tmpexrvh8jp.py", line 1, in <module> a=input().split(" ") ^^^^^^^ EOFError: EOF when reading a line
s127376608
p04044
u443736699
1590376894
Python
Python (3.4.3)
py
Runtime Error
21
3316
137
L, N = input().strip().split() s = [input() for i in range(int(N))] result = "" for i in sorted(s): result = result + i print(result)
Traceback (most recent call last): File "/tmp/tmpleh7zjwb/tmphprfx09q.py", line 1, in <module> L, N = input().strip().split() ^^^^^^^ EOFError: EOF when reading a line
s943196780
p04044
u989147806
1590336255
Python
Python (3.4.3)
py
Runtime Error
20
3064
889
if __name__ == '__main__': numbers = input().split(' ') N = int(numbers[0]) L = int(numbers[1]) # print(N, L) words = [input()] for i in range(N - 1): # word2 = input() length = len(words) new_word = input() for j in range(length): # (1) word = words[j] for l in range(L): if ord(new_word[l]) < ord(word[l]): if j == 0: words.insert(0, new_word) # スペースをつけておく else: words.insert(j, new_word) flag = False break elif ord(new_word[l]) > ord(word[l]): flag = True break else: continue if flag: if j == length - 1: words.append(new_word) continue # (1)のcontinue else: break # (1)のbreak concat = '' for i in range(len(words)): concat += words[i] print(concat)
Traceback (most recent call last): File "/tmp/tmpl4vclyws/tmpopcdkre6.py", line 2, in <module> numbers = input().split(' ') ^^^^^^^ EOFError: EOF when reading a line
s104539358
p04044
u493130708
1590008708
Python
PyPy3 (2.4.0)
py
Runtime Error
186
38640
2884
# -*- coding: utf-8 -*- ############# # Libraries # ############# import sys input = sys.stdin.readline import math #from math import gcd import bisect from collections import defaultdict from collections import deque from functools import lru_cache ############# # Constants # ############# MOD = 10**9+7 INF = float('inf') ############# # Functions # ############# ######INPUT###### def I(): return int(input().strip()) def S(): return input().strip() def IL(): return list(map(int,input().split())) def SL(): return list(map(str,input().split())) def ILs(n): return list(int(input()) for _ in range(n)) def SLs(n): return list(input().strip() for _ in range(n)) def ILL(n): return [list(map(int, input().split())) for _ in range(n)] def SLL(n): return [list(map(str, input().split())) for _ in range(n)] ######OUTPUT###### def P(arg): return print(arg) def Y(): print("Yes"); return def N(): print("No"); return #####Inverse##### def inv(n): return pow(n, MOD-2, MOD) ######Combination###### kaijo_memo = [] def kaijo(n): if(len(kaijo_memo) > n): return kaijo_memo[n] if(len(kaijo_memo) == 0): kaijo_memo.append(1) while(len(kaijo_memo) <= n): kaijo_memo.append(kaijo_memo[-1] * len(kaijo_memo) % MOD) return kaijo_memo[n] gyaku_kaijo_memo = [] def gyaku_kaijo(n): if(len(gyaku_kaijo_memo) > n): return gyaku_kaijo_memo[n] if(len(gyaku_kaijo_memo) == 0): gyaku_kaijo_memo.append(1) while(len(gyaku_kaijo_memo) <= n): gyaku_kaijo_memo.append(gyaku_kaijo_memo[-1] * pow(len(gyaku_kaijo_memo),MOD-2,MOD) % MOD) return gyaku_kaijo_memo[n] def nCr(n,r): if(n == r): return 1 if(n < r or r < 0): return 0 ret = 1 ret = ret * kaijo(n) % MOD ret = ret * gyaku_kaijo(r) % MOD ret = ret * gyaku_kaijo(n-r) % MOD return ret ######Factorization###### def factorization(n): arr = [] temp = n for i in range(2, int(-(-n**0.5//1))+1): if temp%i==0: cnt=0 while temp%i==0: cnt+=1 temp //= i arr.append([i, cnt]) if temp!=1: arr.append([temp, 1]) if arr==[]: arr.append([n, 1]) return arr #####MakeDivisors###### def make_divisors(n): divisors = [] for i in range(1, int(n**0.5)+1): if n % i == 0: divisors.append(i) if i != n // i: divisors.append(n//i) return divisors #####LCM##### def lcm(a, b): return a * b // gcd (a, b) #####BitCount##### def count_bit(n): count = 0 while n: n &= n -1 count += 1 return count #####ChangeBase##### def base_10_to_n(X, n): if X//n: return base_10_to_n(X//n, n)+[X%n] return [X%n] def base_n_to_10(X, n): return sum(int(str(X)[-i])*n**i for i in range(len(str(X)))) #####IntLog##### def int_log(n, a): count = 0 while n>=a: n //= a count += 1 return count ############# # Main Code # ############# N,L = IL() S = SLs(N) S.sort() P(*S,sep="")
Traceback (most recent call last): File "/tmp/tmp41yyaveg/tmpjj8siwe3.py", line 139, in <module> N,L = IL() ^^^ ValueError: not enough values to unpack (expected 2, got 0)
s404581683
p04044
u670334135
1589670311
Python
Python (3.4.3)
py
Runtime Error
17
2940
458
NL = input() N, L = NL.split(" ") N, L = int(N), int(L) word_dict = {} for i in range(N): word_dict.[i](input()) def hikaku(a, b): for i,j in zip(a,b): if a < b: return a, b if b < a: return b, a for i in range(1, N-1): for j in range(N-j): a,b = word_dict[j], word_dict[j+1] a,b = hikaku(a, b) word_dict[j], word_dict[j] = a, b return_word = "" for i in word_dict: return_word += word_dict[i] print(return_word)
File "/tmp/tmpg_smxttp/tmp8o1r4d7u.py", line 7 word_dict.[i](input()) ^ SyntaxError: invalid syntax
s812185343
p04044
u923662841
1589666721
Python
Python (3.4.3)
py
Runtime Error
19
3060
118
L, N = map(int, input().split()) lists = [] for i in range(N): lists.append(input()) print(''.join(sorted(lists)))
Traceback (most recent call last): File "/tmp/tmp4yzy7sns/tmp_p98aheo.py", line 1, in <module> L, N = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s293614244
p04044
u923662841
1589666300
Python
Python (3.4.3)
py
Runtime Error
17
2940
110
L,N = map(int, input().split()) list=[] for i in range(N): list.append(input()) print(''.join(sorted(list))
File "/tmp/tmp7xz0p5iz/tmpclxehu30.py", line 6 print(''.join(sorted(list)) ^ SyntaxError: '(' was never closed
s049183517
p04044
u345336405
1589526327
Python
Python (3.4.3)
py
Runtime Error
21
3444
72
n, l= map(int, input().split()) s = [input() for _ in range[n]] s.sort()
Traceback (most recent call last): File "/tmp/tmppudoza2v/tmp03j6c2np.py", line 1, in <module> n, l= map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s092985240
p04044
u345336405
1589525928
Python
Python (3.4.3)
py
Runtime Error
17
3064
89
n, l= map(int, input().split()) s=sorted([input () for i in ranage(n)]) print("".join(s))
Traceback (most recent call last): File "/tmp/tmplbn0xwlt/tmpdaicqu1i.py", line 1, in <module> n, l= map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s359438342
p04044
u252828980
1589335501
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
n.l = map(int,input().split()) L = [input() for_ in range(n)] L.sort() print("".join(L))
File "/tmp/tmp1r2heceq/tmp8m_4s934.py", line 2 L = [input() for_ in range(n)] ^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: invalid syntax. Perhaps you forgot a comma?
s077638356
p04044
u349444371
1589298789
Python
Python (3.4.3)
py
Runtime Error
17
3060
143
L,N=map(int,input().split()) l=[] for i in range(N): S=input() l.append(S) #print(l) l2=sorted(l) #print(l2) ans="".join(l2) print(ans)
Traceback (most recent call last): File "/tmp/tmpcry105vc/tmp6b34h7wx.py", line 1, in <module> L,N=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s889008445
p04044
u556657484
1589152534
Python
Python (3.4.3)
py
Runtime Error
17
2940
110
N, L = map(int, input().split()) S = [] for _ in range(N): S.append(input()) S.sort() print()''.join(S))
File "/tmp/tmpy5yvfgpr/tmp8f4tp49q.py", line 7 print()''.join(S)) ^ SyntaxError: unmatched ')'
s105893888
p04044
u021906447
1589127509
Python
Python (3.4.3)
py
Runtime Error
18
2940
118
strs = [] for i in range(N): n = input() strs.append(n) strs = sorted(strs) strs = ''.join(strs) print(strs)
Traceback (most recent call last): File "/tmp/tmprm8ucnrs/tmpsbap8x90.py", line 2, in <module> for i in range(N): ^ NameError: name 'N' is not defined
s382549495
p04044
u317916383
1589113495
Python
Python (3.4.3)
py
Runtime Error
18
3060
165
input = input().split(" ") N = input[0] L = input[1] inputs = list() for n in range(N): list.append(input()) inputs.sort() answer = "".join(inputs) print(answer)
Traceback (most recent call last): File "/tmp/tmps448y7po/tmp6bpa3i23.py", line 1, in <module> input = input().split(" ") ^^^^^^^ EOFError: EOF when reading a line
s830409642
p04044
u317916383
1589113328
Python
Python (3.4.3)
py
Runtime Error
17
2940
174
input = input().split(" ") N = (int)input[0] L = (int)input[1] inputs = [] for n in range(N): inputs.append(input()) inputs.sort() answer = "".join(inputs) print(answer)
File "/tmp/tmpt0_cc4r6/tmpbm2dl_ul.py", line 2 N = (int)input[0] ^^^^^ SyntaxError: invalid syntax
s026579771
p04044
u446451725
1589081220
Python
Python (3.4.3)
py
Runtime Error
17
3064
221
NL = input().split() N = int(NL[0]) L = int(NL[1]) aba = ["axx", "fxx", "dxx"] st = [] for i in range(N): a = aba[i] st.append(a) s_st = sorted(st) dic = "" for j in range(len(s_st)): dic += s_st[j] print(dic)
Traceback (most recent call last): File "/tmp/tmpsxdyvfr0/tmp3puxv97_.py", line 1, in <module> NL = input().split() ^^^^^^^ EOFError: EOF when reading a line
s262245605
p04044
u446451725
1589081153
Python
Python (3.4.3)
py
Runtime Error
17
3060
193
NL = ["3", "3"] N = int(NL[0]) L = int(NL[1]) st = [] for i in range(N): a = input() st.append(a) s_st = sorted(st) dic = "" for j in range(len(s_st)): dic += s_st[j] print(dic)
Traceback (most recent call last): File "/tmp/tmp3h0bq4vd/tmpaudssxp4.py", line 7, in <module> a = input() ^^^^^^^ EOFError: EOF when reading a line
s240141953
p04044
u147762850
1588899892
Python
Python (3.4.3)
py
Runtime Error
17
2940
289
#include <bits/stdc++.h> using namespace std; int main() { int n, l; cin >> n >> l; vector<string> s(n); for(int i = 0; i < n; i++){ cin >> s[i]; } sort(s.begin(), s.end()); for(int i = 0; i < n; i++){ cout << s[i]; } cout << endl; }
File "/tmp/tmpt52voem9/tmpzm9yh65a.py", line 2 using namespace std; ^^^^^^^^^ SyntaxError: invalid syntax
s428833008
p04044
u124212130
1588824686
Python
Python (3.4.3)
py
Runtime Error
17
3060
157
N, M = map(int, input().split()) Mylist = [] for i in range(M): S = input() Mylist.append(S) ANSlist = sorted(Mylist) ANS = ''.join(ANSlist) print(ANS)
Traceback (most recent call last): File "/tmp/tmp5lupt9ba/tmpzwfz_1a4.py", line 1, in <module> N, M = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s417285288
p04044
u124212130
1588824508
Python
Python (3.4.3)
py
Runtime Error
17
2940
161
N, M = map(int(), input().split()) Mylist = [] for i in range(M): S = input() Mylist.append(S) ANSlist = sorted(Mylist) ANS = ''.join(ANSlist) print(ANS)
Traceback (most recent call last): File "/tmp/tmpe9jn3b2t/tmpom7d8ojn.py", line 1, in <module> N, M = map(int(), input().split()) ^^^^^^^ EOFError: EOF when reading a line
s464890149
p04044
u344813796
1588648213
Python
Python (3.4.3)
py
Runtime Error
18
3060
96
n,l=map(int, input().split()) #a1 a2 a3 s = [i for i in range(n)] s.sort() print(''.join(s))
Traceback (most recent call last): File "/tmp/tmptum2rl61/tmptufc8t_1.py", line 1, in <module> n,l=map(int, input().split()) #a1 a2 a3 ^^^^^^^ EOFError: EOF when reading a line
s324265365
p04044
u344813796
1588648112
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
n,l=map(int, input().split()) #a1 a2 a3 s = [i for i in range(q)] s.sort() print(''.join(s))
Traceback (most recent call last): File "/tmp/tmp75cxu1r1/tmp14u8i9nk.py", line 1, in <module> n,l=map(int, input().split()) #a1 a2 a3 ^^^^^^^ EOFError: EOF when reading a line
s599683279
p04044
u912652535
1588633785
Python
Python (3.4.3)
py
Runtime Error
18
2940
95
n, l = map(int,input().split()) s = [input() for _ in range(n)] i = sorted(s) print(''.join(i)
File "/tmp/tmp91tfniur/tmp0zts0x59.py", line 5 print(''.join(i) ^ SyntaxError: '(' was never closed
s296712651
p04044
u276204978
1588614592
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
N, L = map(int, input().split()) S = [input() for _ in range(N)] print(''.join(S.sort())
File "/tmp/tmpn7pviox3/tmpp6qn1qdr.py", line 3 print(''.join(S.sort()) ^ SyntaxError: '(' was never closed
s707430840
p04044
u205046116
1588425360
Python
Python (3.4.3)
py
Runtime Error
17
3060
92
n, l = map(int, input().split()) s = soated([input() for i in range(n)]) print(*s, sep = "")
Traceback (most recent call last): File "/tmp/tmpk_fxbkul/tmpi37lh8_4.py", line 1, in <module> n, l = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s268159388
p04044
u578323547
1588187683
Python
PyPy3 (2.4.0)
py
Runtime Error
168
38256
117
x = [int(x) for x in input().split(' ')][1] l = [] for i in range(x): l += [input()] print(''.join(sorted(l)))
Traceback (most recent call last): File "/tmp/tmps2mod3yw/tmplrn89d_d.py", line 1, in <module> x = [int(x) for x in input().split(' ')][1] ^^^^^^^ EOFError: EOF when reading a line
s228173451
p04044
u578323547
1588187637
Python
PyPy3 (2.4.0)
py
Runtime Error
175
38256
114
x = [int(x) for x in input().split()][1] l = [] for i in range(x): l += [input()] print(''.join(sorted(l)))
Traceback (most recent call last): File "/tmp/tmpioulci6n/tmpzjqi3n3u.py", line 1, in <module> x = [int(x) for x in input().split()][1] ^^^^^^^ EOFError: EOF when reading a line
s487706256
p04044
u578323547
1588187566
Python
PyPy3 (2.4.0)
py
Runtime Error
175
38256
116
x = [int(x) for x in input().split()][1] l = [] for i in range(x+1): l += [input()] print(''.join(sorted(l)))
Traceback (most recent call last): File "/tmp/tmpm2zmu02q/tmp1kh0ixz4.py", line 1, in <module> x = [int(x) for x in input().split()][1] ^^^^^^^ EOFError: EOF when reading a line
s799202887
p04044
u578323547
1588187055
Python
PyPy3 (2.4.0)
py
Runtime Error
187
38640
66
l = [x for x in input().split(' ')] l = sorted(l) print ''.join(l)
File "/tmp/tmpc0h4enap/tmpkqw8y0px.py", line 3 print ''.join(l) ^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
s110059310
p04044
u257265865
1588114764
Python
Python (3.4.3)
py
Runtime Error
17
3060
81
n,l=map(int,input().split) s=sorted([input() for i in range(n)]) print(*s,sep="")
Traceback (most recent call last): File "/tmp/tmp5b1h4ko3/tmp_wm0s3d0.py", line 1, in <module> n,l=map(int,input().split) ^^^^^^^ EOFError: EOF when reading a line
s719934860
p04044
u188745744
1588094205
Python
Python (3.4.3)
py
Runtime Error
17
3060
123
N,K = list(map(int,input().split())) listA = [] for i in range(K):listA.append(input()) listA.sort() print("".join(listA))
Traceback (most recent call last): File "/tmp/tmp67adj6z_/tmp0x41n0ei.py", line 1, in <module> N,K = list(map(int,input().split())) ^^^^^^^ EOFError: EOF when reading a line
s710990783
p04044
u549161102
1587933360
Python
Python (3.4.3)
py
Runtime Error
1967
3424
146
N,L = map(int, input().split()) S = [] for i in range(N): S.append(input()) S.sort() ans = '' for i in range(N): ans += ans + S[i] print(ans)
Traceback (most recent call last): File "/tmp/tmpoy3vuvhi/tmp_d2hmvex.py", line 1, in <module> N,L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s886741311
p04044
u549161102
1587933263
Python
Python (3.4.3)
py
Runtime Error
17
3060
155
N,L = map(int, input().split()) S = [list(map(str, input().split())) for i in range(N)] S.sort() ans = '' for i in range(N): ans += ans + S[i] print(ans)
Traceback (most recent call last): File "/tmp/tmpyqw8mfaw/tmp96_6x4le.py", line 1, in <module> N,L = map(int, input().split()) ^^^^^^^ EOFError: EOF when reading a line
s122764440
p04044
u486814557
1587886110
Python
Python (3.4.3)
py
Runtime Error
18
2940
154
H, W = map(int, input().split()) S = [] for _ in range(H): S.append(input()) S.sort() str1='' for i in range (H): str1=str1+S[i] print(str1)
File "/tmp/tmpotke4qjb/tmpsc9pm68v.py", line 6 S.sort() ^ SyntaxError: invalid character '(' (U+FF08)
s268174611
p04044
u486814557
1587885899
Python
Python (3.4.3)
py
Runtime Error
17
2940
151
H, W = map(int, input().split()) S = [] for _ in range(H): S.append(input()) S.sort() str1='' str1.append(S[i] for i in range (H)) print(str1)
File "/tmp/tmpgvni_442/tmppkzkfjwi.py", line 6 S.sort() ^ SyntaxError: invalid character '(' (U+FF08)
s249319379
p04044
u486814557
1587885822
Python
Python (3.4.3)
py
Runtime Error
17
2940
139
H, W = map(int, input().split()) S = [] for _ in range(H): S.append(input()) S.sort() str1='' str1.append(S[i] for i in range (H))
File "/tmp/tmp8f2oifj_/tmpgd4juh97.py", line 6 S.sort() ^ SyntaxError: invalid character '(' (U+FF08)
s354566897
p04044
u941794834
1587869043
Python
Python (3.4.3)
py
Runtime Error
17
2940
75
n,b=list(input().split()) a=[input() for i in range(n)] print(''.join(a))
Traceback (most recent call last): File "/tmp/tmpn39m1pkf/tmp44r2hkos.py", line 1, in <module> n,b=list(input().split()) ^^^^^^^ EOFError: EOF when reading a line
s078973364
p04044
u115877451
1587788514
Python
Python (3.4.3)
py
Runtime Error
17
2940
84
a,b=map(int,input().split()) n=sorted([input() for i in range(a)]) print(*s,sep='')
Traceback (most recent call last): File "/tmp/tmpntpwle17/tmp0gmesw0s.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s000304754
p04044
u115877451
1587788298
Python
Python (3.4.3)
py
Runtime Error
17
2940
84
a,b=map(int,input().split()) n=sorted([input() for i in range(b)]) print(*s,sep='')
Traceback (most recent call last): File "/tmp/tmpn2tncbk1/tmp82vefwqw.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s987973572
p04044
u115877451
1587787533
Python
Python (3.4.3)
py
Runtime Error
19
3060
118
a,b=map(int,input().split()) n=list([input() for i in range(b)]) for i in n: p=sorted(n) q=''.join(p) print(q)
Traceback (most recent call last): File "/tmp/tmp5hvlggyd/tmp5izbj_ik.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s318878223
p04044
u115877451
1587787359
Python
Python (3.4.3)
py
Runtime Error
19
3060
123
a,b=map(int,input().split()) n=list([str(input()) for i in range(b)]) for i in n: p=sorted(n) q=''.join(p) print(q)
Traceback (most recent call last): File "/tmp/tmp91uyxl07/tmpbx04klc3.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s466229716
p04044
u390762426
1587784387
Python
Python (3.4.3)
py
Runtime Error
17
2940
40
list=sorted[input()] print(*list,sep="")
Traceback (most recent call last): File "/tmp/tmpyglx5udz/tmpkivpwilt.py", line 1, in <module> list=sorted[input()] ^^^^^^^ EOFError: EOF when reading a line
s894136102
p04044
u115877451
1587784095
Python
Python (3.4.3)
py
Runtime Error
17
3060
103
a,b=map(int,input().split()) n=list([str(input()) for i in range(b)]) p=sorted(n) q=''.join(p) print(q)
Traceback (most recent call last): File "/tmp/tmpiatdzzub/tmp39mqtc9k.py", line 1, in <module> a,b=map(int,input().split()) ^^^^^^^ EOFError: EOF when reading a line
s153514539
p04044
u586206420
1587783078
Python
Python (3.4.3)
py
Runtime Error
17
3060
235
s = list(map(int, input().split())) t = [input() for i in range(s[0])] for i in range(0, s[0] - 1): if t[i] > t[i + 1]: u = t[i] t[i] = t[i + 1] t[i + 1] = u v = 0 for i in range(0, s[0]): v = v + t[i] v
Traceback (most recent call last): File "/tmp/tmpb68a8uzl/tmp457rqate.py", line 1, in <module> s = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line
s445855524
p04044
u586206420
1587783039
Python
Python (3.4.3)
py
Runtime Error
17
3064
238
s = list(map(int, input().split())) t = [input() for i in range(s[0])] for i in range(0, s[0] - 1): if t[i] > t[i + 1]: u = t[i] t[i] = t[i + 1] t[i + 1] = u v = 0 for i in range(0, s[0]): v = v + t[i] t[i]
Traceback (most recent call last): File "/tmp/tmpb55cukxr/tmp11xkhrst.py", line 1, in <module> s = list(map(int, input().split())) ^^^^^^^ EOFError: EOF when reading a line