Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Incorrecto
|
0.025 s | 3 KBi |
#2 |
Incorrecto
|
0.027 s | 3 KBi |
#3 |
Incorrecto
|
0.025 s | 3 KBi |
#4 |
Incorrecto
|
0.027 s | 3 KBi |
#5 |
Incorrecto
|
0.025 s | 3 KBi |
#6 |
Incorrecto
|
0.048 s | 3 KBi |
#7 |
Incorrecto
|
0.023 s | 3 KBi |
#8 |
Incorrecto
|
0.027 s | 3 KBi |
#9 |
Incorrecto
|
0.023 s | 3 KBi |
#10 |
Incorrecto
|
0.049 s | 3 KBi |
#11 |
Incorrecto
|
0.062 s | 7 KBi |
#12 |
Incorrecto
|
0.028 s | 3 KBi |
n = int(input()) list = [int(x) for x in input().split()] print(list) result = "Ordenado" for i in range(1, n): if list[i - 1] > list[i]: result = "Desordenado" break print(result)