Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Error de compilación
main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lista = [int(x) for x in input().split()] ^ main.c:1:9: error: expected expression lista = [int(x) for x in input().split()] ^ main.c:10:13: error: expected ';' after top level declarator order(lista) ^ ; 1 warning and 2 errors generated. |
||
#2 |
Error de compilación
main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lista = [int(x) for x in input().split()] ^ main.c:1:9: error: expected expression lista = [int(x) for x in input().split()] ^ main.c:10:13: error: expected ';' after top level declarator order(lista) ^ ; 1 warning and 2 errors generated. |
||
#3 |
Error de compilación
main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lista = [int(x) for x in input().split()] ^ main.c:1:9: error: expected expression lista = [int(x) for x in input().split()] ^ main.c:10:13: error: expected ';' after top level declarator order(lista) ^ ; 1 warning and 2 errors generated. |
||
#4 |
Error de compilación
main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lista = [int(x) for x in input().split()] ^ main.c:1:9: error: expected expression lista = [int(x) for x in input().split()] ^ main.c:10:13: error: expected ';' after top level declarator order(lista) ^ ; 1 warning and 2 errors generated. |
||
#5 |
Error de compilación
main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lista = [int(x) for x in input().split()] ^ main.c:1:9: error: expected expression lista = [int(x) for x in input().split()] ^ main.c:10:13: error: expected ';' after top level declarator order(lista) ^ ; 1 warning and 2 errors generated. |
||
#6 |
Error de compilación
main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lista = [int(x) for x in input().split()] ^ main.c:1:9: error: expected expression lista = [int(x) for x in input().split()] ^ main.c:10:13: error: expected ';' after top level declarator order(lista) ^ ; 1 warning and 2 errors generated. |
||
#7 |
Error de compilación
main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lista = [int(x) for x in input().split()] ^ main.c:1:9: error: expected expression lista = [int(x) for x in input().split()] ^ main.c:10:13: error: expected ';' after top level declarator order(lista) ^ ; 1 warning and 2 errors generated. |
||
#8 |
Error de compilación
main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lista = [int(x) for x in input().split()] ^ main.c:1:9: error: expected expression lista = [int(x) for x in input().split()] ^ main.c:10:13: error: expected ';' after top level declarator order(lista) ^ ; 1 warning and 2 errors generated. |
||
#9 |
Error de compilación
main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lista = [int(x) for x in input().split()] ^ main.c:1:9: error: expected expression lista = [int(x) for x in input().split()] ^ main.c:10:13: error: expected ';' after top level declarator order(lista) ^ ; 1 warning and 2 errors generated. |
||
#10 |
Error de compilación
main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lista = [int(x) for x in input().split()] ^ main.c:1:9: error: expected expression lista = [int(x) for x in input().split()] ^ main.c:10:13: error: expected ';' after top level declarator order(lista) ^ ; 1 warning and 2 errors generated. |
||
#11 |
Error de compilación
main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lista = [int(x) for x in input().split()] ^ main.c:1:9: error: expected expression lista = [int(x) for x in input().split()] ^ main.c:10:13: error: expected ';' after top level declarator order(lista) ^ ; 1 warning and 2 errors generated. |
||
#12 |
Error de compilación
main.c:1:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lista = [int(x) for x in input().split()] ^ main.c:1:9: error: expected expression lista = [int(x) for x in input().split()] ^ main.c:10:13: error: expected ';' after top level declarator order(lista) ^ ; 1 warning and 2 errors generated. |
lista = [int(x) for x in input().split()] def order(lista): for n in range(len(lista)-1): if lista[n] < lista[n+1]: continue else: return "Desordenado" return "Ordenado" order(lista)