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 12, in <module> if array[index] > array[index+1]: IndexError: list index out of range |
0.019 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 12, in <module> if array[index] > array[index+1]: IndexError: list index out of range |
0.019 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 12, in <module> if array[index] > array[index+1]: IndexError: list index out of range |
0.019 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 12, in <module> if array[index] > array[index+1]: IndexError: list index out of range |
0.019 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 12, in <module> if array[index] > array[index+1]: IndexError: list index out of range |
0.019 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 12, in <module> if array[index] > array[index+1]: IndexError: list index out of range |
0.029 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 12, in <module> if array[index] > array[index+1]: IndexError: list index out of range |
0.019 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 12, in <module> if array[index] > array[index+1]: IndexError: list index out of range |
0.02 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 12, in <module> if array[index] > array[index+1]: IndexError: list index out of range |
0.021 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 12, in <module> if array[index] > array[index+1]: IndexError: list index out of range |
0.02 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 12, in <module> if array[index] > array[index+1]: IndexError: list index out of range |
0.023 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 12, in <module> if array[index] > array[index+1]: IndexError: list index out of range |
0.023 s | 3 KBi |
##ESTA ORDENADO? n = int(input()) array = [int(x) for x in input().split() ] print(n) print(array) isOrdered = True for index,value in enumerate(array): if index < len(array): if array[index] > array[index+1]: isOrdered = False print( "Ordenado" if isOrdered else "Desordenado" )