Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Correcto
|
0.016 s | 3 KBi |
#2 |
Correcto
|
0.019 s | 3 KBi |
#3 |
Correcto
|
0.013 s | 3 KBi |
#4 |
Correcto
|
0.016 s | 3 KBi |
#5 |
Correcto
|
0.011 s | 3 KBi |
#6 |
Incorrecto
|
0.015 s | 3 KBi |
#7 |
Incorrecto
|
0.016 s | 3 KBi |
#8 |
Incorrecto
|
0.017 s | 3 KBi |
#9 |
Correcto
|
0.012 s | 3 KBi |
#10 |
Correcto
|
0.012 s | 3 KBi |
#11 |
Incorrecto
|
0.015 s | 3 KBi |
#12 |
Incorrecto
|
0.014 s | 3 KBi |
linea = input() arreglo = input() arreglo = arreglo.split() ordenado = "Ordenado" for i in range(int(linea)-1): if(arreglo[i]<arreglo[i+1]): ordenado else: ordenado = "Desordenado" print(ordenado)