Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 File "script.py", line 7 if s[i] != sorted[i] ^ SyntaxError: invalid syntax |
0.053 s | 6 KBi |
#2 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 File "script.py", line 7 if s[i] != sorted[i] ^ SyntaxError: invalid syntax |
0.028 s | 3 KBi |
#3 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 File "script.py", line 7 if s[i] != sorted[i] ^ SyntaxError: invalid syntax |
0.024 s | 3 KBi |
#4 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 File "script.py", line 7 if s[i] != sorted[i] ^ SyntaxError: invalid syntax |
0.023 s | 3 KBi |
#5 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 File "script.py", line 7 if s[i] != sorted[i] ^ SyntaxError: invalid syntax |
0.051 s | 3 KBi |
#6 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 File "script.py", line 7 if s[i] != sorted[i] ^ SyntaxError: invalid syntax |
0.031 s | 3 KBi |
#7 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 File "script.py", line 7 if s[i] != sorted[i] ^ SyntaxError: invalid syntax |
0.024 s | 3 KBi |
#8 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 File "script.py", line 7 if s[i] != sorted[i] ^ SyntaxError: invalid syntax |
0.028 s | 3 KBi |
#9 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 File "script.py", line 7 if s[i] != sorted[i] ^ SyntaxError: invalid syntax |
0.022 s | 3 KBi |
#10 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 File "script.py", line 7 if s[i] != sorted[i] ^ SyntaxError: invalid syntax |
0.022 s | 3 KBi |
#11 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 File "script.py", line 7 if s[i] != sorted[i] ^ SyntaxError: invalid syntax |
0.031 s | 3 KBi |
#12 |
Error en tiempo de ejecución (NZEC)
Exited with error status 1 File "script.py", line 7 if s[i] != sorted[i] ^ SyntaxError: invalid syntax |
0.045 s | 3 KBi |
from sys import stdin s = stdin.readline().strip().split() sorted = sort(s) res = "Ordenado" for i in s: if s[i] != sorted[i] res = "Desordenado" break print(res)