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 6, in <module> if n > 0: TypeError: '>' not supported between instances of 'str' and 'int' |
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 6, in <module> if n > 0: TypeError: '>' not supported between instances of 'str' and 'int' |
0.028 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 6, in <module> if n > 0: TypeError: '>' not supported between instances of 'str' and 'int' |
0.022 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 6, in <module> if n > 0: TypeError: '>' not supported between instances of 'str' and 'int' |
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 6, in <module> if n > 0: TypeError: '>' not supported between instances of 'str' and 'int' |
0.03 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 6, in <module> if n > 0: TypeError: '>' not supported between instances of 'str' and 'int' |
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 6, in <module> if n > 0: TypeError: '>' not supported between instances of 'str' and 'int' |
0.031 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 6, in <module> if n > 0: TypeError: '>' not supported between instances of 'str' and 'int' |
0.03 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 6, in <module> if n > 0: TypeError: '>' not supported between instances of 'str' and 'int' |
0.034 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 6, in <module> if n > 0: TypeError: '>' not supported between instances of 'str' and 'int' |
0.026 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 6, in <module> if n > 0: TypeError: '>' not supported between instances of 'str' and 'int' |
0.029 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 6, in <module> if n > 0: TypeError: '>' not supported between instances of 'str' and 'int' |
0.028 s | 3 KBi |
n = input() numbers = input() numbers = numbers.split() result = 'Desordenado' if n > 0: for i in range(len(numbers)): j = i + 1 for j in range(len(numbers)): if int(numbers[j]) < int(numbers[i]): result = 'Ordenado' else: break