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

Envío 3409

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: jocarmp08
  • Fecha: 2021-03-13 03:52:49 UTC (Hace alrededor de 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 1, in <module>
    n = int(input())
ValueError: invalid literal for int() with base 10: '3 4'
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 1, in <module>
    n = int(input())
ValueError: invalid literal for int() with base 10: '4 3'
0.023 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 1, in <module>
    n = int(input())
ValueError: invalid literal for int() with base 10: '3 3'
0.026 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 1, in <module>
    n = int(input())
ValueError: invalid literal for int() with base 10: '4 2'
0.026 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 1, in <module>
    n = int(input())
ValueError: invalid literal for int() with base 10: '4 4'
0.024 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 1, in <module>
    n = int(input())
ValueError: invalid literal for int() with base 10: '1 1'
0.024 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 1, in <module>
    n = int(input())
ValueError: invalid literal for int() with base 10: '2 5'
0.022 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 1, in <module>
    n = int(input())
ValueError: invalid literal for int() with base 10: '3 1'
0.06 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 1, in <module>
    n = int(input())
ValueError: invalid literal for int() with base 10: '2 5'
0.054 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 1, in <module>
    n = int(input())
ValueError: invalid literal for int() with base 10: '4 4'
0.027 s 3 KBi
Puntos totales: 0 / 100

Código

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

result = "Ordenado"
for i in range(1, n):
    if list[i - 1] > list[i]:
        result = "Desordenado"
        break

print(result)