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

Envío 4368

Problema 0x9d - ¿Está ordenado?

  • Autor: valenvila00
  • Fecha: 2021-06-13 23:49:36 UTC (Hace casi 3 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 4, in <module>
    for n in len(nums):
TypeError: 'int' object is not iterable
0.019 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 4, in <module>
    for n in len(nums):
TypeError: 'int' object is not iterable
0.025 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 4, in <module>
    for n in len(nums):
TypeError: 'int' object is not iterable
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 4, in <module>
    for n in len(nums):
TypeError: 'int' object is not iterable
0.019 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 4, in <module>
    for n in len(nums):
TypeError: 'int' object is not iterable
0.022 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 4, in <module>
    for n in len(nums):
TypeError: 'int' object is not iterable
0.019 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 4, in <module>
    for n in len(nums):
TypeError: 'int' object is not iterable
0.018 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 4, in <module>
    for n in len(nums):
TypeError: 'int' object is not iterable
0.022 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 4, in <module>
    for n in len(nums):
TypeError: 'int' object is not iterable
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 4, in <module>
    for n in len(nums):
TypeError: 'int' object is not iterable
0.019 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 4, in <module>
    for n in len(nums):
TypeError: 'int' object is not iterable
0.025 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 4, in <module>
    for n in len(nums):
TypeError: 'int' object is not iterable
0.024 s 3 KBi
Puntos totales: 0 / 100

Código

lenght_of_nums = input()
nums = input()
nums = nums.split(' ')
for n in len(nums):
    if nums[n] > nums[n+1]:
        continue
    else:
        print('Desordenado')
print('Ordenado')