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 2, in <module> elementos = [int(x) for x in range(0,len(n_elementos)-1).input().split()] TypeError: object of type 'int' has no len() |
0.037 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 2, in <module> elementos = [int(x) for x in range(0,len(n_elementos)-1).input().split()] TypeError: object of type 'int' has no len() |
0.032 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 2, in <module> elementos = [int(x) for x in range(0,len(n_elementos)-1).input().split()] TypeError: object of type 'int' has no len() |
0.028 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 2, in <module> elementos = [int(x) for x in range(0,len(n_elementos)-1).input().split()] TypeError: object of type 'int' has no len() |
0.031 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 2, in <module> elementos = [int(x) for x in range(0,len(n_elementos)-1).input().split()] TypeError: object of type 'int' has no len() |
0.028 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 2, in <module> elementos = [int(x) for x in range(0,len(n_elementos)-1).input().split()] TypeError: object of type 'int' has no len() |
0.027 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 2, in <module> elementos = [int(x) for x in range(0,len(n_elementos)-1).input().split()] TypeError: object of type 'int' has no len() |
0.03 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 2, in <module> elementos = [int(x) for x in range(0,len(n_elementos)-1).input().split()] TypeError: object of type 'int' has no len() |
0.026 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> elementos = [int(x) for x in range(0,len(n_elementos)-1).input().split()] TypeError: object of type 'int' has no len() |
0.028 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> elementos = [int(x) for x in range(0,len(n_elementos)-1).input().split()] TypeError: object of type 'int' has no len() |
0.029 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> elementos = [int(x) for x in range(0,len(n_elementos)-1).input().split()] TypeError: object of type 'int' has no len() |
0.031 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> elementos = [int(x) for x in range(0,len(n_elementos)-1).input().split()] TypeError: object of type 'int' has no len() |
0.031 s | 3 KBi |
n_elementos = int(input()) elementos = [int(x) for x in range(0,len(n_elementos)-1).input().split()] resultado = "" for i in range(0, len(elementos)-1): if i > 0: if elementos[i] < elementos[i-1]: resultado = "desordenado" print(resultado) resultado = "ordenado" print(resultado)