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