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