Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Correcto
|
0.033 s | 3 KBi |
#2 |
Correcto
|
0.026 s | 3 KBi |
#3 |
Correcto
|
0.023 s | 3 KBi |
#4 |
Correcto
|
0.023 s | 3 KBi |
#5 |
Correcto
|
0.046 s | 3 KBi |
#6 |
Correcto
|
0.069 s | 6 KBi |
#7 |
Correcto
|
0.024 s | 3 KBi |
#8 |
Correcto
|
0.028 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 2, in <module> list = [int(x) for x in input().replace(" ", "")] File "script.py", line 2, in <listcomp> list = [int(x) for x in input().replace(" ", "")] ValueError: invalid literal for int() with base 10: '-' |
0.057 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 2, in <module> list = [int(x) for x in input().replace(" ", "")] File "script.py", line 2, in <listcomp> list = [int(x) for x in input().replace(" ", "")] ValueError: invalid literal for int() with base 10: '-' |
0.024 s | 3 KBi |
#11 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 Traceback (most recent call last): File "script.py", line 2, in <module> list = [int(x) for x in input().replace(" ", "")] File "script.py", line 2, in <listcomp> list = [int(x) for x in input().replace(" ", "")] ValueError: invalid literal for int() with base 10: '-' |
0.022 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 2, in <module> list = [int(x) for x in input().replace(" ", "")] File "script.py", line 2, in <listcomp> list = [int(x) for x in input().replace(" ", "")] ValueError: invalid literal for int() with base 10: '-' |
0.024 s | 3 KBi |
n = int(input()) list = [int(x) for x in input().replace(" ", "")] result = "Ordenado" for i in range(1, n): if list[i - 1] > list[i]: result = "Desordenado" break print(result)