█████████ ████ ███░░░░░███ ░░███ ███ ░░░ ██████ ███████ ██████ ██████ ░███ ███░░███ ███░░███ ███░░███ ███░░███ ░███ ░███ ░███░███ ░███ ░███████ ░███ ░███ ░░███ ███░███ ░███░███ ░███ ░███░░░ ░███ ░███ ░░█████████ ░░██████ ░░████████░░██████ ░░██████ ░░░░░░░░░ ░░░░░░ ░░░░░░░░ ░░░░░░ ░░░░░░

Envío 4862

Problema 0x9d - ¿Está ordenado?

  • Autor: valenvila00
  • Fecha: 2021-09-06 17:58:14 UTC (Hace más de 2 años)
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 3, in <module>
    lista_sort = sort(lista)
NameError: name 'sort' is not defined
0.023 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 3, in <module>
    lista_sort = sort(lista)
NameError: name 'sort' is not defined
0.027 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 3, in <module>
    lista_sort = sort(lista)
NameError: name 'sort' is not defined
0.02 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 3, in <module>
    lista_sort = sort(lista)
NameError: name 'sort' is not defined
0.022 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 3, in <module>
    lista_sort = sort(lista)
NameError: name 'sort' is not defined
0.023 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 3, in <module>
    lista_sort = sort(lista)
NameError: name 'sort' is not defined
0.021 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 3, in <module>
    lista_sort = sort(lista)
NameError: name 'sort' is not defined
0.02 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 3, in <module>
    lista_sort = sort(lista)
NameError: name 'sort' is not defined
0.024 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 3, in <module>
    lista_sort = sort(lista)
NameError: name 'sort' is not defined
0.02 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 3, in <module>
    lista_sort = sort(lista)
NameError: name 'sort' is not defined
0.022 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 3, in <module>
    lista_sort = sort(lista)
NameError: name 'sort' is not defined
0.02 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 3, in <module>
    lista_sort = sort(lista)
NameError: name 'sort' is not defined
0.021 s 3 KBi
Puntos totales: 0 / 100

Código

lista = [int(x) for x in input().split()]

lista_sort = sort(lista)
if lista == lista_sort:
        print("Ordenado")
print("Desordenado")