Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: ' ' |
0.025 s | 3 KBi |
#2 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: ' ' |
0.021 s | 3 KBi |
#3 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: '-' |
0.021 s | 3 KBi |
#4 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: ' ' |
0.027 s | 3 KBi |
#5 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: ' ' |
0.025 s | 3 KBi |
#6 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: '-' |
0.022 s | 3 KBi |
#7 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: ' ' |
0.023 s | 3 KBi |
#8 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: '-' |
0.024 s | 3 KBi |
#9 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: ' ' |
0.022 s | 3 KBi |
#10 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: ' ' |
0.025 s | 7 KBi |
#11 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: '-' |
0.02 s | 3 KBi |
#12 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: ' ' |
0.024 s | 3 KBi |
#13 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: '-' |
0.025 s | 3 KBi |
#14 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: '-' |
0.021 s | 3 KBi |
#15 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: ' ' |
0.021 s | 3 KBi |
#16 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: ' ' |
0.022 s | 3 KBi |
#17 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: ' ' |
0.026 s | 7 KBi |
#18 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: ' ' |
0.021 s | 3 KBi |
#19 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: '-' |
0.023 s | 3 KBi |
#20 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 13, in <module> l = list(map(int, input())) ValueError: invalid literal for int() with base 10: ' ' |
0.022 s | 3 KBi |
from heapq import heapify, heappop def heapsort(l): heapify(l) res = [] while l: res.append(heappop(h)) return res if __name__ == "__main__": N = int(input()) l = list(map(int, input())) res = heapsort(l) print(" ".join(res))