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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s204262540 | p04044 | u586206420 | 1587782668 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 211 | 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
print(t[0] + t[1] + t[2]) | Traceback (most recent call last):
File "/tmp/tmpehag6wu9/tmp_hu2arcc.py", line 1, in <module>
s = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s592224582 | p04044 | u869265610 | 1587445206 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 116 | a,b = map(int,input().split())
L=[]
for i in range(b):
L.append(input())
K=sorted(L)
print(''.join(K))
| Traceback (most recent call last):
File "/tmp/tmpq9cxfb8r/tmp4y6hgq9a.py", line 1, in <module>
a,b = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s432197469 | p04044 | u869265610 | 1587443944 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 97 | a,b = map(int,input().split())
L=[list(map(input().split())) for i in range(b)]
print(L.sort())
| File "/tmp/tmp0ggbp70g/tmpu8pq05q2.py", line 3
print(L.sort())
IndentationError: unexpected indent
| |
s007134144 | p04044 | u108597410 | 1587175013 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 95 | n,m = map(int,input().split())
List = [input() for i in range(n)]
print("".join(sorted(List))
| File "/tmp/tmpq95_3ncl/tmpco_4xy58.py", line 4
print("".join(sorted(List))
^
SyntaxError: '(' was never closed
| |
s847703548 | p04044 | u108597410 | 1587174963 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 94 | n,m = map(int,input().split())
List = [input() for i in range(n)]
print(''.join(sorted(List)) | File "/tmp/tmp7cw6r7ho/tmpn8zij7a1.py", line 4
print(''.join(sorted(List))
^
SyntaxError: '(' was never closed
| |
s438930596 | p04044 | u578854679 | 1587131710 | Python | PyPy3 (2.4.0) | py | Runtime Error | 178 | 38256 | 99 | n, l = map(int, input().split())
s = [input() for _ in range(n)]
s.sort()
print(s[0] + s[1] + s[2]) | Traceback (most recent call last):
File "/tmp/tmppmx8h0ib/tmpvynuprxq.py", line 1, in <module>
n, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s335345182 | p04044 | u923583900 | 1587046309 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 166 | number,length=input().split()
input_list=[]
out=''
for i in range(number):
input_list.append(input())
input_list.sort()
for i in input_list:
out+=i
print(out) | Traceback (most recent call last):
File "/tmp/tmpwyd4u1nr/tmp8mim2meh.py", line 1, in <module>
number,length=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s177723981 | p04044 | u136843617 | 1586931004 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 91 | l, n = map(int, input().split())
s = [input() for _ in range(n)]
s.sort()
print("".join(s)) | Traceback (most recent call last):
File "/tmp/tmplac5d46f/tmp74wsb_34.py", line 1, in <module>
l, n = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s631781987 | p04044 | u136843617 | 1586930642 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 90 | l, n = map(int, input().split())
s = sorted([input() for _ in range(n)])
print("".join(s)) | Traceback (most recent call last):
File "/tmp/tmp3r_ealk5/tmphnbuff6z.py", line 1, in <module>
l, n = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s101048384 | p04044 | u515647766 | 1586890868 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 1282 | def sort(str_list):
for i in range(len(str_list) - 1):
string = str_list[i]
for j in range(i + 1, len(str_list)):
next_string = str_list[j]
for k in range(len(string)):
if ord(string[k]) > ord(next_string[k]):
temp = string
str_list[i] = next_string
str_list[j] = temp
break
elif ord(string[k]) == ord(next_string[k]):
continue
else:
break
ans = ""
for i in str_list:
ans += i
return ans
line1 = input().split()
n = line1[0]
l = line1[1]
str_list = []
for i in range(n):
str_list.append(input())
print(sort(str_list))
def sort(str_list):
for i in range(len(str_list) - 1):
string = str_list[i]
for j in range(i + 1, len(str_list)):
next_string = str_list[j]
for k in range(len(string)):
if ord(string[k]) > ord(next_string[k]):
temp = string
str_list[i] = next_string
str_list[j] = temp
break
elif ord(string[k]) == ord(next_string[k]):
continue
else:
break
ans = ""
for i in str_list:
ans += i
return ans
line1 = input().split()
n = int(line1[0])
l = line1[1]
str_list = []
for i in range(n):
str_list.append(input())
print(sort(str_list)) | Traceback (most recent call last):
File "/tmp/tmp22yfke0s/tmp4w78qguh.py", line 21, in <module>
line1 = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s048732527 | p04044 | u515647766 | 1586890815 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 639 | def sort(str_list):
for i in range(len(str_list) - 1):
string = str_list[i]
for j in range(i + 1, len(str_list)):
next_string = str_list[j]
for k in range(len(string)):
if ord(string[k]) > ord(next_string[k]):
temp = string
str_list[i] = next_string
str_list[j] = temp
break
elif ord(string[k]) == ord(next_string[k]):
continue
else:
break
ans = ""
for i in str_list:
ans += i
return ans
line1 = input().split()
n = line1[0]
l = line1[1]
str_list = []
for i in range(n):
str_list.append(input())
print(sort(str_list))
| Traceback (most recent call last):
File "/tmp/tmpomzefix3/tmp7e7875u2.py", line 21, in <module>
line1 = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s730001159 | p04044 | u289162337 | 1586802810 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 125 | N, L = map(int, input().split())
l = [input() for _ in range(L)]
l = sorted(l)
s = ""
for i in range(L):
s += l[i]
print(s) | Traceback (most recent call last):
File "/tmp/tmpk8cmvz06/tmp684tedoz.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s818110712 | p04044 | u289162337 | 1586802746 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 120 | N, L = map(int, input().split())
l = [input() for _ in range(L)]
l.sort()
s = ""
for i in range(L):
s += l[i]
print(s) | Traceback (most recent call last):
File "/tmp/tmpksge_suj/tmpvb_5rgd9.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s062784382 | p04044 | u423665486 | 1586751795 | Python | PyPy3 (2.4.0) | py | Runtime Error | 177 | 38640 | 173 | def resolve():
n, m = map(int, input().split())
w = list()
ans = ""
for _ in range(m):
w.append(input())
w.sort()
for word in w:
ans += word
print(ans)
resolve() | Traceback (most recent call last):
File "/tmp/tmp3ojbk9tt/tmpzu5tuv71.py", line 12, in <module>
resolve()
File "/tmp/tmp3ojbk9tt/tmpzu5tuv71.py", line 2, in resolve
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s414028857 | p04044 | u423665486 | 1586751696 | Python | PyPy3 (2.4.0) | py | Runtime Error | 183 | 38512 | 190 | def resolve():
n, m = map(int, input().split())
w = list()
ans = ""
for _ in range(m):
w.append("".join(sorted(input())))
w.sort()
for word in w:
ans += word
print(ans)
resolve() | Traceback (most recent call last):
File "/tmp/tmpr6wef0ou/tmpd92aycsr.py", line 12, in <module>
resolve()
File "/tmp/tmpr6wef0ou/tmpd92aycsr.py", line 2, in resolve
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s778578712 | p04044 | u099187672 | 1586749797 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 204 | n,l = map(int,input().split())
str1 = input()
str2 = input()
str3 = input()
blank = []
blank.append(str1)
blank.append(str2)
blank.append(str3)
blank.sort()
new = blank[0]+blank[1]+blank[2]
print(new)
| Traceback (most recent call last):
File "/tmp/tmpfkzemsqk/tmpv4eyni47.py", line 1, in <module>
n,l = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s051486675 | p04044 | u423665486 | 1586739159 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 140 | def resolve():
n, m = map(int, input().split())
w = list()
for _ in range(m):
w.append(input())
w.sort()
print("".join(w))
resolve() | Traceback (most recent call last):
File "/tmp/tmpcuisnhcu/tmp7i2xhvsz.py", line 9, in <module>
resolve()
File "/tmp/tmpcuisnhcu/tmp7i2xhvsz.py", line 2, in resolve
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s381744579 | p04044 | u423665486 | 1586739097 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 139 | def resolve():
n, m = map(int, input().split())
w = list()
for _ in range(m):
w.append(input())
w.sort()
print("".join(w))
resolve() | Traceback (most recent call last):
File "/tmp/tmp8ttum_b2/tmplw0focnp.py", line 8, in <module>
resolve()
File "/tmp/tmp8ttum_b2/tmplw0focnp.py", line 2, in resolve
n, m = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s571866826 | p04044 | u112747720 | 1586678661 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 156 | N, L = [int(i) for i in input().split(' ')]
words = [input() for i in range(len(N))]
words.sort(key = lambda x: x[0])
for word in words:
print(word)
| Traceback (most recent call last):
File "/tmp/tmp02ypgeib/tmpc_03hlhm.py", line 1, in <module>
N, L = [int(i) for i in input().split(' ')]
^^^^^^^
EOFError: EOF when reading a line
| |
s440208183 | p04044 | u112747720 | 1586678562 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 150 | N, L = [int(i) for i in input().split(' ')]
words = [input() for i in range(len(N))]
words.sort(lambda x: x[0])
for word in words:
print(word)
| Traceback (most recent call last):
File "/tmp/tmp9j83ke2j/tmpwvatdiys.py", line 1, in <module>
N, L = [int(i) for i in input().split(' ')]
^^^^^^^
EOFError: EOF when reading a line
| |
s292672339 | p04044 | u112747720 | 1586678501 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 153 | N, L = [int(i) for i in input().split(' ')]
words = [input() for i in range(len(N))]
words.sort(lambda word: word[0])
for word in words:
print(word) | Traceback (most recent call last):
File "/tmp/tmpw5vo0dsr/tmpl04xs1gi.py", line 1, in <module>
N, L = [int(i) for i in input().split(' ')]
^^^^^^^
EOFError: EOF when reading a line
| |
s189509867 | p04044 | u583507988 | 1586484104 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 96 | N, L = map(int, input().split())
S = [input() for i in range(L)]
s = sorted(S)
print(*s, sep='') | Traceback (most recent call last):
File "/tmp/tmpoq1hnaq6/tmpa5e1ohz1.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s927885543 | p04044 | u583507988 | 1586483999 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 97 | N, L = map(int, input().split())
S = [input() for i in range(L)]
s = sorted(S)
print(*s, sep='')
| Traceback (most recent call last):
File "/tmp/tmpw9ik1ar8/tmpibcqw3gz.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s100598092 | p04044 | u583507988 | 1586483759 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 67 | L = int(input())
print(*sorted(input() for i in range(L)), sep='')
| Traceback (most recent call last):
File "/tmp/tmpoy36u4j7/tmp_dnn83q7.py", line 1, in <module>
L = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s791814278 | p04044 | u583507988 | 1586474904 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 74 | N, L = map(int, input().split())
print(*sorted(input() for i in range(L))) | Traceback (most recent call last):
File "/tmp/tmptgz7lhxq/tmp_uj3o6sq.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s969119975 | p04044 | u583507988 | 1586474774 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 82 | N, L = map(int, input().split())
print(*sorted(input() for i in range(L)), sep='') | Traceback (most recent call last):
File "/tmp/tmpb0_73jev/tmpopjuv4gj.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s756478444 | p04044 | u583507988 | 1586474546 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 97 | N, L = map(int, input().split())
S = [input().split() for i in range(L)]
s = sorted(S)
print(*s) | Traceback (most recent call last):
File "/tmp/tmpdmgern_8/tmp79c7y9t5.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s805093843 | p04044 | u172780602 | 1586473320 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 141 | n,l=map(int,input().split())
list=[]
for _ in range(n):
list.append(str(input())
list.sort()
ans=""
for i in list:
ans+=i
print(ans) | File "/tmp/tmp730sjli2/tmpj2wv2mfv.py", line 4
list.append(str(input())
^
SyntaxError: '(' was never closed
| |
s386717686 | p04044 | u172780602 | 1586473234 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 148 | l,n=map(int,input().split())
list=[]
for _ in range(n):
list.append(input())
list.sort()
ans=""
for i in len(list):
ans+=list[i]
print(ans) | Traceback (most recent call last):
File "/tmp/tmp_md1o131/tmpfzxwc3aw.py", line 1, in <module>
l,n=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s887007339 | p04044 | u172780602 | 1586473195 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 137 | l,n=map(int,input().split())
list=[]
for _ in range(n):
list.append(input())
list.sort()
ans=""
for i in list:
ans+=i
print(ans) | Traceback (most recent call last):
File "/tmp/tmpe5bazk8l/tmp39rxooj9.py", line 1, in <module>
l,n=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s591545924 | p04044 | u172780602 | 1586473065 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3060 | 142 | l,n=map(int,input().split())
list=[]
for _ in range(n):
list.append(str(input()))
list.sort()
ans=""
for i in list:
ans+=i
print(ans) | Traceback (most recent call last):
File "/tmp/tmproamjsz3/tmprj7cb4v3.py", line 1, in <module>
l,n=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s306298670 | p04044 | u172780602 | 1586472802 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 125 | l,n=map(int,input().split())
D=[]
for _ in range(n):
D.append(str(input()))
D.sort()
m=""
for i in S:
m+=i
print(m) | Traceback (most recent call last):
File "/tmp/tmphnjygm61/tmpfyt2ae4s.py", line 1, in <module>
l,n=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s168410496 | p04044 | u172780602 | 1586472640 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 141 | l,n=map(int,input().split())
D=[]
for _ in range(n):
D.append(str(input()))
S.sort(D,reverse=False)
m=" "
for i in S:
m+=i
print(m) | Traceback (most recent call last):
File "/tmp/tmplkhg6hoa/tmphmkx3eui.py", line 1, in <module>
l,n=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s641331972 | p04044 | u172780602 | 1586472438 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 143 | l,n=map(int,input().split())
D=[]
for _ in range(n):
D.append(str(input()))
S=sorted(D,reverse=False)
m=" "
for i in S:
m+=i
print(m) | Traceback (most recent call last):
File "/tmp/tmpbfpbwbnq/tmpnm8k_uho.py", line 1, in <module>
l,n=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s807266290 | p04044 | u806084713 | 1586462044 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 124 | i = list(map(int, input().split()))
s = [input() for i in range(i[1])]
s.sort()
newlist = sorted(s)
print(''.join(newlist)) | Traceback (most recent call last):
File "/tmp/tmpd3gyec7g/tmpa0yciisk.py", line 1, in <module>
i = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s132926547 | p04044 | u806084713 | 1586461763 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 124 | i = list(map(int, input().split()))
s = [input() for i in range(i[1])]
s.sort()
newlist = sorted(s)
print(''.join(newlist)) | Traceback (most recent call last):
File "/tmp/tmpzxfol2_w/tmpei8s7hjr.py", line 1, in <module>
i = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s392386448 | p04044 | u583507988 | 1586457218 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 91 | N, L = map(int, input().split())
S = [input().rstrip() for i in range(L)]
print(sorted(S)) | Traceback (most recent call last):
File "/tmp/tmp8rbsk7ok/tmpmbunbrkz.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s514309523 | p04044 | u583507988 | 1586406815 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 130 | N, L = map(int, input().split())
S = [input().split() for i in range(L)]
P = []
s = sorted(S)
for q in s:
P.append(q)
print(P) | Traceback (most recent call last):
File "/tmp/tmpkmsxw6gf/tmp9h29sdn_.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s282434848 | p04044 | u583507988 | 1586405652 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 125 | N, L = map(int, input().split())
P = [input().split() for i in range(L)]
p = sorted(P)
ppp = "".join(map(str, p))
print(ppp) | Traceback (most recent call last):
File "/tmp/tmp4b124zq8/tmpdqbvcc45.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s188160906 | p04044 | u583507988 | 1586375744 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 113 | N, L = map(int, input().split())
P = [input().split() for i in range(L)]
p = sorted(P)
print(p[0] + p[1] + p[2]) | Traceback (most recent call last):
File "/tmp/tmp5l0g42ec/tmpb24cw91b.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s148622053 | p04044 | u920604133 | 1586121085 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 123 | N, M = map(int, input().split())
word = []
for i in range(M):
word.append(input())
word.sort()
print(''.join(word)) | Traceback (most recent call last):
File "/tmp/tmp2y8riu1q/tmp0azj806h.py", line 1, in <module>
N, M = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s804472722 | p04044 | u086172144 | 1585950258 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | n,l=map(n,l=map(int,input().split())
s=[]
for i in range(n):
s.append(input())
print("".join(sorted(s))) | File "/tmp/tmp9muia40i/tmpluo07ou9.py", line 1
n,l=map(n,l=map(int,input().split())
^
SyntaxError: '(' was never closed
| |
s273496161 | p04044 | u870297120 | 1585915502 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 126 | n, l = map(int, input().split(' '))
hoges = []
for _ in range(n):
hoges.append(input())
a = hoges.sort()
print(''.join(a)) | Traceback (most recent call last):
File "/tmp/tmpk069k_2n/tmpolia56ob.py", line 1, in <module>
n, l = map(int, input().split(' '))
^^^^^^^
EOFError: EOF when reading a line
| |
s622171149 | p04044 | u379424722 | 1585718945 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 130 | N,L = map(int,input().split())
M = []
for i in range(N):
M.append(input())
M = sorted(input().split())
print(''.join(L)) | Traceback (most recent call last):
File "/tmp/tmpmzo69cuf/tmp0k4z2mpv.py", line 1, in <module>
N,L = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s878495215 | p04044 | u535659144 | 1585692299 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 114 | lis=input().split()
string_list=[input() for i in range(int(lis[0]))]
stringlist.sort()
print(''.join(stringlist)) | Traceback (most recent call last):
File "/tmp/tmpju1u2jkd/tmpqhg6xyis.py", line 1, in <module>
lis=input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s424789619 | p04044 | u870518235 | 1585623045 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 138 | N, L = map(int, input().split())
S = [input() for i in range(L)]
SS = sorted(S)
ans = ""
for i in range(L):
ans += SS[i]
print(ans) | Traceback (most recent call last):
File "/tmp/tmp3uka1pi6/tmpzin6qcsr.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s194717156 | p04044 | u857547702 | 1585545357 | Python | PyPy3 (2.4.0) | py | Runtime Error | 167 | 38256 | 96 | N,L=map(int,input().split())
l=[input() for i in range(N)]
a=sorted(l)
b=a[0]+a[1]+a[2]
print(b) | Traceback (most recent call last):
File "/tmp/tmpghovtssg/tmpr9mqln73.py", line 1, in <module>
N,L=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s578003758 | p04044 | u857547702 | 1585545318 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 96 | N,L=map(int,input().split())
l=[input() for i in range(N)]
a=sorted(l)
b=a[0]+a[1]+a[2]
print(b) | Traceback (most recent call last):
File "/tmp/tmph585nylv/tmpjpvr3yu2.py", line 1, in <module>
N,L=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s065377368 | p04044 | u857547702 | 1585545201 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | N,L=map(int,input().split())
l=[input() for i in range(N)]
a=sorted(l)
print(a[0]+a[1]+a[2]) | Traceback (most recent call last):
File "/tmp/tmp85n7i7_i/tmpjqp6s6gt.py", line 1, in <module>
N,L=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s106165419 | p04044 | u857547702 | 1585545100 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | N,L=map(int,input().split())
l=[input() for i in range(N)]
a=sorted(l)
print(a[0]+a[1]+a[2]) | Traceback (most recent call last):
File "/tmp/tmp61h0zirt/tmp_td_97zw.py", line 1, in <module>
N,L=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s662988861 | p04044 | u440129511 | 1585512988 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 84 | n,l=map(int,input().split())
s=[input() for i in range(n)]
s.sort()
print(*a,sep="") | Traceback (most recent call last):
File "/tmp/tmp627evxqe/tmpg07gra8z.py", line 1, in <module>
n,l=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s449365534 | p04044 | u136843617 | 1585254484 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 95 | l, n = map(int, input().split())
s = sorted([str(input()) for _ in range(n)])
print("".join(s)) | Traceback (most recent call last):
File "/tmp/tmp3wvtoc7y/tmpqzp3mnto.py", line 1, in <module>
l, n = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s972193852 | p04044 | u756784272 | 1584986568 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 202 | N = input().split()
list = []
for i in range(1,int(N[0]),1):
list.append(input())
list.sort(reverse = False)
ans = ""
for i in range(1,N+1,1):
ans = ans + list[0]
list.pop(0)
print(ans)
| Traceback (most recent call last):
File "/tmp/tmpebdmwpbh/tmpx86qo0m_.py", line 1, in <module>
N = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s955844997 | p04044 | u756784272 | 1584986277 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 214 | N = int(input())
L_num = int(input())
list = []
for i in range(1,N+1,1):
list.append(input())
list.sort(reverse = False)
ans = ""
for i in range(1,N+1,1):
ans = ans + list[0]
list.pop(0)
print(ans)
| Traceback (most recent call last):
File "/tmp/tmpyk7_65ke/tmphar0u_it.py", line 1, in <module>
N = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s347858584 | p04044 | u305388378 | 1584935331 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 324 | n, l = map(int, input().split())
strs = [input().split() for i in range(n)]
concat = strs[0]
del strs[0]
for str in strs:
for i in range(len(concat) / l):
if concat[i*l] < str:
concat = concat[:i*l] + str + concat[i*l:]
break
if i == len(concat) / l -1:
concat = concat + str
print(concat) | File "/tmp/tmphuvm9yai/tmp9rd1gvcx.py", line 8
concat = concat[:i*l] + str + concat[i*l:]
^
IndentationError: unindent does not match any outer indentation level
| |
s911444275 | p04044 | u910295650 | 1584672598 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 128 | N,L=map(int,input().split())
S=[]
for i in range(N):
s=input()
S.append(s)
print(sorted(S)[0]+sorted(S)[1]+sorted(S)[2]) | Traceback (most recent call last):
File "/tmp/tmp23_et_81/tmpeh9qz5w8.py", line 1, in <module>
N,L=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s490789517 | p04044 | u549494450 | 1584648424 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 118 | a = input()
b = []
for i in range(int(a[0])):
b.append(input().sort())
b.sort()
for j in b:
print(j, end = "") | Traceback (most recent call last):
File "/tmp/tmptc1t5jhm/tmpa0kbe_xi.py", line 1, in <module>
a = input()
^^^^^^^
EOFError: EOF when reading a line
| |
s010948169 | p04044 | u016323272 | 1584499345 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 131 | #ABC042.B
N,L = map(int,input().split())
s = [input()for_in range(N)]
s.sort()
ans=''
for i in range(N):
ans += s[i]
print(ans) | File "/tmp/tmpzlbck7_f/tmpl5qe96pw.py", line 3
s = [input()for_in range(N)]
^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s119982213 | p04044 | u016323272 | 1584499122 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 135 | #ABC042.B
N,L = map(int,input().split())
s = [input() for_in range(n)]
s.sort()
ans=''
for i in range(N):
ans =ans+ s[i]
print(ans) | File "/tmp/tmpwnrt2fa2/tmpag1sbtjq.py", line 3
s = [input() for_in range(n)]
^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s619519824 | p04044 | u016323272 | 1584498842 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 131 | #ABC042.B
N,L = map(int,input().split())
s = [input()for_in range(n)]
s.sort()
ans=''
for i in range(N):
ans += s[i]
print(ans) | File "/tmp/tmpbu3wkaas/tmpmjv9tmy1.py", line 3
s = [input()for_in range(n)]
^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s060008518 | p04044 | u016323272 | 1584498611 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 131 | #ABC042.B
N,L = map(int,input().split())
s = [input()for_in range(n)]
s.sort()
ans=''
for i in range(s):
ans += s[i]
print(ans) | File "/tmp/tmpyy4tqcel/tmpp5g_uri5.py", line 3
s = [input()for_in range(n)]
^^^^^^^^^^^^^
SyntaxError: invalid syntax. Perhaps you forgot a comma?
| |
s446846804 | p04044 | u777078967 | 1584320132 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 197 | n = input().rstirp().split()
n = [int(x) for x in n]
arg=[]
for i in range(n[0]):
data = input().rstrip()
arg.append(data)
sorted(arg)
for j in range(n[0]):
print(arg[j],end="")
print("\n")
| Traceback (most recent call last):
File "/tmp/tmpxa4nse5l/tmp27dd26a8.py", line 1, in <module>
n = input().rstirp().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s821140410 | p04044 | u777078967 | 1584320074 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 197 | n = input().rstirp().split()
n = [int(x) for x in n]
arg=[]
for i in range(n[0]):
data = input().rstrip()
arg.append(data)
sorted(data)
for j in range(n[0]):
print(arg[j],end="")
print("\n") | Traceback (most recent call last):
File "/tmp/tmpat9_tl2o/tmpx8ytm_w9.py", line 1, in <module>
n = input().rstirp().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s558898045 | p04044 | u538537141 | 1584317008 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 85 | n,l = map(int,input().split())
s = sort([input() for i in range(n)])
print(*s,sep="") | Traceback (most recent call last):
File "/tmp/tmpxz0a1tte/tmpu9db3fty.py", line 1, in <module>
n,l = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s380530922 | p04044 | u465152652 | 1583976824 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | num = list(map(input().split()))
word = [input() for i in range(num[0])]
print(''.join(sorted(word))) | Traceback (most recent call last):
File "/tmp/tmpig5sbw9c/tmp23l08oqe.py", line 1, in <module>
num = list(map(input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s731221118 | p04044 | u465152652 | 1583976708 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 100 | num = list(map(int,input().split()))
word = [input for i in range(n[0])]
print(''.join(sorted(num))) | Traceback (most recent call last):
File "/tmp/tmpji43om5z/tmpgkk6bch0.py", line 1, in <module>
num = list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s228660804 | p04044 | u771538568 | 1583783859 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 140 | a,b=map(int,(input().split()))
li=[]
for i in range(a):
li.append(input())
li.sort
a=li[0]
for j in range(1,a):
a+=li[j]
print(a)
| Traceback (most recent call last):
File "/tmp/tmpfifgniuu/tmpgtz171xs.py", line 1, in <module>
a,b=map(int,(input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s431378570 | p04044 | u071361440 | 1583566835 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 76 | n=int(input())
text=[input() for i in range(n)]
print("".join(sorted(text))) | Traceback (most recent call last):
File "/tmp/tmpldw4th8n/tmpsenw8z2c.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s099842795 | p04044 | u071361440 | 1583566784 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 76 | n=int(input())
text=[input() for i in range(n)]
print("".join(sorted(text))) | Traceback (most recent call last):
File "/tmp/tmpkje2zlcm/tmp872bhpjt.py", line 1, in <module>
n=int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s559717211 | p04044 | u465152652 | 1583559320 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 102 | n = list(map(int,input().split()))
word = [input() for i in range(n[1])]
print(''.join(sorted(word)))
| Traceback (most recent call last):
File "/tmp/tmpr6wktp1i/tmp6wa4ipf0.py", line 1, in <module>
n = list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s790025618 | p04044 | u465152652 | 1583559285 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 114 | n = list(map(int,input().split()))
word = [input() for i in range(n[1])]
print(word)
print(''.join(sorted(word)))
| Traceback (most recent call last):
File "/tmp/tmp8_rl86ip/tmp4_okhxcf.py", line 1, in <module>
n = list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s728371021 | p04044 | u620238824 | 1583474844 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 100 | N,L = map(int, input().split())
S = list((input() for i in range(N))
S = sorted(S)
print(''.join(S)) | File "/tmp/tmphnv9s1fc/tmpzjv76up3.py", line 2
S = list((input() for i in range(N))
^
SyntaxError: '(' was never closed
| |
s188496195 | p04044 | u606523772 | 1583451487 | Python | Python (3.4.3) | py | Runtime Error | 16 | 3060 | 128 | N = int(input())
L = int(input())
ans = {}
for i in range(N):
A = input()
ans[A]=1
ans = sorted(ans)
print("".join(ans)) | Traceback (most recent call last):
File "/tmp/tmpp9qi_dzm/tmppyl5ezn3.py", line 1, in <module>
N = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
s461705212 | p04044 | u000123984 | 1583279934 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 160 | n,l = map(int, input().split())
Li = []
for i in range(n):
li = list(input()).sort()
wrd = "".join(li)
Li.append(wrd)
else:
print("".join(Li.sort()))
| Traceback (most recent call last):
File "/tmp/tmpt0ilk5x8/tmpk_gx4ph1.py", line 1, in <module>
n,l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s439416882 | p04044 | u968649733 | 1583253130 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 152 | L, N = list(map(int, input().split()))
S = [str(input()) for _ in range(N)]
#print(S)
S = sorted(S)
#print("sorted", S)
total = "".join(S)
print(total) | Traceback (most recent call last):
File "/tmp/tmp8lfncgll/tmp2jmcq5u7.py", line 1, in <module>
L, N = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s523397768 | p04044 | u968649733 | 1583252716 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 191 | L, N = list(map(int, input().split()))
S = [str(input()) for _ in range(N)]
#print(S)
S = sorted(S)
#print("sorted", S)
total = ''
for i in range(len(S)):
total += str(S[i])
print(total) | Traceback (most recent call last):
File "/tmp/tmpdk_mm1td/tmpho67b78e.py", line 1, in <module>
L, N = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s365355160 | p04044 | u968649733 | 1583252578 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 181 | L, N = list(map(int, input().split()))
S = [input() for _ in range(N)]
#print(S)
S = sorted(S)
#print("sorted", S)
total = ''
for i in range(len(S)):
total += S[i]
print(total) | Traceback (most recent call last):
File "/tmp/tmp605it2aq/tmpj_uk6b43.py", line 1, in <module>
L, N = list(map(int, input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
s052309127 | p04044 | u850087201 | 1583200820 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 137 | n = input().split()
N = int(n[0])
L = int(n[1])
a = []
for i in range(L):
b = input()
a.append(b)
A = sorted(a)
print(''.join(A)) | Traceback (most recent call last):
File "/tmp/tmp70qc2o_m/tmpsp7e9e_v.py", line 1, in <module>
n = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s611336111 | p04044 | u850087201 | 1583199982 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 137 | n = input().split()
N = int(n[0])
L = int(n[1])
a = []
for i in range(L):
b = input()
a.append(b)
A = sorted(a)
print(''.join(A)) | Traceback (most recent call last):
File "/tmp/tmpw0o9adef/tmpcredq89k.py", line 1, in <module>
n = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s529984789 | p04044 | u850087201 | 1583199835 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 137 | n = input().split()
N = int(n[0])
L = int(n[1])
a = []
for i in range(L):
b = input()
a.append(b)
A = sorted(a)
print(''.join(A)) | Traceback (most recent call last):
File "/tmp/tmp6ubensda/tmpa9ltghmc.py", line 1, in <module>
n = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
s667194493 | p04044 | u923270446 | 1583189104 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3056 | 121 | n, l = map(int, input().split())
S = [int(input()) for i in range(n)]
sorted_list = sorted(S)
print(*sorted_list, sep="") | Traceback (most recent call last):
File "/tmp/tmpzmf_0w90/tmp0ugsid1k.py", line 1, in <module>
n, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s408245256 | p04044 | u363995337 | 1583114010 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3316 | 170 | N, L = map(int, input().split())
words = []
for i in range(N):
words.append(input())
words.sort()
for i in range(N-1):
print(words[i], end="")
print(words[i+1])
| Traceback (most recent call last):
File "/tmp/tmppiqjtmck/tmpemc91b1t.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s220622906 | p04044 | u068584789 | 1582488531 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 115 | n, l = map(int, input().split())
words = []
for i in range(n):
words.append(input())
print(''.join(words.sort())) | Traceback (most recent call last):
File "/tmp/tmp7s1kdzrn/tmp8ym01zyh.py", line 1, in <module>
n, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s028031639 | p04044 | u066855390 | 1582433919 | 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(*s, sep="") | Traceback (most recent call last):
File "/tmp/tmpmr_2wql_/tmp0i27ffms.py", line 1, in <module>
n, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s832104278 | p04044 | u066855390 | 1582433851 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 88 | n, l = map(int, input().split())
a = sort([input() for i in range(n)])
print(*s, sep="") | Traceback (most recent call last):
File "/tmp/tmpewjmeaqe/tmp0e8pi2k7.py", line 1, in <module>
n, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s452334986 | p04044 | u166419774 | 1582125873 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 128 | X, L = [int(input()) for i in range(2)]
li = sorted([input() for i in range(X)])
ans = ''
for i in li:
ans += i
print(ans) | Traceback (most recent call last):
File "/tmp/tmpudh66quy/tmp43n9aetm.py", line 1, in <module>
X, L = [int(input()) for i in range(2)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmpudh66quy/tmp43n9aetm.py", line 1, in <listcomp>
X, L = [int(input()) for i in range(2)]
^^^^^^^
EOFError: EOF when reading a line
| |
s788849267 | p04044 | u166419774 | 1582125839 | Python | PyPy3 (2.4.0) | py | Runtime Error | 166 | 38384 | 128 | X, L = [int(input()) for i in range(2)]
li = sorted([input() for i in range(X)])
ans = ''
for i in li:
ans += i
print(ans) | Traceback (most recent call last):
File "/tmp/tmptqkaadtp/tmpfijh9j_0.py", line 1, in <module>
X, L = [int(input()) for i in range(2)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmptqkaadtp/tmpfijh9j_0.py", line 1, in <listcomp>
X, L = [int(input()) for i in range(2)]
^^^^^^^
EOFError: EOF when reading a line
| |
s788400064 | p04044 | u827202523 | 1581821125 | Python | PyPy3 (2.4.0) | py | Runtime Error | 174 | 38640 | 168 | def getlist():
return list(map(int, input().split()))
a,b = getList()
lis = []
for i in range(a):
lis.append(input().strip())
lis.sort()
print("".join(lis)) | Traceback (most recent call last):
File "/tmp/tmpnyj2tp5_/tmpbuag0603.py", line 4, in <module>
a,b = getList()
^^^^^^^
NameError: name 'getList' is not defined. Did you mean: 'getlist'?
| |
s633863231 | p04044 | u904995051 | 1581800615 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | n,l = map(int,input().split())
s = [input() for i in range(n)]
print(*stored(s),sep="")
| Traceback (most recent call last):
File "/tmp/tmp04527l0r/tmppi84kx2m.py", line 1, in <module>
n,l = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s190252417 | p04044 | u904995051 | 1581800549 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 86 | n,l = map(int,input().split())
s = input() for i in range(n)
print(*stored(s),sep="")
| File "/tmp/tmpu_jfuc5c/tmp35f6vlk7.py", line 2
s = input() for i in range(n)
^^^
SyntaxError: invalid syntax
| |
s931194274 | p04044 | u904995051 | 1581800364 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 79 | n = input()
l = input()
s = input() for i in range(n)
print(*stored(s),sep="")
| File "/tmp/tmpcyf7n63_/tmp268c6z4j.py", line 3
s = input() for i in range(n)
^^^
SyntaxError: invalid syntax
| |
s425284455 | p04044 | u772649753 | 1581393260 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 109 | n,l = map(int,input().split())
words = [input() for i in range(n)]
words = words.sort()
print("".join(words)) | Traceback (most recent call last):
File "/tmp/tmpl36akroc/tmpvk651sjq.py", line 1, in <module>
n,l = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s351233921 | p04044 | u670133596 | 1581310609 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 101 | N, L = map(int, input().split())
S = [input() for _ in range(L)]
ans = sorted(S)
print(''.join(ans)) | Traceback (most recent call last):
File "/tmp/tmplg4zhlfi/tmpx64bseim.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s554412037 | p04044 | u670133596 | 1581310424 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 91 | N, L = map(int, input().split())
S = [input() for _ in range(L)]
print(''.join(sorted(S))) | Traceback (most recent call last):
File "/tmp/tmptmhuyzdz/tmpf80yk3u8.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s076854112 | p04044 | u609814378 | 1581271914 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 124 | N, L = map(int, input().split())
S = []
for _ in range(H):
S.append(input())
S1 = sorted(S)
S2 ="".join(S1)
print(S2) | Traceback (most recent call last):
File "/tmp/tmp_2trwrsu/tmpeqkd5m_0.py", line 1, in <module>
N, L = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s325969090 | p04044 | u445380615 | 1581037013 | Python | Python (3.4.3) | py | Runtime Error | 29 | 3316 | 496 | def hikaku(n1, n2):
for x, y in zip(n1, n2):
if ord(x) == ord(y):
continue
else:
if ord(x) < ord(y):
return False
return True
num, length = map(int, input().split())
wlist = []
for i in range(num):
wlist.append(input())
kumi = [(x, y) for x in range(num) for y in range(x, num) if x != y]
for x, y in kumi:
if hikaku(wlist[x], wlist[y]):
wlist[x], wlist[y] = wlist[y], wlist[x]
print(wlist[0] + wlist[1] + wlist[2])
| Traceback (most recent call last):
File "/tmp/tmpba68dj8z/tmp945molkx.py", line 9, in <module>
num, length = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s381146322 | p04044 | u901341592 | 1580852847 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 116 | num, size = map(int,input().split())
data =[]
for x in range(num):
data.apend(input())
print(data.sort().join()) | Traceback (most recent call last):
File "/tmp/tmp4_3_6757/tmpvwjgcbzy.py", line 1, in <module>
num, size = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s870241462 | p04044 | u871176343 | 1580851077 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 102 | n, l = map(int, input().split())
strs=[]
for i in range(n):
strs.push(input())
"".join(sorted(strs))
| Traceback (most recent call last):
File "/tmp/tmp2b0u6h4j/tmpir1yh1wx.py", line 1, in <module>
n, l = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s373388244 | p04044 | u422267382 | 1580840712 | Python | Python (3.4.3) | py | Runtime Error | 25 | 3064 | 389 | 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]:
break
elif ans1[i]==ans2[i]:
continue
else :
S[num],S[num2]=S[num2],S[num]
break
print("".join(S)) | Traceback (most recent call last):
File "/tmp/tmptxzw1x0b/tmpyhslnivm.py", line 1, in <module>
N,L=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
s383922115 | p04044 | u422267382 | 1580840087 | Python | Python (3.4.3) | py | Runtime Error | 27 | 3064 | 367 | 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]:
break
elif ans1[i]==ans2[i]:
continue
else :
S[num],S[num2]=S[num2],S[num]
print("".join(S)) | Traceback (most recent call last):
File "/tmp/tmpxn13xsca/tmptz0g5k8y.py", line 1, in <module>
N,L=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.